https://github.com/ohnoimded/maya_telegram_rag
Real Estate chatbot with RAG using Neo4j, Langchain, Ollama, Phi3
https://github.com/ohnoimded/maya_telegram_rag
langchain llm neo4j ollama phi3 rag
Last synced: 2 months ago
JSON representation
Real Estate chatbot with RAG using Neo4j, Langchain, Ollama, Phi3
- Host: GitHub
- URL: https://github.com/ohnoimded/maya_telegram_rag
- Owner: Ohnoimded
- License: other
- Created: 2024-07-02T01:18:50.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-02T02:02:39.000Z (almost 2 years ago)
- Last Synced: 2025-10-19T13:59:12.482Z (8 months ago)
- Topics: langchain, llm, neo4j, ollama, phi3, rag
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Maya Telegram Bot : Phi3
Maya is a AI real estate agent powered by the most powerful LLMs available.
## Features
- Friendly chatbot.
- Get property recommendations and advice on buying properties.
- RAG for accurate, up to date information on properties.
- Uses Langchain (Tis nothing but a bug. Not recommended.)
## Installation
1. Clone the repository: `git clone https://github.com/your-username/maya-ai.git`
2. Download Ollama, pull Phi3 (latest) model and follow the steps: [Ollama](https://github.com/ollama/ollama)
3. Download Neo4j Desktop/Create an account on the website and create a database
4. Using `test_db.json` and the commands in the test_app folder, populate the db
5. Using telegram BotFather, create a bot and get the API token
6. Rename `.env.txt` to `.env` and add Neo4j connection details and telegram API token
7. Install the required dependencies: `pip install -r requirements.txt`
8. Run the main script: `python main.py`
## Usage
Test data is synthetic and limited to Mumbai, but you can have any kind of data you want.
You may want to update the `cypher_query_template.txt` file to be more in line with your data.
To use Maya AI, run the following command:
```
python main.py
```
## License
This project is licensed under the [License](LICENSE).