-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from FranciZhong/model-config
Model config
- Loading branch information
Showing
51 changed files
with
9,129 additions
and
4,508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,95 @@ | ||
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). | ||
# Chatemo | ||
|
||
## Getting Started | ||
## π Introduction | ||
|
||
First, run the development server: | ||
[Chatemo](http://www.chatemo.chat/) is an innovative team communication app that seamlessly integrates Large Language Models (LLMs) to solve problems in real time. In Chatemo, you don't need to switch contexts to ask questions. Instead, various models and agents (with tailored prompts) are available directly in the conversation window. Simply provide the API keys from your preferred providers to get started. | ||
|
||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
# or | ||
pnpm dev | ||
# or | ||
bun dev | ||
``` | ||
### π Core Features | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
1. **AI-Enhanced Team Discussions** | ||
Effortlessly call on AI assistance at any point in your conversations, ensuring valuable insights and information are always at your fingertips. | ||
|
||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. | ||
2. **Multi-Model Flexibility** | ||
Support for multiple LLMs within the same communication context allows users to manage their own API keys and utilize preferred models based on specific needs. | ||
|
||
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. | ||
3. **Customizable AI Agents** | ||
Easily configure and manage AI agents tailored to your requirements. These agents can be utilized with any model across all communications and channels. | ||
|
||
## Learn More | ||
4. **Collaborative AI Ecosystem** | ||
Various AI agents work together, each specializing in different tasks, allowing teams to tackle complex, multi-faceted problems effectively. | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
5. **Context-Aware AI Interactions** | ||
Experience two types of AI behaviors: direct communication for focused, immediate responses, and channel mode, where AI agents consider message history for nuanced, context-aware assistance. | ||
|
||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
6. **Preview and Fine-Tune** | ||
Use Chatemo's preview mode to fine-tune AI responses for agent configurations and chat contexts before deployment, ensuring optimal alignment with team expectations. | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! | ||
## π οΈ Tech Stack | ||
|
||
## Deploy on Vercel | ||
### π₯οΈ Frontend | ||
|
||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
- βοΈ **React**: JavaScript library for building user interfaces. | ||
- πΌ **Next.js**: Framework for server-side rendering and static site generation. | ||
- π¨ **Tailwind CSS**: Utility-first CSS framework. | ||
- π **Tailwind Themes**: Customizable themes for styling. | ||
- π **Tailwind Merge**: Utility for merging Tailwind CSS classes. | ||
- 𧱠**Shadcn UI**: Accessible component library for UI development. | ||
- π **react-hook-form**: Library for managing form state. | ||
- ποΈ **Zustand**: Lightweight state management solution. | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. | ||
### ποΈ Backend | ||
|
||
- πΌ **Next.js API Routes**: For building API endpoints. | ||
- π **Socket.io**: For real-time communication. | ||
- π **NextAuth.js**: Authentication solution. | ||
- π **Google OAuth**: For Google sign-in. | ||
- π **PostgreSQL**: Advanced relational database. | ||
- π **Prisma ORM**: For database management. | ||
|
||
### π€ AI Integration | ||
|
||
- π€ **OpenAI SDK**: Integration for OpenAI models. | ||
- π€― **Anthropic SDK**: Access to Anthropic's AI offerings. | ||
- π§ **Google AI SDK**: Tools for leveraging Googleβs AI models. | ||
|
||
### π οΈ Utilities | ||
|
||
- β **Zod**: Type-safe schema validation. | ||
- π **Axios**: Promise-based HTTP client. | ||
- π **date-fns**: Modern date utility library. | ||
- π **uuid**: For generating unique identifiers. | ||
- β³ **use-debounce**: React hook for debouncing. | ||
|
||
### π Markdown Processing | ||
|
||
- π **React Markdown**: Markdown component for React applications. | ||
- π§ **remark & rehype plugins**: Ecosystem for processing markdown and HTML. | ||
|
||
### π§° Development Tools | ||
|
||
- π **TypeScript**: Typed superset of JavaScript. | ||
- π§Ή **ESLint**: Linter for identifying code issues. | ||
- π¦ **Prisma CLI**: Command-line interface for Prisma. | ||
- π **dotenv-cli**: Tool for loading environment variables. | ||
|
||
## π DevOps | ||
|
||
### π CI/CD | ||
|
||
- π **GitHub Actions**: CI/CD pipelines, ensuring seamless integration and deployment. | ||
|
||
### π³ Containerization | ||
|
||
- π **Dockerfile**: Defines the environment for the application. | ||
- π§ **Docker Compose**: For setting up local development environments easily. | ||
|
||
### βΈοΈ Orchestration | ||
|
||
- π’ **Kubernetes (K8s)**: For managing containerized applications in production. | ||
|
||
### βοΈ Cloud Platforms | ||
|
||
- π **Google Cloud Platform (GCP)** | ||
- π³οΈ **Google Kubernetes Engine (GKE)**: Managed Kubernetes service. | ||
- βοΈ **Amazon Web Services (AWS)** | ||
- πͺ£ **S3 Buckets**: Object storage service for files. |
Oops, something went wrong.