Skip to main content

openai.openai.createthread

Home > @runlightyear/openai > OpenAI > createThread

OpenAI.createThread() method

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

Create a thread

Signature:
createThread(props?: CreateThreadProps): Promise<CreateThreadResponse>;

Parameters

ParameterTypeDescription
propsCreateThreadProps(Optional1)
Returns:

Promise<CreateThreadResponse>