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.3.tar.gz (13.8 MB view details)

Uploaded Source

Built Distribution

gai_sdk-1.0.3-py3-none-any.whl (3.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gai_sdk-1.0.3.tar.gz
  • Upload date:
  • Size: 13.8 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.3.tar.gz
Algorithm Hash digest
SHA256 e01781a0ffd16c6f013c889a432ab37ee1d15c99713fb64274dd6a53267996a4
MD5 4d313b892e8fcd5f362074c64777841f
BLAKE2b-256 931262ccf77ce6fa73f255d3fd8020cc099e70acfc4ebca766fe15d35f1dab72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gai_sdk-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.4 MB
  • 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c5c05549997d147beb847ce4edd0309275a3b9212622f5cb93b15448dd3abec9
MD5 8ed81f2e26996d7b8d86ecb77739e5fb
BLAKE2b-256 dc0ed4e4ca24a6da391a2b878da6a337a34053c578882d3d006745c48aa1bb68

See more details on using hashes here.

Supported by

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