Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutocompleteRequest ¶
type AutocompleteResponse ¶
type AutocompleteResponse struct {
ScoreChunks []ScoreChunk `json:"score_chunks"`
CorrectedQuery *string `json:"corrected_query"`
TotalChunkPages int `json:"total_chunk_pages"`
}
type ChunkMetadata ¶
type ChunkMetadata struct {
ID string `json:"id"`
Link string `json:"link"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
ChunkHTML string `json:"chunk_html"`
Metadata DocMetadata `json:"metadata"`
TrackingID *string `json:"tracking_id"`
TimeStamp *string `json:"time_stamp"`
DatasetID string `json:"dataset_id"`
Weight float64 `json:"weight"`
Location *string `json:"location"`
ImageURLs *string `json:"image_urls"`
TagSet string `json:"tag_set"`
NumValue *string `json:"num_value"`
}
type ConfigResponse ¶
type ConfigResponse struct {
Name string `json:"name"`
TrieveDatasetID string `json:"trieveDatasetId"`
TrieveAPIKey string `json:"trieveApiKey"`
Tools []Tools `json:"tools"`
OpenAPIUrls []string `json:"openApiUrls"`
}
func GetMcpConfig ¶
func GetMcpConfig(ctx context.Context) (*ConfigResponse, error)
type DocMetadata ¶
type Mintlify ¶
type Mintlify struct {
// contains filtered or unexported fields
}
func (*Mintlify) Autocomplete ¶
func (m *Mintlify) Autocomplete( ctx context.Context, body AutocompleteRequest, ) (*AutocompleteResponse, error)
type ScoreChunk ¶
type ScoreChunk struct {
Metadata []ChunkMetadata `json:"metadata"`
Highlights *string `json:"highlights"`
Score float64 `json:"score"`
}
Click to show internal directories.
Click to hide internal directories.