Documentation
¶
Index ¶
Constants ¶
View Source
const BASE_MODEL = "gpt-3.5-turbo"
View Source
const CHATGPT_COMPLETIONS_ENDPOINT = "https://api.openai.com/v1/chat/completions"
View Source
const REQUEST_TYPE_POST = "POST"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatGPTAPIRepository ¶
type ChatGPTAPIRepository struct{}
func (ChatGPTAPIRepository) TranslateIntoHumanLanguage ¶
func (api ChatGPTAPIRepository) TranslateIntoHumanLanguage(jsonMessage json.RawMessage, baseRequest Base.BaseRequest) []byte
Click to show internal directories.
Click to hide internal directories.