openchatai/copilot
Fork: 396 Star: 5068 (更新于 2024-11-03 13:21:08)
license: MIT
Language: TypeScript .
🤖 🔥 Language-to-actions engine
最后发布版本: 0.0.91-beta ( 2024-03-30 04:23:42)
Get 1:1 support, Join the community (NEW!!)
[!TIP] If you are looking for a managed version of OpenCopilot, check out the cloud version - it's production-ready with our latest planning engine that can handle and understand complex user requests.
Documentation available here
🔥 OpenCopilot
OpenCopilot allows you to have your own product's AI copilot. It integrates with your underlying APIs and can execute API calls whenever needed. It uses LLMs to determine if the user's request requires calling an API endpoint. Then, it decides which endpoint to call and passes the appropriate payload based on the given API definition.
How does it work?
- Provide your APIs/actions definition, including your public endpoints and how to call them. Currently, OpenCopilot supports Swagger OpenAPI 3.0 for bulk import.
- OpenCopilot validates your schema to achieve the best results.
- Finally, you can integrate our user-friendly chat bubble into your SaaS app.
🚀 Getting Started
-
Make sure you have docker installed.
-
To begin, clone this Git repository:
git clone git@github.com:openchatai/OpenCopilot.git
In the .env
file located in the llm-server
directory, make sure to replace the placeholder value for the OPENAI_API_KEY
variable with your actual token:
OPENAI_API_KEY=YOUR_TOKEN_HERE
For Linux Machines
To install the necessary dependencies and set up the environment for OpenCopilot, use the following command:
make install
For ARM Machines (Mac Silicon)
If you are using an ARM machine, specifically Mac Silicon, use the following command to install dependencies and set up the environment:
make install-arm
Once the installation is complete, you can access the OpenCopilot console at http://localhost:8888.
Additional Commands
- make migrate: Run Alembic migrations.
- make down: Stop and remove all containers.
- make exec-dashboard: Access the dashboard container's shell.
- make exec-llm-server: Access the llm-server container's shell.
- make restart: Restart all containers.
- make logs: Show container logs.
- make purge: Fully clean uninstall (remove containers, networks, volumes, .env).
- make help: Display help message with available targets.
This will install the necessary dependencies and set up the environment for the OpenCopilot project.
Once the installation is complete, you can access the OpenCopilot console at http://localhost:8888
Try it out:
You can try it out on opencopilot.so
(OpenCopilot is not affiliated with Shopify, and they do not use OpenCopilot, it's just a demo of what copilots are capable of)
AI Copilot: a growing trend
- Shopify is developing "Shopify Sidekick."
- Microsoft is working on "Windows Copilot."
- GitHub is in the process of creating "GitHub Copilot."
- Microsoft is also developing "Bing Copilot."
Our goal is to empower every SaaS product with the ability to have their own AI copilots tailored for their unique products.
🏁 What OpenCopilot can and can't do now?
- It is capable of calling your underlying APIs.
- It can transform the response into meaningful text.
- It can automatically populate certain request payload fields based on the context.
- For instance, you can request actions like: "Initiate a new case about X problem," and the title field will be automatically filled with the appropriate name.
- It is not suitable for handling large APIs (you will need to write JSON transformers to make it work, refer to the docs for more)
🛣️ Teach the copilot via flows:
Most of the time, the copilot can figure out what actions to execute when the user requests something, but in case there is a complex flow, you can define it to help the copilot:
🛣️ Embed on your app in a few lines of code
Less than <10 lines of codes to implement on your web app or desktop app
Important links
- The backend server (API) is reachable via http://localhost:8888/backend
- The dashboard server is reachable via http://localhost:8888/
- You can also use our SDK
This project follows the all-contributors specification. Contributions of any kind are welcome!
Contributors ✨
- Learn how OpenCopilot codebase works and how you can contribute using Onbaord AI's tool: learnthisrepo.com/opencopilot
- This project follows the all-contributors specification. Contributions of any kind are welcome!
Analytics
This product collects anonymous usage data to help improve your experience. You can opt out by setting ENABLE_EXTERNAL_API_LOGGING=no
in your environment variables.
最近版本更新:(数据更新于 2024-09-26 09:15:40)
2024-03-30 04:23:42 0.0.91-beta
2024-03-18 02:32:12 0.0.90-beta
2024-03-12 15:22:29 0.0.89-beta
2024-02-29 09:51:55 0.0.88-beta
2024-02-24 08:43:47 0.0.87-beta
2024-02-18 07:03:07 0.0.57-beta
2024-02-13 03:02:53 0.0.56-beta
2024-02-04 01:51:50 0.0.55-beta
2024-01-28 12:38:36 0.0.54-beta
2024-01-25 07:12:43 0.0.53-beta
主题(topics):
ai-copilot, copilot, llm, sidekick
openchatai/copilot同语言 TypeScript最近更新仓库
2024-11-05 17:55:23 langgenius/dify
2024-11-05 16:59:32 laurent22/joplin
2024-11-05 11:52:31 RSSNext/Follow
2024-11-05 07:18:03 microsoft/genaiscript
2024-11-05 05:06:06 getmaxun/maxun
2024-11-04 14:44:09 x-extends/vxe-table