Wie füge ich Funktionstools in der Haystack -Pipeline hinzu?Python

Python-Programme
Anonymous
 Wie füge ich Funktionstools in der Haystack -Pipeline hinzu?

Post by Anonymous »

Ich habe bereits eine Pipeline wie diese: < /p>
pipeline = Pipeline()
pipeline.add_component("retriever", self.retriever)
pipeline.add_component("prompt_builder", self.prompt_builder)
pipeline.add_component("llm", self.llm)
pipeline.connect("retriever", "prompt_builder.documents")
pipeline.connect("prompt_builder", "llm")
< /code>
Dann möchte ich dem LLM ein Web -Suchfunktionstool hinzufügen. Wie geht es mir?>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post