Discover Packages
github.com/Saisathvik94/codemaxx
internal
models
perplexity
package
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Feb 27, 2026
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type PerplexityProvider struct{}
type Request struct {
Model string `json:"model"`
Messages []message `json:"messages"`
MaxTokens int `json:"max_tokens,omitempty"`
Temperature float64 `json:"temperature,omitempty"`
}
type Response struct {
Choices []struct {
Message struct {
Content string `json:"content"`
} `json:"message"`
} `json:"choices"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.