GithubHelp home page GithubHelp logo

pdxjohnny / assistants Goto Github PK

View Code? Open in Web Editor NEW

This project forked from llm-edge/hal-9100

1.0 1.0 0.0 941 KB

The ⭐️ Open Source Assistants API allows you to build AI assistants within your own applications with your own models. 75% Cheaper & 23x Faster Assistants. Same API/SDK. Written in Rust

Home Page: https://bit.ly/open-assistants

License: MIT License

Shell 0.46% Rust 98.38% Makefile 0.77% Dockerfile 0.39%

assistants's Introduction

assistants

⭐️ Open Source Assistants API

Build Powerful AI Assistants In-House, On Your Terms

75% Cheaper & 23x Faster Assistants. Same API/SDK.

Open in GitHub Codespaces
Join Discord


📞 Need Support? We're here for you.
🖼️ How it Works – Visual Guide
✨ Suggest a Feature
❤️‍🩹 Found a Bug? Let us know.

Quickstart

Get started in less than a minute through GitHub Codespaces:

Open in GitHub Codespaces

Or:

git clone https://github.com/stellar-amenities/assistants
cd assistants
cp .env.example .env

To get started quickly, let's use Perplexity API. Get an API key from Perplexity. You can get it here. Replace in .env the MODEL_API_KEY with your API key

Install OpenAI SDK: npm i openai

Start the infra:

docker-compose --profile api -f docker/docker-compose.yml up -d

Run the quickstart:

node examples/quickstart.js

Table of contents

Table of Contents
  1. Why Open Source Assistants API?
  2. What's Cooking? – Latest News
  3. Key Features
  4. What Can You Build with Assistants?
  5. Join the Movement
  6. Deployment
  7. FAQ

Why Open Source Assistants API?

  • Full Control: Own your data, your models, and your destiny.
  • No Hidden Costs: Absolutely free. Seriously, no strings attached.
  • Customizable: Tailor the AI to your specific needs and use cases.
  • Offline Capabilities: Perfect for edge cases or internet-free zones.
  • OpenAI Compatibility: Love OpenAI's API? We play nice with that too.
  • Simplicity: Easy setup, no steep learning curve.
  • Non-woke style: Get rid of OpenAI Woke/Brainwashed/PC models.
  • Unleashed code interpreter: OpenAI Code interpreter is not allowed to do other things than processing data (e.g. cannot do web scrapping, etc.). This one is unleashed.

What's Cooking? – Latest News

  • [2023/08/19] 🔥 New example: Open source LLM with code interpreter. Learn more.
  • [2023/08/12] 🔥 New example: Open source LLM with function calling. Learn more.
  • [2023/29/11] 🔥 New example: Using mistral-7b, an open source LLM. Check it out.

Key Features

  • Code Interpreter: Runs Python code in a sandboxed environment. (beta)
  • Knowledge Retrieval: Retrieves external knowledge or documents.
  • Function Calling: Defines and executes custom functions.
  • File Handling: Supports a range of file formats.
  • Multimodal: Supports audio, images, and text.
    • image audio text
    • audio text
    • image text (soon)
    • text

Join the Movement

  • For Developers: We've got the docs, tools, and a community ready to help you build what's next.
  • For Innovators: Looking for an edge in AI? Here's where you leapfrog the competition.
  • For the Visionaries: Dreamt of a custom AI assistant? Let's make it a reality.

Deployment

Please follow this documentation.

FAQ

Which LLM API can I use?

Examples of LLM APIs that does not support OpenAI API-like, that you can't use:

Examples of LLM APIs that does support OpenAI API-like, that you can use:

What's the difference with LangChain? LangChain offers detailed control over AI conversations, while OpenAI's Assistants API simplifies the process, managing conversation history, data/vector store, and tool switching for you.
Are you related to OpenAI? No.
I don't use Assistants API. Can I use this? We recommend switching to the Assistants API for a more streamlined experience, allowing you to focus more on your product than on infrastructure.
Does the Assistants API support audio and images? Images soon, working on it. Audio in a few weeks.

assistants's People

Contributors

louis030195 avatar cakecrusher avatar eltociear avatar

Stargazers

Nathaniel Simmons avatar

Watchers

 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.