This is a chatbot to help you learn and code with the Cairo language.
Archived in favor of the Starknet Agent
This Turborepo includes the following packages/apps:
chatbot: a Next.js app. The application is highly inspired by the vercel ai chatbot template (https://github.com/supabase-community/vercel-ai-chatbot).@repo/ai: a package for the AI use cases@repo/eslint-config:eslintconfigurations (includeseslint-config-nextandeslint-config-prettier)@repo/typescript-config:tsconfig.jsons used throughout the monorepo
To build all apps and packages, run the following command:
pnpm build
You will need OPENAI_API_KEY and MONGODB_ATLAS_URI environment set properly.
export OPENAI_API_KEY="sk-<...>"
export MONGODB_ATLAS_URI="mongodb+srv:<...>"Add a .env.local file at the root of the repo with the following content (replace the values with your own):
QUESTION_MODEL_NAME="gpt-3.5-turbo"
ANSWER_MODEL_NAME="gpt-4-turbo-preview"To develop all apps and packages, run the following command:
pnpm dev