AlienAI Chat is an AI-powered chat application based on private documents from AlienAI S.L. (AienAI S.L. is a fictitious company) built with Next.js, LangChain JS and ChromaDB as a vector database.
AlienAI Chat uses a RAG (Retrieval Augmented Generation) model architecture to provide intelligent responses to user queries based on AlienAI S.L. information (private documents available in /archive
).
Follow these steps to set up and run AlienAI Chat on your local machine:
Clone the Chroma repository and navigate to the directory.
git clone https://github.com/chroma-core/chroma.git
cd chroma
Use Docker Compose to set up the Chroma environment:
docker-compose up -d --build
Clone the AienAI Chat repository:
git clone https://github.com/alvarovalverde03/alien-ai-chat.git
Create a .env
file by copying .env.example
.
- Fill in the required environment variables with appropriate values (database host, API keys, ...).
Navigate to the project directory and install dependencies:
cd alien-ai-chat
npm install
Start the development server:
npm run dev
Open http://localhost:3000 with your browser to access the AlienAI Chat application.
- Interact with the chat interface by typing messages and sending them.
- AienAI Chat will use its RAG architecture to retrieve relevant information, analyze user prompts/queries, and generate responses accordingly.