/elasticsearch-labs

Notebooks & Example Apps for Search & AI Applications with Elasticsearch

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

Elasticsearch Examples & Apps

Visit Search 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 the Elastic Learned Sparse Encoder and reciprocal 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.

Apps

Python notebooks 📒

The notebooks 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.

Generative AI

Playground RAG Notebooks

Try out Playground in Kibana with the following notebooks:

LangChain

Document Chunking

Search

Semantic reranking

Integrations

Model Upgrades

Contributing 🎁

See contributing guidelines.

Support 🛟

The Search team at Elastic maintains this repository and is happy to help.

Official Support Services

If you have an Elastic subscription, you are entitled to Support services for your Elasticsearch deployment. See our welcome page for working with our support team. These services do not apply to the sample application code contained in this repository.

Discuss Forum

Try posting your question to the Elastic discuss forums and tag it with #esre-elasticsearch-relevance-engine

Elastic Slack

You can also find us in the #search-esre-relevance-engine channel of the Elastic Community Slack

License ⚖️

This software is licensed under the Apache License, version 2 ("ALv2").