Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

openai-go Activity

Go reimplementation of openai activity.

Setting up

Required versions of tinygo, wit-bindgen-go-cli, wasm-tools can be found in dev-deps.txt. See Go tooling for more information.

Regenerate bindings after modifying wit folder:

./regen.sh

Building

./build.sh

Deplying and running with Obelisk

# in repo root
obelisk server run --config obelisk-local-go-all.toml

Testing

obelisk execution submit --follow stargazers:llm/llm.respond \
    '["Tell me about Rust programming", "{\"model\": \"gpt-3.5-turbo\", \"max_tokens\": 50}"]'