8000 GitHub - limitcantcode/jaison-core: Configurable response server for Project J.A.I.son
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

limitcantcode/jaison-core

Repository files navigation

Project J.A.I.son

Project J.A.I.son

Core server for building AI Companion applications.

Project JAIson badge Github Release GitHub Contributors Issues GitHub pull requests

About This ProjectKey FeaturesApplicationsInstall From ScratchOperationsHow To UseDeveloper GuideCommunityCreditsLicense

About This Project

This project is for a fully customizable AI persona usable for streaming or private companionship. Feel free to download and use how you wish.

This software uses libraries from the FFmpeg project under the LGPLv2.1

Key Features

  • Configurable AI persona that integrates with applications for general interaction and streaming
  • Text and talk with AI persona in real-time
  • Support for various services and local models
  • Support for custom contexts

Official Applications

Feel free to build and share your own! See the Developer Guide for more info.

Install From Scratch

Note To simplify setup across platforms, setup now uses conda. Conda is not necessary to run this project.

Setup and install dependencies

Create and enter a virtual environment with specific Python and pip version.

conda create -n jaison-core python=3.12 pip=24.0 -y
conda activate jaison-core

Install PyTorch 2.5.1 with the right integration. Example below for computers with RTX graphics card.

conda install pytorch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 pytorch-cuda=12.4 -c pytorch -c nvidia

For NVidia cards, ensure you have the latest drivers and CUDA toolkit


Install remaining dependencies.

If on Windows, please enable Developer Mode

pip install .
python -m spacy download en_core_web_sm

Install FFmpeg

For Ubuntu/Debian users

sudo apt install ffmpeg

For MacOS users

brew install ffmpeg

For Windows users

Download executables and place them in the root folder:


Configuration

FOR A FREE, 3RD PARTY T2T INTEGRATION: Use openai type but configure for use with Groq.

Add keys and other sensitive information for services you intend to use in .env (make a new file and copy the contents of .env-template).

For immediate setup using the example configuration, just provide the OpenAI API key.

Overall configuration can be done in configs/ and an example with all configurable options is located in configs/example.yaml. See Development guide for details on configuration.


Dealing with duplicate libiomp5md.dll.

It might not be necessary, but in case you encounter this error when running:

  1. Go to environment directory (where conda stores installed packages)
  2. Search for libiomp5md.dll
  3. Delete the version under package torch

How To Use

python ./src/main.py --help

Example usage: python ./src/main.py --config=example

Developer Guide

See the specification for building applciations for Project J.A.I.son, creating custom integrations, and configuration tips below:

Community

Join the community!

Thank you to all the contributors!

Become a contributor as well

License

MIT

About

Configurable response server for Project J.A.I.son

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages

0