Skip to content

Conversation

@Samiul-TheSoccerFan
Copy link
Contributor

closes #https://github.com/elastic/enterprise-search-team/issues/6203

This PR contains

  • A tutorial of how to use Multi-Query Retriever
  • A chatbot/question-answering example using Multi-Query Retriever

@Samiul-TheSoccerFan Samiul-TheSoccerFan self-assigned this Jan 5, 2024
@Samiul-TheSoccerFan Samiul-TheSoccerFan changed the title Multi-Query Retriever with Langchain Notebook RAG: Multi-Query Retriever with Langchain Notebook Jan 5, 2024
}
],
"source": [
"!python3 -m pip install -qU lark elasticsearch langchain openai\n",
Copy link
Collaborator

@miguelgrinberg miguelgrinberg Jan 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the jq package needs to be installed as well, required by the JSONLoader class. Also tiktoken is needed for the text splitting.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@miguelgrinberg : Added the packages. I am wondering why I did not received any errors for not adding these packages.

Copy link
Collaborator

@miguelgrinberg miguelgrinberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but you may want to update the deprecated symbols.

@Samiul-TheSoccerFan Samiul-TheSoccerFan merged commit 1c233b3 into elastic:main Jan 12, 2024
@Samiul-TheSoccerFan Samiul-TheSoccerFan deleted the addMultiQueryRetriever branch January 12, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants