kshitijagrwl / chat-with-docs

A prototype for chat with your docs
MIT License
1 stars 2 forks source link

Enhance Language Model Chain with LangChain Agent, Bing Search API, and Vector Database Integration #7

Closed Kranium2002 closed 1 year ago

Kranium2002 commented 1 year ago

Description: Currently, our system relies on a simple LL (Language Model) chain for processing tasks. However, to improve the capabilities and effectiveness of our system, we propose the implementation of a LangChain agent. This agent will incorporate the Bing Search API and a vector database to enhance the quality and relevance of responses.

Goals:

  1. LangChain Agent Integration: Develop and integrate a LangChain agent into our system. This agent will serve as an intermediary layer between the user input and the LL model chain.

  2. Bing Search API Integration: Incorporate the Bing Search API within the LangChain agent. This will allow the agent to retrieve real-time information from the web, providing up-to-date and contextually relevant information.

  3. Vector Database Integration: Implement a vector database within the LangChain agent. This database will store semantic representations of various concepts, allowing the agent to better understand the context and nuances of user queries.

Benefits:

Tasks:

  1. Design the architecture for the LangChain agent, outlining how it will interact with the LL model chain.
  2. Integrate the Bing Search API into the LangChain agent, allowing it to query the web for information.
Kranium2002 commented 1 year ago

Solved in latest commit to main