docs: integrations reference updates 4 (#25118)

Added missed references; missed provider pages.

---------

Co-authored-by: Chester Curme <chester.curme@gmail.com>
This commit is contained in:
Leonid Ganeline 2024-08-22 15:16:45 -07:00 committed by GitHub
parent 5fb8aa82b9
commit e7abee034e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 96 additions and 3 deletions

View File

@ -7,6 +7,7 @@ keywords: [azure]
All functionality related to `Microsoft Azure` and other `Microsoft` products.
## Chat Models
### Azure OpenAI
>[Microsoft Azure](https://en.wikipedia.org/wiki/Microsoft_Azure), often referred to as `Azure` is a cloud computing platform run by `Microsoft`, which offers access, management, and development of applications and services through global data centers. It provides a range of capabilities, including software as a service (SaaS), platform as a service (PaaS), and infrastructure as a service (IaaS). `Microsoft Azure` supports many programming languages, tools, and frameworks, including Microsoft-specific and third-party software and systems.
@ -33,6 +34,12 @@ See a [usage example](/docs/integrations/chat/azure_chat_openai)
from langchain_openai import AzureChatOpenAI
```
### Azure ML Chat Online Endpoint
See the documentation [here](/docs/integrations/chat/azureml_chat_endpoint) for accessing chat
models hosted with [Azure Machine Learning](https://azure.microsoft.com/en-us/products/machine-learning/).
## LLMs
### Azure ML
@ -337,7 +344,19 @@ See a [usage example](/docs/integrations/memory/postgres_chat_message_history/).
Since Azure Database for PostgreSQL is open-source Postgres, you can use the [LangChain's Postgres support](/docs/integrations/vectorstores/pgvector/) to connect to Azure Database for PostgreSQL.
### Azure AI Search
[Azure AI Search](https://learn.microsoft.com/azure/search/search-what-is-azure-search) is a cloud search service
that gives developers infrastructure, APIs, and tools for information retrieval of vector, keyword, and hybrid
queries at scale. See [here](/docs/integrations/vectorstores/azuresearch) for usage examples.
```python
from langchain_community.vectorstores.azuresearch import AzureSearch
```
## Retrievers
### Azure AI Search
>[Azure AI Search](https://learn.microsoft.com/en-us/azure/search/search-what-is-azure-search) (formerly known as `Azure Search` or `Azure Cognitive Search` ) is a cloud search service that gives developers infrastructure, APIs, and tools for building a rich search experience over private, heterogeneous content in web, mobile, and enterprise applications.
@ -354,7 +373,7 @@ See [set up instructions](https://learn.microsoft.com/en-us/azure/search/search-
See a [usage example](/docs/integrations/retrievers/azure_ai_search).
```python
from langchain.retrievers import AzureAISearchRetriever
from langchain_community.retrievers import AzureAISearchRetriever
```
## Vector Store
@ -417,6 +436,15 @@ See a [usage example](/docs/integrations/tools/azure_ai_services).
from langchain_community.agent_toolkits import azure_ai_services
```
The `azure_ai_services` toolkit includes the following tools:
- Image Analysis: [AzureAiServicesImageAnalysisTool](https://python.langchain.com/v0.2/api_reference/community/tools/langchain_community.tools.azure_ai_services.image_analysis.AzureAiServicesImageAnalysisTool.html)
- Document Intelligence: [AzureAiServicesDocumentIntelligenceTool](https://python.langchain.com/v0.2/api_reference/community/tools/langchain_community.tools.azure_ai_services.document_intelligence.AzureAiServicesDocumentIntelligenceTool.html)
- Speech to Text: [AzureAiServicesSpeechToTextTool](https://python.langchain.com/v0.2/api_reference/community/tools/langchain_community.tools.azure_ai_services.speech_to_text.AzureAiServicesSpeechToTextTool.html)
- Text to Speech: [AzureAiServicesTextToSpeechTool](https://python.langchain.com/v0.2/api_reference/community/tools/langchain_community.tools.azure_ai_services.text_to_speech.AzureAiServicesTextToSpeechTool.html)
- Text Analytics for Health: [AzureAiServicesTextAnalyticsForHealthTool](https://python.langchain.com/v0.2/api_reference/community/tools/langchain_community.tools.azure_ai_services.text_analytics_for_health.AzureAiServicesTextAnalyticsForHealthTool.html)
### Microsoft Office 365 email and calendar
We need to install `O365` python package.
@ -480,8 +508,6 @@ from langchain_community.tools.playwright import NavigateTool
from langchain_community.tools.playwright import NavigateBackTool
```
```python
## Graphs
### Azure Cosmos DB for Apache Gremlin

View File

@ -0,0 +1,24 @@
# Arize
[Arize](https://arize.com) is an AI observability and LLM evaluation platform that offers
support for LangChain applications, providing detailed traces of input, embeddings, retrieval,
functions, and output messages.
## Installation and Setup
First, you need to install `arize` python package.
```bash
pip install arize
```
Second, you need to set up your [Arize account](https://app.arize.com/auth/join)
and get your `API_KEY` or `SPACE_KEY`.
## Callback handler
```python
from langchain_community.callbacks import ArizeCallbackHandler
```

View File

@ -0,0 +1,33 @@
# AskNews
[AskNews](https://asknews.app/) enhances language models with up-to-date global or historical news
by processing and indexing over 300,000 articles daily, providing prompt-optimized responses
through a low-latency endpoint, and ensuring transparency and diversity in its news coverage.
## Installation and Setup
First, you need to install `asknews` python package.
```bash
pip install asknews
```
You also need to set our AskNews API credentials, which can be generated at
the [AskNews console](https://my.asknews.app/).
## Retriever
See a [usage example](/docs/integrations/retrievers/asknews).
```python
from langchain_community.retrievers import AskNewsRetriever
```
## Tool
See a [usage example](/docs/integrations/tools/asknews).
```python
from langchain_community.tools.asknews import AskNewsSearch
```

View File

@ -30,3 +30,13 @@ See a [usage example](/docs/integrations/document_loaders/assemblyai).
```python
from langchain_community.document_loaders import AssemblyAIAudioTranscriptLoader
```
### AssemblyAI Audio Loader By Id
The `AssemblyAIAudioLoaderById` uses the AssemblyAI API to get an existing
transcription and loads the transcribed text into one or more Documents,
depending on the specified format.
```python
from langchain_community.document_loaders import AssemblyAIAudioLoaderById
```