Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update auto_instrumentation.md #25861

Merged
merged 5 commits into from
Dec 9, 2024
Merged
Changes from 1 commit
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
12 changes: 11 additions & 1 deletion content/en/llm_observability/setup/auto_instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,23 @@ The LangChain integration instruments the following methods:

- [LLMs][13]:
- `llm.invoke()`, `llm.ainvoke()`
- `llm.stream()`, `llm.astream()`
- [Chat models][14]
- `chat_model.invoke()`, `chat_model.ainvoke()`
- `chat_model.stream()`, `chat_model.astream()`
- [Chains/LCEL][15]
- `chain.invoke()`, `chain.ainvoke()`
- `chain.batch()`, `chain.abatch()`
- `chain.stream()`, `chain.astream()`
- [Embeddings][17]
- OpenAI : `OpenAIEmbeddings.embed_documents()`, `OpenAIEmbeddings.embed_query()`
- [Tools][21]
- `BaseTool.invoke()`, `BaseTool.ainvoke()`
- [Retrieval][22]
- langchain_community.<vectorstores>, langchain_pinecone, langchain_qdrant, langchain_milvus
- `similarity_search()`, `similarity_search_with_score()`, `similarity_search_by_vector_with_score()`, `similarity_search_with_score_by_vector()`, `similarity_search_by_vector()`
yahya-mouman marked this conversation as resolved.
Show resolved Hide resolved

**Note:** The LangChain integration does not yet support tracing streamed calls.
**Note:** The LangChain integration only supports tracing streamed calls from llm, chat_model and chain.
sabrenner marked this conversation as resolved.
Show resolved Hide resolved

## Amazon Bedrock

Expand Down Expand Up @@ -146,3 +154,5 @@ The Google Gemini integration instruments the following methods:
[18]: /llm_observability/setup/sdk/#tracing-spans
[19]: https://ai.google.dev/gemini-api/docs
[20]: https://ai.google.dev/api/generate-content#method:-models.streamgeneratecontent
[21]: https://python.langchain.com/v0.2/docs/concepts/#tools
[22]: https://python.langchain.com/v0.2/docs/concepts/#retrieval
Loading