Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTestHandlerFn ¶
func GetTestHandlerFn(t *testing.T, responses []string) http.HandlerFunc
GetTestHandlerFn returns a handler function that can be used to OpenAI API used by the chat API. It takes a list of responses that will be returned in order.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.