deepset-ai / haystack

AI orchestration framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data. With advanced retrieval methods, it's best suited for building RAG, question answering, semantic search or conversational agent chatbots.
https://haystack.deepset.ai
Apache License 2.0
17.72k stars 1.92k forks source link

docs: add OpenAIGenerator to OpenAIEmbedders pipeline examples #8268

Closed dfokina closed 2 months ago

julian-risch commented 2 months ago

@dfokina Why do we need to add the Generator to the embedder pipeline example? For example, this one here is an example of an indexing pipeline that works fine without a generator: https://docs.haystack.deepset.ai/docs/openaitextembedder#in-a-pipeline

dfokina commented 2 months ago

@julian-risch I created this issue based on a request from Andrey: https://deepset-ai.slack.com/archives/C035R9A65NJ/p1724229905783589

julian-risch commented 2 months ago

Thanks, I had a look now. I don't think that the OpenAIEmbedder page and it's pipeline example is the right place to show how to use OpenAIGenerator. Let's discuss alternative solutions first. So far, we have functional yet minimal examples and my concern is that we would give up the "minimal" part here.