Deploy a RAG chatbot with KleidiAI on Google Axion
Introduction
Demo
Set up a RAG based LLM Chatbot
Deploy a RAG-based LLM backend server
Deploy RAG-based LLM frontend server
The RAG Chatbot and its Performance
Next Steps
Deploy a RAG chatbot with KleidiAI on Google Axion
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Start
backend.py and check that Flask listens on port 5000 without errors. You can then use the frontend to test a response.Check that the backend is running and that the
API_URL in frontend.py points to its address and port. Restart Streamlit after changing the URL.Open
http://[your instance ip]:8501 in your browser. If you can’t connect, allow inbound TCP port 8501 from your IP address.Upload PDF files through the Streamlit interface. You can then ask questions about the content indexed in FAISS.
Yes. Activate the virtual environment and run the Flask backend in one terminal. Open another terminal, activate the environment, and start the Streamlit frontend.