Cookies

With your permission, we use Google Analytics cookies to measure visits and improve the site. Necessary cookies are always on. You can change your choice or withdraw consent anytime in the footer, under Cookie settings. Cookie Policy

Skip to content

Apps with Memory ·Intermediate

Local ChatGPT With Memory

About this app

Local ChatGPT using Llama 3.1 with Personal Memory This Streamlit application implements a fully local ChatGPT-like experience using Llama 3.1, featuring personalized memory storage for each user. All components, including the language model, embeddings, and vector store, run locally without requiring external API keys.

  • Complete open-source code
  • Step-by-step tutorial
  • Runs on your computer

Technical sheet

Category
Apps with Memory
Difficulty
Intermediate
Models
OpenAI, Llama
Frameworks
Ollama (local)
Runs locally?
Yes (Ollama)
Required keys
None

License Apache-2.0 · content curated and maintained by Doutor AI.

Full tutorial

🧠 Local ChatGPT using Llama 3.1 with Personal Memory

This Streamlit application implements a fully local ChatGPT-like experience using Llama 3.1, featuring personalized memory storage for each user. All components, including the language model, embeddings, and vector store, run locally without requiring external API keys.

Features

  • Fully local implementation with no external API dependencies
  • Powered by Llama 3.1 via Ollama
  • Personal memory space for each user
  • Local embedding generation using Nomic Embed
  • Vector storage with Qdrant

How to get Started?

  1. Clone the GitHub repository
git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git
cd awesome-llm-apps/advanced_llm_apps/llm_apps_with_memory_tutorials/local_chatgpt_with_memory
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Install and start Qdrant vector database locally
docker pull qdrant/qdrant
docker run -p 6333:6333 qdrant/qdrant
  1. Install Ollama and pull Llama 3.1
ollama pull llama3.1
Using AMD Strix Halo / Ryzen AI MAX+ 395? The AMD Strix Halo Local LLM Guide documents a tested Ubuntu and Ollama Vulkan/RADV setup, model and quantization choices, benchmark evidence, and known failed routes for this hardware.
  1. Run the Streamlit App
streamlit run local_chatgpt_memory.py

From the same category

Apps with MemoryIntermediate

Adk Career Coach Agent Memory

This Streamlit app implements a multi-agent career coaching assistant built with Google's Agent Development Kit (ADK). A career orchestrator agent del…

  • OpenAI
  • Gemini
Apps with MemoryIntermediate

AI arXiv Agent Memory

This Streamlit app implements an AI-powered research assistant that helps users search for academic papers on arXiv while maintaining a memory of user…

  • OpenAI
Apps with MemoryIntermediate

AI Travel Agent Memory

This Streamlit app implements an AI-powered travel assistant that remembers user preferences and past interactions. It utilizes OpenAI's GPT-4o for ge…

  • OpenAI

Need a tailor-made solution?

Not sure where to start with AI in your business? Get a free assessment and a tailored plan - no commitment.

Save hours every week with AI, no hassle

Doutor AI gives you 1,859 ready-to-copy AI prompts, by industry and in plain English - plus a complete technical library for those who want to go further.

See plans