Skip to content

alvarovalverde03/alien-ai-chat

Repository files navigation

Alien emoji

AlienAI Chat

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).

📜 Getting Started

Follow these steps to set up and run AlienAI Chat on your local machine:

1. Setup Chroma:

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

2. Clone the Project:

Clone the AienAI Chat repository:

git clone https://github.com/alvarovalverde03/alien-ai-chat.git

3. Configure Environment Variables:

Create a .env file by copying .env.example.

  • Fill in the required environment variables with appropriate values (database host, API keys, ...).

4. Install Dependencies:

Navigate to the project directory and install dependencies:

cd alien-ai-chat
npm install

5. Run the Development Server:

Start the development server:

npm run dev

6. Access AlienAI Chat:

Open http://localhost:3000 with your browser to access the AlienAI Chat application.

🤖 Usage

  • 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.