API Documentation: aiMovieChatbot API
aiMovieChatbot is a multi-level REST API chatbot that allows users to interact with movie characters, retrieve movie scripts, and perform semantic searches using advanced AI techniques.
Add the following environment variables:
REDIS_URL=redis://127.0.0.1:6379
ORIGINS=http://localhost:8000
QDRANT_URI=http://localhost:6333
PSQL_URI=postgres://myuser:[email protected]:5432/mydatabase
Follow the instructions here: Google Vertex AI
- Download the JSON key file and store it on your local device.
Navigate to the backend folder and run the following command to start Redis, PostgreSQL, and Qdrant using Docker:
docker compose up -d
python -m venv venv
source venv/bin/activate # On Windows use: venv\Scripts\activate
pip install -r requirements.txt
Replace key.json
with your actual Google Vertex AI API key file path:
export GOOGLE_APPLICATION_CREDENTIALS='key.json'
This process will take approximately 15-20 minutes to scrape data and create embeddings in QdrantDB. Once completed, the server will start automatically.
fastapi dev main.py
Visit: http://localhost:8000/