Skip to main content

Refer to https://gai-labs.github.io/gai for more information

Project description

GAI SDK Setup Guide

Install

  1. Clone Repository recursively
git clone https://github.com/kakkoii1337/gai-sdk --recursive
  1. Update submodule branches
cd gai-sdk
git submodule foreach -q --recursive 'git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)'
  1. Create conda env
conda create -n gai-sdk python=3.10.10 -y
conda activate gai-sdk
  1. Install Packages
poetry install

Initialise

gai init

Download model

gai pull exllamav2-mistral7b

Start server

gai docker start

If it is successfully started, you will see the following:

INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:12031 (Press CTRL+C to quit)

Test

gai news

demo

Quick Start

Run Quick Start Guide

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gai_sdk-1.0.8.tar.gz (6.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gai_sdk-1.0.8-py3-none-any.whl (66.4 kB view details)

Uploaded Python 3

File details

Details for the file gai_sdk-1.0.8.tar.gz.

File metadata

  • Download URL: gai_sdk-1.0.8.tar.gz
  • Upload date:
  • Size: 6.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for gai_sdk-1.0.8.tar.gz
Algorithm Hash digest
SHA256 1f319b0ddcd28e354093646b5a16654056c21423ea72afb9aac9ec9c62cde4c9
MD5 da344d8304a65da4dcca073267a4a6f3
BLAKE2b-256 3edd24852db3788129cd897c01ae7edc4314fad788ed6a6269acee0089cf3f38

See more details on using hashes here.

File details

Details for the file gai_sdk-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: gai_sdk-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 66.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for gai_sdk-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f7a08699c33a825221f8d9af069ef6c0be363699cd1e97d788d6381f2fae145d
MD5 0b0ab285a7ccee8af818e76f616615ab
BLAKE2b-256 28ac91700c35385885ab0857b2ee788580e6e405f0d497de463b807511168ccf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page