https://github.com/ekaone/copilotkit-todo
Demo Copilotkit todo app
https://github.com/ekaone/copilotkit-todo
Last synced: 3 months ago
JSON representation
Demo Copilotkit todo app
- Host: GitHub
- URL: https://github.com/ekaone/copilotkit-todo
- Owner: ekaone
- Created: 2024-04-27T02:36:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-27T02:45:13.000Z (about 2 years ago)
- Last Synced: 2025-03-04T00:56:19.173Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://copilotkit-todo.netlify.app
- Size: 161 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## What is this?
This is a demo of [Copilotkit](https://docs.copilotkit.ai/getting-started/quickstart-chatbot) with OpenAI's GPT-4 to generate todo app list from human-langauge input.
## Add your OpenAI API key
Add your environment variables to `.env.local` in the root of the project.
```
OPENAI_API_KEY=your-api-key
```
## Install dependencies
```bash
npm install
```
## Run the development server
```bash
npm run dev
```
## Open the demo
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## The Copilot-Specific parts of the code:
1. Notice `` and `` in `page.tsx`
2. Notice `useMakeCopilotReadable` in `page.tsx`
3. Notice the 2 `useCopilotAction` in `page.tsx`