Skip to content

Support user land objects for embedding instead of TextDocument #271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
chr-hertel opened this issue Apr 9, 2025 · 0 comments
Open

Support user land objects for embedding instead of TextDocument #271

chr-hertel opened this issue Apr 9, 2025 · 0 comments
Labels

Comments

@chr-hertel
Copy link
Member

chr-hertel commented Apr 9, 2025

Typically applications already have domain objects at hand and it would increase DX to simply use that for Embedder instead of LLM Chain's Document classes, see https://github.com/php-llm/llm-chain/blob/main/examples/store-mongodb-similarity-search.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant