Documentation
¶
Overview ¶
Package meta implements the Meta Model API (Muse Spark) transport.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meta ¶
type Meta struct {
// contains filtered or unexported fields
}
Meta is the Meta Model API provider. Both credential kinds talk to api.meta.ai with a bearer key: a subscription login differs only in that its key is minted from an OAuth token and can be re-minted when rejected.
func NewOAuth ¶
NewOAuth creates a Meta provider for a Muse subscription. The key is the one minted at login; remint exchanges a rejected key for a fresh one.
func (*Meta) SupportsDocuments ¶
SupportsDocuments is true: input_file parts carrying a base64 data URL were verified against /v1/responses, and the model read the attached file.
Click to show internal directories.
Click to hide internal directories.