shdrive

command module
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2024 License: MIT Imports: 3 Imported by: 0

README

shdrive

Build Status codecov Go Report Card License Tag

Introduction

shdrive is the server of shai written in Go.

Prerequisites

  • Go >= 1.22.0

Build

version=latest
make build

Usage

shai server

Usage:
  shdrive [flags]

Flags:
  -f, --config-file string   config file (default "$HOME/.shai/shdrive.yml")
  -h, --help                 help for shdrive
  -t, --listen-http string   listen http (default ":65051")
  -r, --listen-rpc string    listen rpc (default ":65050")
  -l, --log-level string     log level (DEBUG|INFO|WARN|ERROR) (default "WRAN")
  -v, --version              version for shdrive

Settings

shdrive parameters can be set in the directory config.

An example of configuration in config.yml:

apiVersion: v1
kind: shdrive
metadata:
  name: shdrive
spec:
  gpt:
    ollama:
      url: http://127.0.0.1:65052
    studio:
      url: https://studio.com

License

Project License can be found here.

Reference

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
rpc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL