https://github.com/amafjarkasi/copilotkit-supabase-function
CopilotKit Supabase Edge Function
https://github.com/amafjarkasi/copilotkit-supabase-function
ai copilotkit edge supabase
Last synced: 3 months ago
JSON representation
CopilotKit Supabase Edge Function
- Host: GitHub
- URL: https://github.com/amafjarkasi/copilotkit-supabase-function
- Owner: amafjarkasi
- Created: 2024-06-04T06:40:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-04T07:28:35.000Z (about 1 year ago)
- Last Synced: 2024-06-05T08:09:34.476Z (about 1 year ago)
- Topics: ai, copilotkit, edge, supabase
- Language: TypeScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CopilotKit Supabase Edge Function
Edge function for Supabase to handle CopilotRuntime endpoints
(https://www.copilotkit.ai/)
(https://supabase.com/docs/guides/functions)
### Deploy edge function
```supabase functions deploy --no-verify-jwt openaikit```### Set env file
```supabase secrets set --env-file ./supabase/.env.local```### Example API call
```json
{
"model": "gpt-3.5-turbo",
"messages": [{"role": "user", "content": "Say this is a test!"}],
"temperature": 0.7
}
```