Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
func (*Analyzer) Analyze ¶
func (a *Analyzer) Analyze(metadata *types.FileMetadata) (*types.SemanticAnalysis, error)
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SendMessageWithDocument ¶
type DocumentContent ¶
type DocumentContent struct {
Type string `json:"type"`
Source DocumentSource `json:"source"`
}
type DocumentSource ¶
type ImageContent ¶
type ImageContent struct {
Type string `json:"type"`
Source ImageSource `json:"source"`
}
type ImageSource ¶
type Response ¶
type Response struct {
ID string `json:"id"`
Type string `json:"type"`
Role string `json:"role"`
Content []struct {
Type string `json:"type"`
Text string `json:"text"`
} `json:"content"`
Model string `json:"model"`
Usage struct {
InputTokens int `json:"input_tokens"`
OutputTokens int `json:"output_tokens"`
} `json:"usage"`
}
type TextContent ¶
Click to show internal directories.
Click to hide internal directories.