8000 GitHub - ComposioHQ/composio-ai-chatbot: A fully featured and customizable, AI chatbot with Composio + AI SDK
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A fully featured and customizable, AI chatbot with Composio + AI SDK

License

Notifications You must be signed in to change notification settings

ComposioHQ/composio-ai-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Composio, Vercel AI SDK, Next.js 14 AI chatbot.

An Open-Source AI Chatbot Template Built With Next.js and the AI SDK by Vercel.

Features · Running locally


Features

What does it do?

This template showcases how to use Composio and the AI SDK to build an AI chatbot with access to third-party APIs (like Gmail, Google Calendar) as tools. Composio manages connections to third-party APIs and handles the authentication flow for the users.

It also uses Braintrust for observability and monitoring.

Get Started

  1. Clone this repository
  2. Install dependencies: pnpm install
  3. Create a Composio account and get a Composio API key from Composio. Save it in the .env
  4. Create an integration for Google Calendar and Gmail in Composio.
  5. Save the integration IDs in the .env file
  6. Run the development server: pnpm run dev

Running locally

You will need to use the environment variables defined in .env.example to run Next.js AI Chatbot. It's recommended you use Vercel Environment Variables for this, but a .env file is all that is necessary.

Note: You should not commit your .env file or it will expose secrets that will allow others to control access to your various AI and authentication provider accounts.

  1. Install Vercel CLI: npm i -g vercel
  2. Link local instance with Vercel and GitHub accounts (creates .vercel directory): vercel link
  3. Download your environment variables: vercel env pull
pnpm install
pnpm dev

Your app template should now be running on localhost:3000.

About

A fully featured and customizable, AI chatbot with Composio + AI SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0