Skip to content

A repository for the interface types that will be implemented by the LLM APIs that Koda will be a client of

Notifications You must be signed in to change notification settings

enfuse/Koda-API-Contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents

Table of contents generated with markdown-toc

Conda

Manage environment

Create the virtual environment from the environment.yml file

conda env create -f environment.yml

Activate the virtual environment

conda activate ./venv

Update environment.yml file

conda env export --verbose --no-builds --from-history --prefix ./venv > environment.yml

Important:

The export command will set prefix and name as an absolute path from your personal home directory to the ./venv in the root of the project, so you'll need to convert them back to a relative path pointing to the project's root directory (~/path/to/repo/venv -> ./venv).

You can do this on linux with the following sed command:

sed -i 's|prefix: .*|prefix: ./venv|; s|name: .*|name: ./venv|' environment.yml

Manage dependencies

Install a new dependency

conda install <dependency>

Remove a dependency

conda remove <dependency>

Verify the dependencies

conda list

Run the app

python src/app.py

Run the flask api

uvicorn main:app --reload

About

A repository for the interface types that will be implemented by the LLM APIs that Koda will be a client of

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages