1. Import necessary libraries • Streamlit for building the web app
• Embedchain for the RAG functionality
• tempfile for creating temporary files and directories
@saboo_shubham_
-

Building RAG Web Apps with Streamlit and Embedchain
By
–
-
Build Local LLM RAG App Chat PDF Llama-3
By
–
Build a LLM app with RAG to chat with PDF using Llama-3 running locally on your computer (100% free and without internet):
-
Glean AI Tool Receives Positive User Feedback
By
–
Haven't used glean. But can say that it is great!
-
LLM Tips and Tutorials Sharing Guide
By
–
If you find this useful, RT to share it with your friends. Don't forget to follow me @Saboo_Shubham_ for more such LLMs tips and tutorials.
-
Discover LLM Apps with RAG and AI Agents GitHub Repository
By
–
Find all the awesome LLM Apps demo with RAG and AI agents in the following Github Repo. P.S: Don't forget to star the repo to show your support
-
Docs-QA AI Agent: Chat Interface for Knowledge Base
By
–
5. Click on Create Chatbot and Ask any questions to the AI Agent
— Shubham Saboo (@Saboo_Shubham_) 22 mai 2024
It creates a Chat UI with the ability to chat with the docs in the knowledge base.
Working demo of Docs-QA AI agent 👇 pic.twitter.com/8BT0J53JPW5. Click on Create Chatbot and Ask any questions to the AI Agent It creates a Chat UI with the ability to chat with the docs in the knowledge base. Working demo of Docs-QA AI agent
-

Adding Data to Knowledge Base for AI Systems
By
–
4. Add Data to the Knowledge Base Here, you have two options:
• Add the URL of the webpages you want to add to the knowledge base
• Upload the files locally from your computer to the knowledge base Let's add the URL of few pages from the embedchain docs. -

Improve Your Source Prompts Automatically for Better Results
By
–
Pro tip: Once you provide a source prompt, you can click on Improve Prompt to automatically generate a better and more efficient source prompt.
-
System Prompt Design for Knowledge Base AI Assistant
By
–
3. Provide the source prompt in English Prompt: You are an assistant, designed to provide answers to user queries from your knowledge base. However, if you are unable to find the answer to a query within your knowledge base, it is acceptable to respond by saying "I don't know".
-

Creating an AI Agent: Naming and Documentation QA RAG
By
–
2. Give a Name to your AI Agent For this example, let's create an AI agent that can chat with documentation and provide pin-pointed answers to users questions. Let's name it as: 'Docs-QA-RAG'