https://github.com/dorsaroh/custom-ai
Chat with Your Data
https://github.com/dorsaroh/custom-ai
data langchain llm openai python streamlit
Last synced: about 12 hours ago
JSON representation
Chat with Your Data
- Host: GitHub
- URL: https://github.com/dorsaroh/custom-ai
- Owner: DorsaRoh
- License: mit
- Created: 2023-08-05T02:03:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-25T16:06:34.000Z (almost 3 years ago)
- Last Synced: 2025-08-04T22:03:24.635Z (11 months ago)
- Topics: data, langchain, llm, openai, python, streamlit
- Language: Python
- Homepage:
- Size: 548 KB
- Stars: 24
- Watchers: 1
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🧠 Custom-AI
### AI trained on **custom** user data.
Powered by OpenAI + Langchain + Streamlit

Video Demo: https://youtu.be/qhgamzZxZq4
Leverages Python, Langchain and OpenAI's ChatGPT to empower you to chat with your data, and build AI trained on your PDFs, fast and accessibly. The future of AI isn't just intelligence - it's personalization.
## The AI can:
- 📁 Use your own data
- 🔠 Memorize the conversation
- 💬 Save the conversation
Data is saved in the **'data'** folder!
Note: Accepted data types are .pdf and .txt files
## Installation
### 1. Clone the repository
```shell
git clone https://github.com/DorsaRoh/Custom-AI.git
```
### 2. Enter directory
```shell
cd Custom-AI
```
### 3. Install dependencies
**Ensure you have chromadb installed.**
```shell
pip install langchain openai streamlit pdfreader wikipedia-api streamlit unstructured unstructured[pdf]
```
or
```shell
pip install -r requirements.txt
```
### 4. Usage
```shell
streamlit run app.py
```
Navigate to local host 1 in your web browser to access the app.
🚨 **You must enter your OpenAI API key. An error will show until you enter your OpenAI API key in the application's sidebar/input field.**
Change the prompt templates according to your needs and requirements.
## Sample Uses
- [PatientGPT.AI](https://github.com/DorsaRoh/Custom-AI/tree/main/PatientGPT.AI) A medical sample use case of CustomAI, where doctors can upload data of their patients and have AI diagnose them for desired diseases and/or conditions.
- [RealizeAI](https://github.com/DorsaRoh/Custom-AI/tree/main/RealizeAI)
Think your unique knowledge has no real-world value? With Realize-AI, turn even the most obscure ideas into actionable tasks.