Documentation
¶
Overview ¶
* ChatCLI - Command Line Interface for LLM interaction * Copyright (c) 2024 Edilson Freitas * License: MIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XAIClient ¶
type XAIClient struct {
// contains filtered or unexported fields
}
func NewXAIClient ¶
func NewXAIClient(apiKey, model string, logger *zap.Logger, maxAttempts int, backoff time.Duration) *XAIClient
NewXAIClient cria uma nova instância de XAIClient.
func (*XAIClient) GetModelName ¶
GetModelName retorna o nome do modelo de linguagem utilizado.
Click to show internal directories.
Click to hide internal directories.