- Notifications
You must be signed in to change notification settings - Fork253
Notebooks & Example Apps for Search & AI Applications with Elasticsearch
License
elastic/elasticsearch-labs
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
VisitSearch Labs for the latest articles and tutorials on using Elasticsearch for search and AI/ML-powered search experiences
This repo contains executable Python notebooks, sample apps, and resources for testing out the Elastic platform:
- Learn how to use Elasticsearch as a vector database to store embeddings, power hybrid and semantic search experiences.
- Build use cases such as retrieval augmented generation (RAG), summarization, and question answering (QA).
- Test Elastic's leading-edge, out-of-the-box capabilities like theElastic Learned Sparse Encoder andreciprocal rank fusion (RRF), which produce best-in-class results without training or tuning.
- Integrate with projects like OpenAI, Hugging Face, and LangChain, and use Elasticsearch as the backbone of your LLM-powered applications.
Elastic enables all modern search experiences powered by AI/ML.
- Bookmark or subscribe toElasticsearch Labs on Github
- Read our latest articles atelastic.co/search-labs
Thenotebooks folder contains a range of executable Python notebooks, so you can test these features out for yourself. Colab provides an easy-to-use Python virtual environment in the browser.
Try out Playground in Kibana with the following notebooks:
question-answering.ipynblangchain-self-query-retriever.ipynbQuestion Answering with Self Query RetrieverBM25 and Self-querying retriever with elasticsearch and LangChainlangchain-vector-store.ipynblangchain-vector-store-using-elser.ipynblangchain-using-own-model.ipynb
Document Chunking with Ingest PipelinesDocument Chunking with LangChain SplittersCalculating tokens for Semantic Search (ELSER and E5)Fetch surrounding chunks
00-quick-start.ipynb01-keyword-querying-filtering.ipynb02-hybrid-search.ipynb03-ELSER.ipynb04-multilingual.ipynb05-query-rules.ipynb06-synonyms-api.ipynb07-inference.ipynb08-learning-to-rank.ipynb09-semantic-text.ipynb
loading-model-from-hugging-face.ipynbopenai-semantic-search-RAG.ipynbamazon-bedrock-langchain-qa-example.ipynbSemantic Search using the Inference API with the Cohere Service
The Search team at Elastic maintains this repository and is happy to help.
If you have an Elastic subscription, you are entitled to Support services for your Elasticsearch deployment. See our welcome page forworking with our support team.These services do not apply to the sample application code contained in this repository.
Try posting your question to theElastic discuss forums and tag it with#esre-elasticsearch-relevance-engine
You can also find us in the#search-esre-relevance-engine channel of theElastic Community Slack
This software is licensed under theApache License, version 2 ("ALv2").
About
Notebooks & Example Apps for Search & AI Applications with Elasticsearch
Topics
Resources
License
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.