@@ -5,7 +5,7 @@ This folder contains notebooks that demonstrate various use cases for Elasticsea
55The following notebooks are available:
66
77- [ Question answering] ( #question-answering )
8- <!-- - [Chatbot](#chatbot) -->
8+ - [ Chatbot] ( #chatbot )
99
1010## Notebooks
1111
@@ -15,12 +15,20 @@ In the [`question-answering.ipynb`](./question-answering.ipynb) notebook you'll
1515
1616- Retrieve sample workplace documents from a given URL.
1717- Set up an Elasticsearch client.
18- - Chunk documents into 800-token passages with an overlap of 400 tokens using the ` CharacterTextSplitter ` from ` langchain ` .
18+ - Chunk documents into 800-character passages with an overlap of 400 characters using the ` CharacterTextSplitter ` from ` langchain ` .
1919- Use ` OpenAIEmbeddings ` from ` langchain ` to create embeddings for the content.
2020- Retrieve embeddings for the chunked passages using OpenAI.
2121- Persist the passage documents along with their embeddings into Elasticsearch.
2222- Set up a question-answering system using ` OpenAI ` and ` ElasticKnnSearch ` from ` langchain ` to retrieve answers along with their source documents.
2323
24- <!-- ### Chatbot
24+ ### Chatbot
2525
26- In the [`chatbot.ipynb`](./chatbot.ipynb) notebook you'll learn how to: -->
26+ In the [ ` chatbot.ipynb ` ] ( ./chatbot.ipynb ) notebook you'll learn how to:
27+
28+ - Retrieve sample workplace documents from a given URL.
29+ - Set up an Elasticsearch client.
30+ - Chunk documents into 800-character passages with an overlap of 400 characters using the ` CharacterTextSplitter ` from ` langchain ` .
31+ - Use ` OpenAIEmbeddings ` from ` langchain ` to create embeddings for the content.
32+ - Retrieve embeddings for the chunked passages using OpenAI.
33+ - Run hybrid search in Elasticsearch to find documents that answers asked questions.
34+ - Maintain conversational memory for follow-up questions.
0 commit comments