Threads
Learn how to use our Thread feature to organize chat logs into cohesive conversation threads.
The Thread feature allows you to group related chat logs together by using a common thread_identifier
. This approach is particularly useful for conversational AI applications, as it organizes chat history into a single thread.
To implement threading in the OpenAI TypeScript SDK, add the thread_identifier
parameter to your request. Note: You’ll need to include // @ts-expect-error
before the thread_identifier
field to handle TypeScript type checking.
We also support adding credentials in other SDKs or languages, please check out our integrations.
View threads on the platform
Go to Threads
There’s a Threads page on the platform where you can view all the threads you’ve created.
Open a Thread in Logs
To view the detailed logs within a thread:
- Click the
Open in Logs
button in the side panel to access the thread’s complete log history.
- Browse through all logs associated with the thread. Select any individual log entry to view its complete details.
Was this page helpful?