ollama

package
v0.6.287 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package ollama is for starting AI/ML model workspaces

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdOllama

func NewCmdOllama(t *terminal.Terminal, ollamaStore OllamaStore) *cobra.Command

Types

type OllamaStore

type OllamaStore interface {
	refresh.RefreshStore
	util.GetWorkspaceByNameOrIDErrStore
	GetActiveOrganizationOrDefault() (*entity.Organization, error)
	GetCurrentUser() (*entity.User, error)
	CreateWorkspace(organizationID string, options *store.CreateWorkspacesOptions) (*entity.Workspace, error)
	GetWorkspace(workspaceID string) (*entity.Workspace, error)
	BuildVerbContainer(workspaceID string, verbYaml string) (*store.BuildVerbRes, error)
	ModifyPublicity(workspace *entity.Workspace, applicationName string, publicity bool) (*entity.Tunnel, error)
}

type RunOptions added in v0.6.286

type RunOptions struct {
	Model   string
	GPUType string
}

Jump to

Keyboard shortcuts

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