Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/observability/how_to_guides/trace_with_langchain.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ prompt = ChatPromptTemplate.from_messages([
("system", "You are a helpful AI."),
("user", "{input}")
])
# The tag "model-tag" and metadata {"model-key": "model-value"} will be attached to the ChatOpenAI run only
# The tag "model-tag" and metadata {"model-key": "model-value"} will be attached to the ChatOpenAI object only
# All invocations of this model will have these tags and metadata
# highlight-next-line
chat_model = ChatOpenAI().with_config({"tags": ["model-tag"], "metadata": {"model-key": "model-value"}})
output_parser = StrOutputParser()\n
Expand Down
Loading