Skip to content

Commit 4212e0c

Browse files
authored
docs: Fix typo (#801)
1 parent 7f0ed23 commit 4212e0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/observability/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ it has an LLM call!
135135

136136
## 5. Trace OpenAI calls
137137

138-
The first thing you might want to trace is all your OpenAI calls. LangSmith makes this easy with the [`wrap_openai`](https://docs.smith.langchain.com/reference/python/wrappers/langsmith.wrappers._openai.wrap_openai_) (Python) or [`wrapOpenAI`](https://docs.smith.langchain.com/reference/js/functions/wrappers_openai.wrapOpenAI) (TypeScript) wrappers.
138+
The first thing you might want to trace is all your OpenAI calls. LangSmith makes this easy with the [`wrap_openai`](https://docs.smith.langchain.com/reference/python/wrappers/langsmith.wrappers._openai.wrap_openai) (Python) or [`wrapOpenAI`](https://docs.smith.langchain.com/reference/js/functions/wrappers_openai.wrapOpenAI) (TypeScript) wrappers.
139139
All you have to do is modify your code to use the wrapped client instead of using the `OpenAI` client directly.
140140

141141
<CodeTabs
@@ -218,7 +218,7 @@ This will produce a trace of just the OpenAI call in LangSmith's default tracing
218218

219219
## 6. Trace entire application
220220

221-
You can also use the [`traceable`] decorator ([Python](https://docs.smith.langchain.com/reference/python/run_helpers/langsmith.run_helpers.traceable) or [TypeScript](https://langsmith-docs-bdk0fivr6-langchain.vercel.app/reference/js/functions/traceable.traceable)) to trace your entire application instead of just the LLM calls.
221+
You can also use the `traceable` decorator ([Python](https://docs.smith.langchain.com/reference/python/run_helpers/langsmith.run_helpers.traceable) or [TypeScript](https://langsmith-docs-bdk0fivr6-langchain.vercel.app/reference/js/functions/traceable.traceable)) to trace your entire application instead of just the LLM calls.
222222

223223
<CodeTabs
224224
groupId="client-language"

0 commit comments

Comments
 (0)