I haven't yet figured out how to get an LLM to accurately determine whether it actually knows something or is making it up. I wonder how they handle that. They may get to that at some point in the article, but the page eventually breaks for me on mobile and I can't read past the first code block.
Maybe we should just assume that LLMs "know" very little and if you want to build an oracle you should teach the LLM how to access an ontology.
Introducing Agents in Haystack: Make LLMs resolve complex tasks
81–90 of 106 posts
Re: Introducing Agents in Haystack: Make LLMs resolve complex tasks
#82Could someone in the know compare this with LangChain ( https://github.com/hwchase17/langchain )?
Re: Introducing Agents in Haystack: Make LLMs resolve complex tasks
#83Could someone in the know compare this with LangChain ( https://github.com/hwchase17/langchain )?
Re: Introducing Agents in Haystack: Make LLMs resolve complex tasks
#84Could someone in the know compare this with LangChain ( https://github.com/hwchase17/langchain )?
Looks like the same general idea: https://github.com/deepset-ai/haystack
Re: Introducing Agents in Haystack: Make LLMs resolve complex tasks
#85Sure, lets build more and more applications that all have a single point of failure that is Open AI.
The framework let's you plugin many different LLMs not just OpenAI's
Re: Introducing Agents in Haystack: Make LLMs resolve complex tasks
#86From the Github project readme >Agent: (since 1.15) An Agent is a component that is powered by an LLM, such as GPT-3. It can decide on the next best course of action so as to get to the result of a query. It uses the Tools available to it to achieve this. While a pipeline has a clear start and end, an Agent is able to decide whether the query has resolved or not. It may also make use of a Pipeline as a Tool. Emphasis…
Re: Introducing Agents in Haystack: Make LLMs resolve complex tasks
#87Earlier quoted context omitted.
I've been tinkering with LangChain for a few days and I agree. Is there a resource that collects the agents so we can experiment? I'd love to see an aggregated list of the most impressive agents and use cases if anyone knows of any. This stuff is the future of computing no doubt.
There is a LangChainHub mentioned in their docs, but the repo for it seems dead. Is there any sort of marketplace/AppStore for agents/tools/plug-ins for LLMs via LangChain? Or some other library like haystack?
Re: Introducing Agents in Haystack: Make LLMs resolve complex tasks
#88Could someone in the know compare this with LangChain ( https://github.com/hwchase17/langchain )?
Most of the core ideas came from a paper called React, they all kind of riff on the idea of self-inspection / introspection to augment the context or plan action
Re: Introducing Agents in Haystack: Make LLMs resolve complex tasks
#89Could someone in the know compare this with LangChain ( https://github.com/hwchase17/langchain )?
I would consider Haystack to be the more batteries-included, easier to use (but harder to customize) of the two. They have a good emphasis on local model use.
Re: Introducing Agents in Haystack: Make LLMs resolve complex tasks
#90Earlier quoted context omitted.
This looks similar to the WebGPT paper, is that referenced in any of langchain or haystack's publications? Introducing the mechanism of internal thought is very interesting, I wonder if there's a way to make it implicit in the model's architecture.
I think the ReAct paper also popularized this approach: https://arxiv.org/abs/2210.03629