siliconflow

package
v1.4.4-alpha1202-diff-... Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetawayClient

type GetawayClient struct {
	// contains filtered or unexported fields
}

func (*GetawayClient) BuildHTTPOptions

func (g *GetawayClient) BuildHTTPOptions() ([]poc.PocConfigOption, error)

func (*GetawayClient) Chat

func (g *GetawayClient) Chat(s string, function ...any) (string, error)

func (*GetawayClient) ChatStream

func (g *GetawayClient) ChatStream(s string) (io.Reader, error)

func (*GetawayClient) CheckValid

func (g *GetawayClient) CheckValid() error

func (*GetawayClient) ExtractData

func (g *GetawayClient) ExtractData(msg string, desc string, fields map[string]any) (map[string]any, error)

func (*GetawayClient) GetModelList

func (g *GetawayClient) GetModelList() ([]*aispec.ModelMeta, error)

func (*GetawayClient) LoadOption

func (g *GetawayClient) LoadOption(opt ...aispec.AIConfigOption)

func (*GetawayClient) StructuredStream

func (g *GetawayClient) StructuredStream(s string, function ...any) (chan *aispec.StructuredData, error)

func (*GetawayClient) SupportedStructuredStream

func (g *GetawayClient) SupportedStructuredStream() bool

Jump to

Keyboard shortcuts

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