Coder Social home page Coder Social logo

xunafay / discord-assistants Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1015 KB

OpenAI ChatGPT Assistants in Discord

Rust 96.14% Python 0.96% Dockerfile 2.89%
assistant-chat-bots discord discord-bot openai openai-functions openai-whisper chatgpt

discord-assistants's Introduction

Discord Assistants

Discord Assistants is a Rust project designed to seamlessly integrate OpenAI GPT assistants into the Discord platform, enabling users to engage with AI assistants in their Discord servers.

Showcase

Multi agent conversations: Alt text Characters based on the books of Becky Chambers

DALL-E image generation using slash commands: Alt text

Other supported features:

  • Text to speech using OpenAI models
  • Transcription of audio files using OpenAI Whisper
  • Assistant tool usage. See available tools in src/tools/ folder

Getting Started

To run the project, the following steps are required:

  • Minio Setup: The project requires a Minio instance to be running. Set the Minio endpoint, access key and secret key with the environment variables S3_URL, S3_KEY and S3_SECRET respectively.
  • Set Environment Variables: Ensure that the environment variables OPENAI_API_KEY and DISCORD_TOKEN are set.
  • Discord Bot Permissions: The Discord bot requires the message content intent.
  • Transcription: The transcription functionality requires yt-dlp to be installed on the system.
  • Whisper Functionality: Due to an issue in async-openai, whisper functionality is currently implemented using a small Python script. This script requires a virtual environment named venv in the root dir of the project with the OpenAI package installed.

Contributions

Contributions to the Discord Assistants project are very welcome! Open an issue or submit a pull request to get started.

discord-assistants's People

Contributors

dependabot[bot] avatar imgbotapp avatar xunafay avatar

Watchers

 avatar

discord-assistants's Issues

Migrate Tools to Rust

  • image
  • assistant_creation
  • assistant_listing
  • transcribe
  • tts
  • user_info
  • mention
  • current_date_time

Task tracker

Current implementation is hacked together and riddled with bugs

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.