Supported Types
InternChatSteeredResponse
Union Discrimination
Use theType field to determine which variant is active, then access the corresponding field:
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
createInternChatCompletionResponseResult := operations.CreateCreateInternChatCompletionResponseResultEventStream(*stream.EventStream[components.InternChatStreamingResponse]{/* values here */})
createInternChatCompletionResponseResult := operations.CreateCreateInternChatCompletionResponseResultInternChatSteeredResponse(components.InternChatSteeredResponse{/* values here */})
Type field to determine which variant is active, then access the corresponding field:
switch createInternChatCompletionResponseResult.Type {
case operations.CreateInternChatCompletionResponseResultTypeEventStream:
// createInternChatCompletionResponseResult.EventStream is populated
case operations.CreateInternChatCompletionResponseResultTypeInternChatSteeredResponse:
// createInternChatCompletionResponseResult.InternChatSteeredResponse is populated
}