Skip to content

Preemo-Inc/gradient-sdk-python-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gradient-sdk-python-example

Quick example of how to use Gradient API with Python.

Setup

The code relies on environment variables. They can be injected through dotenv by creating .env file in the current directory:

GRADIENT_ACCESS_TOKEN=...
GRADIENT_WORKSPACE_ID=...

Usage

  1. Clone this repo
  2. Run poetry install
  3. Run any of the following:
    • poetry run blocks
    • poetry run embeddings
    • poetry run fine_tune
    • poetry run guidance
    • poetry run rag

Example

Alt Text

About

Repository presenting how to use Gradient with Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages