From 21014cab452a486e4e9ca3e9c6a38ec120ff4679 Mon Sep 17 00:00:00 2001
From: Rithik Kumar <46047011+rithikJha@users.noreply.github.com>
Date: Sat, 17 Aug 2024 12:35:33 +0530
Subject: [PATCH] docs: add chatbot example and improve quality of other
examples (#1544)
---
docs/mkdocs.yml | 6 ++-
.../python_examples/build_from_scratch.md | 6 +--
docs/src/examples/python_examples/chatbot.md | 41 +++++++++++++++++++
.../examples/python_examples/multimodal.md | 4 +-
docs/src/examples/python_examples/rag.md | 4 +-
.../examples/python_examples/vector_search.md | 8 ++--
6 files changed, 57 insertions(+), 12 deletions(-)
create mode 100644 docs/src/examples/python_examples/chatbot.md
diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml
index bae287f4..024181fd 100644
--- a/docs/mkdocs.yml
+++ b/docs/mkdocs.yml
@@ -146,7 +146,8 @@ nav:
- Multimodal: examples/python_examples/multimodal.md
- Rag: examples/python_examples/rag.md
- Vector Search: examples/python_examples/vector_search.md
- - Miscellaneous:
+ - Chatbot: examples/python_examples/chatbot.md
+ - Miscellaneous:
- YouTube Transcript Search: notebooks/youtube_transcript_search.ipynb
- Documentation QA Bot using LangChain: notebooks/code_qa_bot.ipynb
- Multimodal search using CLIP: notebooks/multimodal_search.ipynb
@@ -233,7 +234,8 @@ nav:
- Multimodal: examples/python_examples/multimodal.md
- Rag: examples/python_examples/rag.md
- Vector Search: examples/python_examples/vector_search.md
- - Miscellaneous:
+ - Chatbot: examples/python_examples/chatbot.md
+ - Miscellaneous:
- YouTube Transcript Search: notebooks/youtube_transcript_search.ipynb
- Documentation QA Bot using LangChain: notebooks/code_qa_bot.ipynb
- Multimodal search using CLIP: notebooks/multimodal_search.ipynb
diff --git a/docs/src/examples/python_examples/build_from_scratch.md b/docs/src/examples/python_examples/build_from_scratch.md
index f7469726..65e21af4 100644
--- a/docs/src/examples/python_examples/build_from_scratch.md
+++ b/docs/src/examples/python_examples/build_from_scratch.md
@@ -1,8 +1,8 @@
-# Build from Scratch with LanceDB π
+# **Build from Scratch with LanceDB π οΈπ**
-Start building your GenAI applications from the ground up using LanceDB's efficient vector-based document retrieval capabilities! π
+Start building your GenAI applications from the ground up using LanceDB's efficient vector-based document retrieval capabilities! π
-#### Get Started in Minutes β±οΈ
+**Get Started in Minutes β±οΈ**
These examples provide a solid foundation for building your own GenAI applications using LanceDB. Jump from idea to proof of concept quickly with applied examples. Get started and see what you can create! π»
diff --git a/docs/src/examples/python_examples/chatbot.md b/docs/src/examples/python_examples/chatbot.md
new file mode 100644
index 00000000..a16848a6
--- /dev/null
+++ b/docs/src/examples/python_examples/chatbot.md
@@ -0,0 +1,41 @@
+**Chatbot Application with LanceDB π€**
+====================================================================
+
+ Create an innovative chatbot application that utilizes LanceDB for efficient vector-based response generation! πβ¨
+
+**Introduction πβ¨**
+
+ Users can input their queries, allowing the chatbot to retrieve relevant context seamlessly. ππ This enables the generation of coherent and context-aware replies that enhance user experience. ππ€ Dive into the world of advanced conversational AI and streamline interactions with powerful data management! ππ‘
+
+
+| **Chatbot** | **Description** | **Links** |
+|:----------------|:-----------------|:-----------|
+| **Databricks DBRX Website Bot β‘οΈ** | Unlock magical conversations with the Hogwarts chatbot, powered by Open-source RAG, DBRX, LanceDB, LLama-index, and Hugging Face Embeddings, delivering enchanting user experiences and spellbinding interactions β¨ | [][databricks_github]
[][databricks_python] |
+| **CLI SDK Manual Chatbot Locally π»** | CLI chatbot for SDK/hardware documents, powered by Local RAG, LLama3, Ollama, LanceDB, and Openhermes Embeddings, built with Phidata Assistant and Knowledge Base for instant technical support π€ | [][clisdk_github]
[][clisdk_python] |
+| **Youtube Transcript Search QA Bot πΉ** | Unlock the power of YouTube transcripts with a Q&A bot, leveraging natural language search and LanceDB for effortless data management and instant answers π¬ | [][youtube_github]
[][youtube_colab]
[][youtube_python] |
+| **Code Documentation Q&A Bot with LangChain π€** | Revolutionize code documentation with a Q&A bot, powered by LangChain and LanceDB, allowing effortless querying of documentation using natural language, demonstrated with Numpy 1.26 docs π | [][docs_github]
[][docs_colab]
[][docs_python] |
+| **Context-aware Chatbot using Llama 2 & LanceDB π€** | Experience the future of conversational AI with a context-aware chatbot, powered by Llama 2, LanceDB, and LangChain, enabling intuitive and meaningful conversations with your data ππ¬ | [][aware_github]
[][aware_colab]
[][aware_ghost] |
+| **Chat with csv using Hybrid Search π** | Revolutionize data interaction with a chat application that harnesses LanceDB's hybrid search capabilities to converse with CSV and Excel files, enabling efficient and scalable data exploration and analysis π | [][csv_github]
[][csv_colab]
[][csv_ghost] |
+
+
+[databricks_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/databricks_DBRX_website_bot
+[databricks_python]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/databricks_DBRX_website_bot/main.py
+
+[clisdk_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/CLI-SDK-Manual-Chatbot-Locally
+[clisdk_python]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/CLI-SDK-Manual-Chatbot-Locally/assistant.py
+
+[youtube_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/Youtube-Search-QA-Bot
+[youtube_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/examples/Youtube-Search-QA-Bot/main.ipynb
+[youtube_python]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/Youtube-Search-QA-Bot/main.py
+
+[docs_github]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/Code-Documentation-QA-Bot
+[docs_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/examples/Code-Documentation-QA-Bot/main.ipynb
+[docs_python]: https://github.com/lancedb/vectordb-recipes/blob/main/examples/Code-Documentation-QA-Bot/main.py
+
+[aware_github]: https://github.com/lancedb/vectordb-recipes/blob/main/tutorials/chatbot_using_Llama2_&_lanceDB
+[aware_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/tutorials/chatbot_using_Llama2_&_lanceDB/main.ipynb
+[aware_ghost]: https://blog.lancedb.com/context-aware-chatbot-using-llama-2-lancedb-as-vector-database-4d771d95c755
+
+[csv_github]: https://github.com/lancedb/vectordb-recipes/blob/main/tutorials/Chat_with_csv_file
+[csv_colab]: https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/tutorials/Chat_with_csv_file/main.ipynb
+[csv_ghost]: https://blog.lancedb.com/p/d8c71df4-e55f-479a-819e-cde13354a6a3/
diff --git a/docs/src/examples/python_examples/multimodal.md b/docs/src/examples/python_examples/multimodal.md
index 2409fb2f..376d7864 100644
--- a/docs/src/examples/python_examples/multimodal.md
+++ b/docs/src/examples/python_examples/multimodal.md
@@ -1,8 +1,8 @@
-# Multimodal Search with LanceDB ππ‘
+# **Multimodal Search with LanceDB π€ΉββοΈπ**
Experience the future of search with LanceDB's multimodal capabilities. Combine text and image queries to find the most relevant results in your corpus and unlock new possibilities! ππ‘
-#### Explore the Future of Search π
+**Explore the Future of Search π**
Unlock the power of multimodal search with LanceDB, enabling efficient vector-based retrieval of text and image data! ππ»
diff --git a/docs/src/examples/python_examples/rag.md b/docs/src/examples/python_examples/rag.md
index c2c41d0c..02339515 100644
--- a/docs/src/examples/python_examples/rag.md
+++ b/docs/src/examples/python_examples/rag.md
@@ -1,10 +1,10 @@
-**ππ‘ RAG: Revolutionize Information Retrieval with LanceDB π**
+**RAG: Revolutionize Information Retrieval with LanceDB ππ§**
====================================================================
Unlock the full potential of Retrieval-Augmented Generation (RAG) with LanceDB, the ultimate solution for efficient vector-based information retrieval π. Input text queries and retrieve relevant documents with lightning-fast speed β‘οΈ and accuracy β
. Generate comprehensive answers by combining retrieved information, uncovering new insights π and connections.
-### Experience the Future of Search π
+**Experience the Future of Search π**
Experience the future of search with RAG, transforming information retrieval and answer generation. Apply RAG to various industries, streamlining processes π, saving time β°, and resources π°. Stay ahead of the curve with innovative technology π, powered by LanceDB. Discover the power of RAG with LanceDB and transform your industry with innovative solutions π‘.
diff --git a/docs/src/examples/python_examples/vector_search.md b/docs/src/examples/python_examples/vector_search.md
index 67000d39..a7b91a16 100644
--- a/docs/src/examples/python_examples/vector_search.md
+++ b/docs/src/examples/python_examples/vector_search.md
@@ -1,10 +1,12 @@
-**π Vector Search: Unlock Efficient Document Retrieval π**
+**Vector Search: Unlock Efficient Document Retrieval ππ**
====================================================================
-**Introduction**
-
Unlock the power of vector search with LanceDB, a cutting-edge solution for efficient vector-based document retrieval π. Input text queries to find the most relevant documents from your corpus, and discover a new world of possibilities with our inbuilt hybrid search features π.
+**Unlock the Future of Searchπ**
+
+Experience the transformative power of vector search with LanceDB. Discover, analyze, and retrieve documents with unprecedented efficiency and accuracy. π‘
+
| **Vector Search** | **Description** | **Links** |
|:-----------------|:---------------|:---------|
| **Inbuilt Hybrid Search π** | Combine the power of traditional search algorithms with LanceDB's vector-based search for a robust and efficient search experience π | [][inbuilt_hybrid_search_github]
[][inbuilt_hybrid_search_colab] |