openchatai / OpenCopilot
- пятница, 22 декабря 2023 г. в 00:00:15
🤖 🔥 Let your users chat with your product features and execute things by text - open source Shopify sidekick
Documentation available here
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.
(In this example, the user was able to add a new fish to the store just by text commands)
Make sure you have docker installed.
To begin, clone this Git repository:
git clone git@github.com:openchatai/OpenCopilot.git
Please find below an update concerning the API key configuration in our system.
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
MYSQL_URI=mysql+pymysql://dbuser:dbpass@mysql:3306/opencopilot
QDRANT_PASS=bW9tZW50bmVhcmZld2VyYXJ0YmVuZG1pbGticmVhdGhldGFsZXN3aGFsZW5vYm9keXM=
Regarding the QDRANT_PASS
variable, be advised that the current value functions as the default API key for Qdrant. We highly recommend customizing this key to suit your needs by modifying the corresponding value within the qdrant_config.yaml
file.
To install the necessary dependencies and set up the environment for the OpenCopilot project, use the following command:
make install
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.
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
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)
Our goal is to empower every SaaS product with the ability to have their own AI copilots tailored for their unique products.
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:
Less than <10 lines of codes to implement on your web app or desktop app
This project follows the all-contributors specification. Contributions of any kind are welcome!
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind are welcome!
We love hearing from you! Got any cool ideas or requests? We're all ears! So, if you have something in mind, give us a shout!