This is a multi generative AIs application.
The program is a Next.js project bootstrapped with create-next-app
and integrated with AI SDK
.
You can chat with AIs from several different platforms such as OpenAI, Google, Cohere, Fireworks.ai, Hugging Face, AWS Bedrock, Mistral, Groq, Perplexity, and Anthropic. Some models accept image recognitions and image generations.
Create .env.local
and configure several API_KEYs from .env.example
.
Run the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can build to see lint errors on production environment.
pnpm build
As the program uses edge functions, it is intended to deploy to Vercel Platform.
I created a brother project Mulai3
which utilizes more React Server Components and function calls. You might also want to review it.