Skip to content

Support user land objects for embedding instead of TextDocument #271

Open
@chr-hertel

Description

@chr-hertel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions