diff --git a/docs/observability/how_to_guides/tracing/upload_files_with_traces.mdx b/docs/observability/how_to_guides/tracing/upload_files_with_traces.mdx index 750d135b..47df26f7 100644 --- a/docs/observability/how_to_guides/tracing/upload_files_with_traces.mdx +++ b/docs/observability/how_to_guides/tracing/upload_files_with_traces.mdx @@ -81,9 +81,8 @@ Each \`Attachment\` requires:\n - \`mime_type\` (str): The MIME type of the file (e.g., \`"image/png"\`). - \`data\` (bytes): The binary content of the file.\n - Simply decorate a function with \`@traceable\` and include your \`Attachment\` instances as arguments.` ), -TypeScriptBlock( -`import { traceable } from "langsmith/traceable";\n + Simply decorate a function with \`@traceable\` and include your \`Attachment\` instances as arguments.`), +TypeScriptBlock(`import { traceable } from "langsmith/traceable";\n const traceableWithAttachments = traceable( ( val: number,