Documentation Index
Fetch the complete documentation index at: https://wb-21fd5541-john-wbdocs-2044-rename-serverless-products.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
wrapOpenAI
▸ wrapOpenAI<T>(openai): T
Wraps the OpenAI API to enable function tracing for OpenAI calls.
Type parameters
| Name | Type |
|---|---|
T | extends OpenAIAPI |
Parameters
| Name | Type |
|---|---|
openai | T |
Returns
T
Example