feat: Created DocEmbedder class#5973
Merged
ntkathole merged 8 commits intofeast-dev:masterfrom Mar 16, 2026
Merged
Conversation
Contributor
Author
|
@ntkathole @jyejare can You pls review this PR and let me know if any changes is needed. |
jyejare
reviewed
Feb 23, 2026
Collaborator
jyejare
left a comment
There was a problem hiding this comment.
Great Addition @patelchaitany , this is a milestone for Feast in RAG. Glad to see multiple types of data are being supported by Embedder.
Few comments and we should be good to go.
1ef9d8e to
083eadb
Compare
083eadb to
bb74079
Compare
Member
|
@patelchaitany filename typo - |
ntkathole
reviewed
Mar 2, 2026
ntkathole
reviewed
Mar 2, 2026
ntkathole
reviewed
Mar 2, 2026
ntkathole
reviewed
Mar 2, 2026
ntkathole
reviewed
Mar 2, 2026
ntkathole
reviewed
Mar 2, 2026
ntkathole
reviewed
Mar 2, 2026
jyejare
approved these changes
Mar 3, 2026
daf292f to
fcc85cd
Compare
e00ee22 to
ee663f5
Compare
ee663f5 to
282243b
Compare
ntkathole
reviewed
Mar 6, 2026
ntkathole
reviewed
Mar 6, 2026
de74a1f to
23cc11e
Compare
ntkathole
reviewed
Mar 9, 2026
ntkathole
reviewed
Mar 9, 2026
cf300d8 to
ae53f06
Compare
ae53f06 to
e3b5e4e
Compare
05ee154 to
510c54a
Compare
…ng them into the FeatureView schema. - Added BaseChunker and TextChunker classes for document chunking. - Updated pyproject.toml to include sentence-transformers dependency. - Created a new Jupyter notebook example for using the RAG retriever with document embedding. Signed-off-by: Chaitany patel <[email protected]>
510c54a to
85ee6e2
Compare
…ng them into the FeatureView schema. - Added BaseChunker and TextChunker classes for document chunking. - Updated pyproject.toml to include sentence-transformers dependency. - Created a new Jupyter notebook example for using the RAG retriever with document embedding. Signed-off-by: Chaitany patel <[email protected]>
85ee6e2 to
2c66417
Compare
720f0ce to
7562dd0
Compare
Signed-off-by: Chaitany patel <[email protected]>
523bdfb to
30dddd7
Compare
|
|
||
|
|
||
| @runtime_checkable | ||
| class LogicalLayerFn(Protocol): |
Member
There was a problem hiding this comment.
Probably we should rename this as it's not particularly intuitive IMO
Contributor
Author
There was a problem hiding this comment.
So i have two name in the mind - SchemaMapperFn or the FeatureViewMapperFn i think this two name are more intuitive if you have particular name in mind then let me know.
Anarion-zuo
pushed a commit
to Anarion-zuo/feast
that referenced
this pull request
Mar 17, 2026
* - Introduced DocEmbedder class for embedding documents and transforming them into the FeatureView schema. - Added BaseChunker and TextChunker classes for document chunking. - Updated pyproject.toml to include sentence-transformers dependency. - Created a new Jupyter notebook example for using the RAG retriever with document embedding. Signed-off-by: Chaitany patel <[email protected]> * - Introduced DocEmbedder class for embedding documents and transforming them into the FeatureView schema. - Added BaseChunker and TextChunker classes for document chunking. - Updated pyproject.toml to include sentence-transformers dependency. - Created a new Jupyter notebook example for using the RAG retriever with document embedding. Signed-off-by: Chaitany patel <[email protected]> * resolving the merge conflict Signed-off-by: Chaitany patel <[email protected]> --------- Signed-off-by: Chaitany patel <[email protected]> Signed-off-by: aaronzuo <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
This PR adds a Document Embedder capability to Feast, allowing users to go from raw documents to embeddings stored in the online vector store in a single step. It handles chunking, embedding generation, and writing the results to the online store — providing an end-to-end ingestion pipeline for RAG workflows within Feast.
What changed:
sdk/python/feast/chunker.py
Defines the document chunking layer. Provides:
Currently only basic text chunking is implemented. There is room for improvement — future iterations can support more advanced strategies like semantic chunking, sentence-aware splitting, or format-specific chunkers (PDF, HTML, etc.).
sdk/python/feast/embedder.py
Defines the embedding generation layer. Provides:
sdk/python/feast/doc_embedder.py
The high-level orchestrator that coordinates chunking, embedding, and storage. Provides:
sdk/python/feast/init.py
Updated to export DocEmbedder, LogicalLayerFn, BaseChunker, TextChunker, ChunkingConfig, BaseEmbedder, MultiModalEmbedder, and EmbeddingConfig as part of Feast's public API.
Which issue(s) this PR fixes:
Create DocEmbedder class along with RAGRetriever #5426
Misc