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
Typically applications already have domain objects at hand and it would increase DX to simply use that for
Embedderinstead of LLM Chain'sDocumentclasses, see https://github.com/php-llm/llm-chain/blob/main/examples/store-mongodb-similarity-search.php