mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
docs: integrations
references update (#25322)
Added missed provider pages. Fixed formats and added descriptions and links.
This commit is contained in:
parent
24155aa1ac
commit
35e2230f56
@ -138,6 +138,8 @@
|
||||
"source": [
|
||||
"## Playwright URL Loader\n",
|
||||
"\n",
|
||||
">[Playwright](https://github.com/microsoft/playwright) is an open-source automation tool developed by `Microsoft` that allows you to programmatically control and automate web browsers. It is designed for end-to-end testing, scraping, and automating tasks across various web browsers such as `Chromium`, `Firefox`, and `WebKit`.\n",
|
||||
"\n",
|
||||
"This covers how to load HTML documents from a list of URLs using the `PlaywrightURLLoader`.\n",
|
||||
"\n",
|
||||
"[Playwright](https://playwright.dev/) enables reliable end-to-end testing for modern web apps.\n",
|
||||
@ -224,7 +226,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.10.5"
|
||||
"version": "3.10.12"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
@ -237,6 +237,26 @@ See a [usage example](/docs/integrations/document_loaders/microsoft_onenote).
|
||||
from langchain_community.document_loaders.onenote import OneNoteLoader
|
||||
```
|
||||
|
||||
### Playwright URL Loader
|
||||
|
||||
>[Playwright](https://github.com/microsoft/playwright) is an open-source automation tool
|
||||
> developed by `Microsoft` that allows you to programmatically control and automate
|
||||
> web browsers. It is designed for end-to-end testing, scraping, and automating
|
||||
> tasks across various web browsers such as `Chromium`, `Firefox`, and `WebKit`.
|
||||
|
||||
|
||||
First, let's install dependencies:
|
||||
|
||||
```bash
|
||||
pip install playwright unstructured
|
||||
```
|
||||
|
||||
See a [usage example](/docs/integrations/document_loaders/url/#playwright-url-loader).
|
||||
|
||||
```python
|
||||
from langchain_community.document_loaders.onenote import OneNoteLoader
|
||||
```
|
||||
|
||||
## AI Agent Memory System
|
||||
|
||||
[AI agent](https://learn.microsoft.com/en-us/azure/cosmos-db/ai-agents) needs robust memory systems that support multi-modality, offer strong operational performance, and enable agent memory sharing as well as separation.
|
||||
@ -406,6 +426,24 @@ from langchain_community.agent_toolkits import PowerBIToolkit
|
||||
from langchain_community.utilities.powerbi import PowerBIDataset
|
||||
```
|
||||
|
||||
### PlayWright Browser Toolkit
|
||||
|
||||
>[Playwright](https://github.com/microsoft/playwright) is an open-source automation tool
|
||||
> developed by `Microsoft` that allows you to programmatically control and automate
|
||||
> web browsers. It is designed for end-to-end testing, scraping, and automating
|
||||
> tasks across various web browsers such as `Chromium`, `Firefox`, and `WebKit`.
|
||||
|
||||
We need to install several python packages.
|
||||
|
||||
```bash
|
||||
pip install playwright lxml
|
||||
```
|
||||
|
||||
See a [usage example](/docs/integrations/tools/playwright).
|
||||
|
||||
```python
|
||||
from langchain_community.agent_toolkits import PlayWrightBrowserToolkit
|
||||
```
|
||||
|
||||
## Graphs
|
||||
|
||||
|
31
docs/docs/integrations/providers/ieit_systems.mdx
Normal file
31
docs/docs/integrations/providers/ieit_systems.mdx
Normal file
@ -0,0 +1,31 @@
|
||||
# IEIT Systems
|
||||
|
||||
>[IEIT Systems](https://en.ieisystem.com/) is a Chinese information technology company
|
||||
> established in 1999. It provides the IT infrastructure products, solutions,
|
||||
> and services, innovative IT products and solutions across cloud computing,
|
||||
> big data, and artificial intelligence.
|
||||
|
||||
|
||||
## LLMs
|
||||
|
||||
See a [usage example](/docs/integrations/llms/yuan2).
|
||||
|
||||
```python
|
||||
from langchain_community.llms.yuan2 import Yuan2
|
||||
```
|
||||
|
||||
## Chat models
|
||||
|
||||
See the [installation instructions](/docs/integrations/chat/yuan2/#setting-up-your-api-server).
|
||||
|
||||
Yuan2.0 provided an OpenAI compatible API, and ChatYuan2 is integrated into langchain by using `OpenAI client`.
|
||||
Therefore, ensure the `openai` package is installed.
|
||||
|
||||
```bash
|
||||
pip install openai
|
||||
```
|
||||
See a [usage example](/docs/integrations/chat/yuan2).
|
||||
|
||||
```python
|
||||
from langchain_community.chat_models import ChatYuan2
|
||||
```
|
38
docs/docs/integrations/providers/iflytek.mdx
Normal file
38
docs/docs/integrations/providers/iflytek.mdx
Normal file
@ -0,0 +1,38 @@
|
||||
# iFlytek
|
||||
|
||||
>[iFlytek](https://www.iflytek.com) is a Chinese information technology company
|
||||
> established in 1999. It creates voice recognition software and
|
||||
> voice-based internet/mobile products covering education, communication,
|
||||
> music, intelligent toys industries.
|
||||
|
||||
|
||||
## Installation and Setup
|
||||
|
||||
- Get `SparkLLM` app_id, api_key and api_secret from [iFlyTek SparkLLM API Console](https://console.xfyun.cn/services/bm3) (for more info, see [iFlyTek SparkLLM Intro](https://xinghuo.xfyun.cn/sparkapi)).
|
||||
- Install the Python package (not for the embedding models):
|
||||
|
||||
```bash
|
||||
pip install websocket-client
|
||||
```
|
||||
|
||||
## LLMs
|
||||
|
||||
See a [usage example](/docs/integrations/llms/sparkllm).
|
||||
|
||||
```python
|
||||
from langchain_community.llms import SparkLLM
|
||||
```
|
||||
|
||||
## Chat models
|
||||
|
||||
See a [usage example](/docs/integrations/chat/sparkllm).
|
||||
|
||||
```python
|
||||
from langchain_community.chat_models import ChatSparkLLM
|
||||
```
|
||||
|
||||
## Embedding models
|
||||
|
||||
```python
|
||||
from langchain_community.embeddings import SparkLLMTextEmbeddings
|
||||
```
|
18
docs/docs/integrations/providers/zhipuai.mdx
Normal file
18
docs/docs/integrations/providers/zhipuai.mdx
Normal file
@ -0,0 +1,18 @@
|
||||
# Zhipu AI
|
||||
|
||||
>[Zhipu AI](https://www.zhipuai.cn/en/aboutus), originating from the technological
|
||||
> advancements of `Tsinghua University's Computer Science Department`,
|
||||
> is an artificial intelligence company with the mission of teaching machines
|
||||
> to think like humans. Its world-leading AI team has developed the cutting-edge
|
||||
> large language and multimodal models and built the high-precision billion-scale
|
||||
> knowledge graphs, the combination of which uniquely empowers us to create a powerful
|
||||
> data- and knowledge-driven cognitive engine towards artificial general intelligence.
|
||||
|
||||
|
||||
## Chat models
|
||||
|
||||
See a [usage example](/docs/integrations/chat/zhipuai).
|
||||
|
||||
```python
|
||||
from langchain_community.chat_models import ChatZhipuAI
|
||||
```
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user