Documentation
¶
Index ¶
- func ComposeContextText(context *map[string]string, contextTypes []string, logger *zap.Logger) string
- func GenerateJsonSchema(value any) *jsonschema.Definition
- func HideHomeDirPath(runner *interp.Runner, path string) string
- func NewLLMHttpClient(headers map[string]string) *http.Client
- type LLMModelConfig
- type LLMModelType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComposeContextText ¶ added in v0.9.0
func GenerateJsonSchema ¶
func GenerateJsonSchema(value any) *jsonschema.Definition
func HideHomeDirPath ¶ added in v0.9.2
Types ¶
type LLMModelConfig ¶ added in v0.22.2
func GetLLMClient ¶
func GetLLMClient(runner *interp.Runner, modelType LLMModelType) (*openai.Client, LLMModelConfig)
type LLMModelType ¶
type LLMModelType string
const ( FastModel LLMModelType = "FAST" SlowModel LLMModelType = "SLOW" )
Click to show internal directories.
Click to hide internal directories.