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
Parameter | Type | Description |
---|---|---|
props | CreateThreadProps | (Optional1) |
Promise<CreateThreadResponse>