Uses of Class
com.azure.ai.openai.responses.models.CreateResponsesRequest
Packages that use CreateResponsesRequest
Package
Description
Package containing the classes for AzureResponses.
Package containing the data models for AzureResponses.
-
Uses of CreateResponsesRequest in com.azure.ai.openai.responses
Methods in com.azure.ai.openai.responses with parameters of type CreateResponsesRequestModifier and TypeMethodDescriptionResponsesAsyncClient.createResponse(CreateResponsesRequest requestBody) Creates a model response.ResponsesAsyncClient.createResponse(CreateResponsesRequest requestBody, com.azure.core.http.rest.RequestOptions requestOptions) Creates a model response.ResponsesClient.createResponse(CreateResponsesRequest requestBody) Creates a model response.ResponsesClient.createResponse(CreateResponsesRequest requestBody, com.azure.core.http.rest.RequestOptions requestOptions) Creates a model response.ResponsesAsyncClient.createResponseStream(CreateResponsesRequest requestBody) Creates a model response.ResponsesAsyncClient.createResponseStream(CreateResponsesRequest requestBody, com.azure.core.http.rest.RequestOptions requestOptions) Creates a model response.com.azure.core.util.IterableStream<ResponsesStreamEvent> ResponsesClient.createResponseStreaming(CreateResponsesRequest requestBody) Creates a model response.com.azure.core.util.IterableStream<ResponsesStreamEvent> ResponsesClient.createResponseStreaming(CreateResponsesRequest requestBody, com.azure.core.http.rest.RequestOptions requestOptions) Creates a model response. -
Uses of CreateResponsesRequest in com.azure.ai.openai.responses.models
Methods in com.azure.ai.openai.responses.models that return CreateResponsesRequestModifier and TypeMethodDescriptionstatic CreateResponsesRequestCreateResponsesRequest.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CreateResponsesRequest from the JsonReader.CreateResponsesRequest.setInclude(List<CreateResponsesRequestIncludable> include) Set the include property: Specifies additional output data to include in the model response.CreateResponsesRequest.setInstructions(String instructions) Set the instructions property: The instructions property.CreateResponsesRequest.setMaxOutputTokens(Integer maxOutputTokens) Set the maxOutputTokens property: An upper bound for the number of tokens that can be generated for a response, including visible output tokens and [reasoning tokens](/docs/guides/reasoning).CreateResponsesRequest.setMetadata(Map<String, String> metadata) Set the metadata property: Set of 16 key-value pairs that can be attached to an object.CreateResponsesRequest.setParallelToolCalls(Boolean parallelToolCalls) Set the parallelToolCalls property: Specifies whether parallel tool calling should be enabled for this response.CreateResponsesRequest.setPreviousResponseId(String previousResponseId) Set the previousResponseId property: The unique ID of the previous response to the model.CreateResponsesRequest.setReasoning(ResponsesReasoningConfiguration reasoning) Set the reasoning property: The reasoning property.Set the store property: The store property.CreateResponsesRequest.setTemperature(Double temperature) Set the temperature property: What sampling temperature to use, between 0 and 2.CreateResponsesRequest.setText(ResponseTextOptions text) Set the text property: The text property.CreateResponsesRequest.setToolChoice(com.azure.core.util.BinaryData toolChoice) Set the toolChoice property: How the model should select which tool (or tools) to use when generating a response.CreateResponsesRequest.setTools(List<ResponsesTool> tools) Set the tools property: The tools to use to generate a response.Set the topP property: An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.CreateResponsesRequest.setTruncation(ResponseTruncation truncation) Set the truncation property: The truncation strategy to use for the model responseSet the user property: A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.