venjiang 02356ec87f refactor: ollama provider (#866) 1 月之前
..
serverless 41d04b2924 refactor(cli): enrich code comment in init tmpl (#858) 3 月之前
viper 4caef39589 refactor: cli (#802) 5 月之前
.gitignore 0b532139cf refactor: merge CLI repository (#379) 2 年之前
Makefile 80d299681a feat: improve multi-stream by adding client wait api etc (#474) 1 年之前
README.md 4caef39589 refactor: cli (#802) 5 月之前
Taskfile.yml 8b240085cc feat: cli test prompt (#760) 7 月之前
build.go 292a148505 feat(llm-sfn): log function calling jsonschema when sfn start (#847) 3 月之前
cli.go 4caef39589 refactor: cli (#802) 5 月之前
dev.go 292a148505 feat(llm-sfn): log function calling jsonschema when sfn start (#847) 3 月之前
init.go 4caef39589 refactor: cli (#802) 5 月之前
root.go 4caef39589 refactor: cli (#802) 5 月之前
run.go 292a148505 feat(llm-sfn): log function calling jsonschema when sfn start (#847) 3 月之前
serve.go 02356ec87f refactor: ollama provider (#866) 1 月之前
test.go 273b19a29f refactor: use goroutinue instead of mutex to sync messages (#842) 3 月之前
version.go 6cb2da663d chore: improve comments (#601) 1 年之前

README.md

YoMo CLI

Command-line tools for YoMo

Binary

curl -fsSL https://get.yomo.run | sh

Build from source

Installing Go

You can easily install the latest release globally by running:

go install github.com/yomorun/yomo/cmd/yomo@latest

Or you can install into another directory:

env GOBIN=/bin go install github.com/yomorun/yomo/cmd/yomo@latest

Getting Started

1. YoMo-Zipper

Configure YoMo-Zipper config.yaml

See ../example/config.yaml

Run

yomo serve --config ../example/config.yaml

2. Source

Write a source app

See ../example/9-cli/source/main.go

Run

cd ../example/9-cli/source

go run main.go

3. Stream Function

Write the serverless function

See ../example/9-cli/sfn/app.go

Build

Build the app.go, defaults to sfn.yomo binary file, with -w flag to generate a WebAssembly file.

cd ../example/9-cli/sfn

yomo build

Run

yomo run sfn.yomo