Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myatmyintzuthin/llm_movie_agent
Testing Movie Agent with Neo4j GraphDB from CLI
https://github.com/myatmyintzuthin/llm_movie_agent
langchain movie-agent neo4j
Last synced: 20 days ago
JSON representation
Testing Movie Agent with Neo4j GraphDB from CLI
- Host: GitHub
- URL: https://github.com/myatmyintzuthin/llm_movie_agent
- Owner: myatmyintzuthin
- License: mit
- Created: 2024-11-12T04:43:24.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-11-26T00:39:30.000Z (29 days ago)
- Last Synced: 2024-11-26T01:25:30.683Z (29 days ago)
- Topics: langchain, movie-agent, neo4j
- Language: Python
- Homepage:
- Size: 116 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LLM Moive Agent
LLM moive agent repo test. \
I don't own the code. I just want to test LLM agent from CLI and tried to extract some code from original repo.Credit to original repo: [https://github.com/tomasonjo/llm-movieagent](https://github.com/tomasonjo/llm-movieagent)
### 1. Virtual Environment Setup
This is for Windows environment.
```
python -m venv movie-agent
.\movie-agent\Scripts\activate.ps1
```
install dependencies
```
pip install -r requirements.txt
```### 2. Setup Environment Variables
Insert your API key in `.env_example` and rename it to `.env`
```
OPENAI_API_KEY=your_keyNEO4J_URI=neo4j+s://...
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=your_password
```### 3. Construct Neo4j GraphDB
run `make_db.py` to build Neo4j GraphDB.
```
python make_db.py
```### 4. Test Movie Agent
```
python .\neo4j-semantic-layer\main.py
```### 5. Sample CLI