Class RunStepsClient
java.lang.Object
io.github.stefanbratanov.jvm.openai.RunStepsClient
Represents the steps (model and tool calls) taken during the run.
Based on Run Steps
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionlistRunSteps
(String threadId, String runId, PaginationQueryParameters paginationQueryParameters, Optional<List<String>> include) Returns a list of run steps belonging to a run.Retrieves a run step.
-
Method Details
-
listRunSteps
public RunStepsClient.PaginatedThreadRunSteps listRunSteps(String threadId, String runId, PaginationQueryParameters paginationQueryParameters, Optional<List<String>> include) Returns a list of run steps belonging to a run.- Parameters:
include
- A list of additional fields to include in the response.- Throws:
OpenAIException
- in case of API errors
-
retrieveRunStep
public ThreadRunStep retrieveRunStep(String threadId, String runId, String stepId, Optional<List<String>> include) Retrieves a run step.- Parameters:
include
- A list of additional fields to include in the response.- Throws:
OpenAIException
- in case of API errors
-