LangChain Agents | Search Tools | Retriever Tools | Agent Executer | Example: Ask Cancer Questions

Поділитися
Вставка
  • Опубліковано 26 жов 2024

КОМЕНТАРІ • 5

  • @otimistarj
    @otimistarj 2 місяці тому

    if you ask agent_executor.invoke({"input":"what is heart disease?"}) it did not choose tavily search, why ?

    • @CompuFlair
      @CompuFlair  2 місяці тому

      could be because the answer was already in the context from the retriever

  •  5 місяців тому

    Hello CompuFlair and thanks for this video! I am wondering, what version of Langchain were you using for this tutorial? What about the FAISS?

    • @CompuFlair
      @CompuFlair  5 місяців тому +2

      Hi there. Here are the versions:
      langchain==0.1.11, langchain-community==0.0.27 (for FAISS)

    •  5 місяців тому

      ​@@CompuFlair Have you ever experienced this error with the retriever? pydantic.error_wrappers.ValidationError: 1 validation error for ConversationalRetrievalChain
      retriever
      instance of BaseRetriever expected (type=type_error.arbitrary_type; expected_arbitrary_type=BaseRetriever)