Skip to main content

openai.openai.createthreadandrun

Home > @runlightyear/openai > OpenAI > createThreadAndRun

OpenAI.createThreadAndRun() method

This API is in beta and may contain contain bugs. Can be used in production with caution.

Create a thread and run

Signature:
createThreadAndRun(props: CreateThreadAndRunProps): Promise<CreateThreadAndRunResponse>;

Parameters

ParameterTypeDescription
propsCreateThreadAndRunProps
Returns:

Promise<CreateThreadAndRunResponse>