Your AI-powered assistant for all things Formula 1.
F1 AI Copilot is an intelligent and context-aware assistant designed to provide detailed insights into the world of Formula 1. Whether you're a fan, an analyst, or simply curious, this AI-driven application offers meaningful answers and relevant information.
Clone the repository:
git clone https://github.com/your-username/f1-ai-copilot.git
cd f1-ai-copilot
Install dependencies:
npm install
Create a .env
file from the provided .env.sample
:
cp .env.sample .env
Fill in the .env
file with your credentials:
OPEN_API_KEY
: Your OpenAI API key. ASTRA_DB_API_ENDPOINT
: URL for your Astra DB instance. ASTRA_DB_NAMESPACE
: Your Astra DB namespace. ASTRA_DB_APPLICATION_TOKEN
: Your Astra DB application token. ASTRA_DB_COLLECTION
: The collection name for storing embeddings.Run the application:
npm run dev
The following environment variables are required to run this application. A .env.sample
file is provided for reference:
OPEN_API_KEY=your-openai-api-key
ASTRA_DB_API_ENDPOINT=https://your-astra-db-endpoint
ASTRA_DB_NAMESPACE=your-namespace
ASTRA_DB_APPLICATION_TOKEN=your-application-token
ASTRA_DB_COLLECTION=your-collection-name
-Seed the database locally by running npm run seed
.
npm run dev
. Contributions are welcome! To contribute:
This project is licensed under the MIT License. See the LICENSE
file for details.
If you encounter any issues or have suggestions, feel free to open an issue or contact us.