Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MaxInputLength is the maximum allowed length for input text (100K characters) // This prevents excessive API costs and potential memory issues MaxInputLength = 100000 )
Variables ¶
This section is empty.
Functions ¶
func ValidateAPIKey ¶
ValidateAPIKey validates the format of an OpenAI API key
func ValidateTextInput ¶
ValidateTextInput validates text input for API calls
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.