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
Parameter | Type | Description |
---|---|---|
props | CreateThreadAndRunProps |
Promise<CreateThreadAndRunResponse>