Giter VIP home page Giter VIP logo

qdlopez / opencopilot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openchatai/opencopilot

0.0 0.0 0.0 32.58 MB

๐Ÿค– ๐Ÿ”ฅ AI Copilot for your own SaaS product. Open source AI sidekick for everyone.

Home Page: https://opencopilot.so

License: MIT License

JavaScript 13.21% Python 0.65% PHP 19.50% TypeScript 45.54% CSS 17.95% Makefile 0.64% HTML 0.25% Blade 1.91% Dockerfile 0.35%

opencopilot's Introduction

OpenCopilot - Build AI copilots for your own SaaS product | Product Hunt

GitHub Contributors GitHub Last Commit GitHub Issues GitHub Pull Requests Github License Discord

image

Documentation available here


๐Ÿ”ฅ OpenCopilot [early beta]


OpenCopilot allows you to have your own product's AI copilot. It integrates with your underlying APIs and is able to 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 API/backend definition, including your public endpoints and how to call them. Currently, OpenCopilot supports Swagger OpenAPI 3.0. We're also working on a UI to allow you to dynamically add endpoints.
  • OpenCopilot validates your schema to achieve the best results.
  • We feed the API definition to an LLM.
  • Finally, you can integrate our user-friendly chat bubble into your SaaS app.

Try it out:

You can try it out on opencopilot.so

final.1.mp4

AI Copilot: growing trend

And 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.
  • Currently, it does not support calling multiple endpoints simultaneously (feature coming soon).
  • It is not suitable for handling large APIs.
  • It is not equipped to handle complex APIs.
  • It can not remember the chat history (every message is agnostic from previous messages.)

๐Ÿ›ฃ๏ธ Roadmap:

  • Create unlimited copilots.
  • Embed the copilot on your SaaS product using standard JS calls.
  • TypeScript chat bubble.
  • Provide Swagger definitions for your APIs.
  • Swagger definition validator + recommender.
  • [in progress] UI endpoints editor.
  • Chat memory.
  • Vector DB support for large Swagger files.
  • Plugins system to support different types of authentications.
  • Offline LLMs.
  • Ability to ingest text data, PDF files, websites, and extra data sources.

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!

๐Ÿš€ Getting Started

  • Make sure you have docker installed.

  • To begin, clone this Git repository:

git clone [email protected]:openchatai/OpenCopilot.git
  • Update llm-server/Dockerfile with your OPENAI_API_KEY key:
ENV OPENAI_API_KEY YOUR_TOKEN_HERE
  • Navigate to the repository folder and run the following command (for MacOS or Linux):
make install

Once the installation is complete, you can access the OpenCopilot console at: http://localhost:8888


If needed, you can also restart the local setup using:

make restart

Also, you can see the complete list of commands using

make help

Important links

This project follows the all-contributors specification. Contributions of any kind welcome!

opencopilot's People

Contributors

ah7255703 avatar dafu-wu avatar dependabot[bot] avatar gharbat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.