Skip to content

0xLazAI/LazAI-API-Starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Demo Project

Installation

To avoid dependency conflicts and keep your environment clean, create and activate a Python virtual environment before installing any packages:

Mac OS:

python3 -m venv venv
source venv/bin/activate

Windows OS:

python -m venv venv
venv/Scripts/activate

Install Alith Mac

python3 -m pip install alith -U

Install Alith Windows

python -m pip install alith -U

Start Inference Server

Before running the inference script, ensure you have an inference server running either:

  1. Locally on your machine, or
  2. In a Trusted Execution Environment (TEE) Cloud

The inference server must be registered with LazAI.

Set Environment Variables

For OpenAI/ChatGPT API:

export PRIVATE_KEY=<your wallet private key>

To run the inference script

python inference.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages