Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dvelkow/loaded_memory_chatgpt
A simple Chatgpt-powered app that provides answers based solely on its pre-existing knowledge you have fed him, perfect for Q&A chatbots.
https://github.com/dvelkow/loaded_memory_chatgpt
Last synced: about 1 month ago
JSON representation
A simple Chatgpt-powered app that provides answers based solely on its pre-existing knowledge you have fed him, perfect for Q&A chatbots.
- Host: GitHub
- URL: https://github.com/dvelkow/loaded_memory_chatgpt
- Owner: dvelkow
- Created: 2024-07-29T20:56:15.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-29T22:32:46.000Z (7 months ago)
- Last Synced: 2025-01-11T04:07:05.301Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Overview
This is a basic Python script that implements a chatbot that uses a chosen by the user OpenAI's model (currently Turbo) to answer questions based on a custom knowledge base. The chatbot reads from a local text file and uses that information to respond to user queries.## Installation
First clone the repository
`git clone https://github.com/dvelkow/loaded_memory_chatgpt`Install the required dependencies using the provided requirements.txt file:
`pip install -r requirements.txt`Finally just run the "app.py" file.
That's about it, pretty self explanatory. Also for you to use it you obviously need to replace the api_key_placeholder with yours. You can visit https://platform.openai.com if you don't have an API key.