Documentation
¶
Index ¶
- type GetawayClient
- func (g *GetawayClient) BuildHTTPOptions() ([]poc.PocConfigOption, error)
- func (g *GetawayClient) Chat(s string, function ...aispec.Function) (string, error)
- func (g *GetawayClient) ChatEx(details []aispec.ChatDetail, function ...aispec.Function) ([]aispec.ChatChoice, error)
- func (g *GetawayClient) ChatStream(s string) (io.Reader, error)
- func (g *GetawayClient) CheckValid() error
- func (g *GetawayClient) ExtractData(data string, desc string, fields map[string]any) (map[string]any, error)
- func (g *GetawayClient) LoadOption(opt ...aispec.AIConfigOption)
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) ChatEx ¶
func (g *GetawayClient) ChatEx(details []aispec.ChatDetail, function ...aispec.Function) ([]aispec.ChatChoice, 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 (*GetawayClient) LoadOption ¶
func (g *GetawayClient) LoadOption(opt ...aispec.AIConfigOption)
Click to show internal directories.
Click to hide internal directories.