id stringlengths 14 16 | text stringlengths 36 2.73k | source stringlengths 59 127 |
|---|---|---|
a9aff50e0505-0 | .md
.pdf
Cohere
Contents
Installation and Setup
LLM
Text Embedding Model
Retriever
Cohere#
Cohere is a Canadian startup that provides natural language processing models
that help companies improve human-machine interactions.
Installation and Setup#
Install the Python SDK :
pip install cohere
Get a Cohere api key and ... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/cohere.html |
4cc00f0713c2-0 | .md
.pdf
Discord
Contents
Installation and Setup
Document Loader
Discord#
Discord is a VoIP and instant messaging social platform. Users have the ability to communicate
with voice calls, video calls, text messaging, media and files in private chats or as part of communities called
“servers”. A server is a collection ... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/discord.html |
21f2137afdc6-0 | .md
.pdf
EverNote
Contents
Installation and Setup
Document Loader
EverNote#
EverNote is intended for archiving and creating notes in which photos, audio and saved web content can be embedded. Notes are stored in virtual “notebooks” and can be tagged, annotated, edited, searched, and exported.
Installation and Setup#
... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/evernote.html |
4677bfae40a9-0 | .md
.pdf
LanceDB
Contents
Installation and Setup
Wrappers
VectorStore
LanceDB#
This page covers how to use LanceDB within LangChain.
It is broken into two parts: installation and setup, and then references to specific LanceDB wrappers.
Installation and Setup#
Install the Python SDK with pip install lancedb
Wrappers#
... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/lancedb.html |
797ecdd0ee78-0 | .md
.pdf
Spreedly
Contents
Installation and Setup
Document Loader
Spreedly#
Spreedly is a service that allows you to securely store credit cards and use them to transact against any number of payment gateways and third party APIs. It does this by simultaneously providing a card tokenization/vault service as well as a... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/spreedly.html |
84d4fda2e9a4-0 | .md
.pdf
PromptLayer
Contents
Installation and Setup
LLM
Example
Chat Model
PromptLayer#
PromptLayer
is a devtool that allows you to track, manage, and share your GPT prompt engineering.
It acts as a middleware between your code and OpenAI’s python library, recording all your API requests
and saving relevant metadata... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/promptlayer.html |
84d4fda2e9a4-1 | you can add pl_tags when instantiating to tag your requests on PromptLayer
you can add return_pl_id when instantiating to return a PromptLayer request id to use while tracking requests.
Chat Model#
from langchain.chat_models import PromptLayerChatOpenAI
See a usage example.
previous
Prediction Guard
next
Psychic
Conte... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/promptlayer.html |
420dde89108d-0 | .md
.pdf
AWS S3 Directory
Contents
Installation and Setup
Document Loader
AWS S3 Directory#
Amazon Simple Storage Service (Amazon S3) is an object storage service.
AWS S3 Directory
AWS S3 Buckets
Installation and Setup#
pip install boto3
Document Loader#
See a usage example for S3DirectoryLoader.
See a usage example ... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/aws_s3.html |
8cb7aebcf0a5-0 | .md
.pdf
SerpAPI
Contents
Installation and Setup
Wrappers
Utility
Tool
SerpAPI#
This page covers how to use the SerpAPI search APIs within LangChain.
It is broken into two parts: installation and setup, and then references to the specific SerpAPI wrapper.
Installation and Setup#
Install requirements with pip install ... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/serpapi.html |
64562a6cd661-0 | .md
.pdf
Stripe
Contents
Installation and Setup
Document Loader
Stripe#
Stripe is an Irish-American financial services and software as a service (SaaS) company. It offers payment-processing software and application programming interfaces for e-commerce websites and mobile applications.
Installation and Setup#
See set... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/stripe.html |
19b726cbcbcc-0 | .md
.pdf
Jina
Contents
Installation and Setup
Wrappers
Embeddings
Jina#
This page covers how to use the Jina ecosystem within LangChain.
It is broken into two parts: installation and setup, and then references to specific Jina wrappers.
Installation and Setup#
Install the Python SDK with pip install jina
Get a Jina A... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/jina.html |
ec17345f303b-0 | .md
.pdf
Unstructured
Contents
Installation and Setup
Wrappers
Data Loaders
Unstructured#
The unstructured package from
Unstructured.IO extracts clean text from raw source documents like
PDFs and Word documents.
This page covers how to use the unstructured
ecosystem within LangChain.
Installation and Setup#
If you ar... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/unstructured.html |
ec17345f303b-1 | from langchain.document_loaders import UnstructuredFileLoader
loader = UnstructuredFileLoader("state_of_the_union.txt")
loader.load()
If you instantiate the loader with UnstructuredFileLoader(mode="elements"), the loader
will track additional metadata like the page number and text type (i.e. title, narrative text)
when... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/unstructured.html |
542eabbd03af-0 | .md
.pdf
ClickHouse
Contents
Installation
Configure clickhouse vector index
Wrappers
VectorStore
ClickHouse#
This page covers how to use ClickHouse Vector Search within LangChain.
ClickHouse is a open source real-time OLAP database with full SQL support and a wide range of functions to assist users in writing analyti... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/clickhouse.html |
542eabbd03af-1 | add_documents
from_texts
from_documents
similarity_search
asimilarity_search
similarity_search_by_vector
asimilarity_search_by_vector
similarity_search_with_relevance_scores
VectorStore#
There exists a wrapper around open source Clickhouse database, allowing you to use it as a vectorstore,
whether for semantic search o... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/clickhouse.html |
0c2792f4a62a-0 | .md
.pdf
AtlasDB
Contents
Installation and Setup
Wrappers
VectorStore
AtlasDB#
This page covers how to use Nomic’s Atlas ecosystem within LangChain.
It is broken into two parts: installation and setup, and then references to specific Atlas wrappers.
Installation and Setup#
Install the Python package with pip install ... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/atlas.html |
882ac042007b-0 | .md
.pdf
GitBook
Contents
Installation and Setup
Document Loader
GitBook#
GitBook is a modern documentation platform where teams can document everything from products to internal knowledge bases and APIs.
Installation and Setup#
There isn’t any special setup for it.
Document Loader#
See a usage example.
from langchai... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/gitbook.html |
789e7fe5541d-0 | .md
.pdf
Diffbot
Contents
Installation and Setup
Document Loader
Diffbot#
Diffbot is a service to read web pages. Unlike traditional web scraping tools,
Diffbot doesn’t require any rules to read the content on a page.
It starts with computer vision, which classifies a page into one of 20 possible types. Content is th... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/diffbot.html |
4c69a6e4e93d-0 | .md
.pdf
Argilla
Contents
Installation and Setup
Tracking
Argilla#
Argilla is an open-source data curation platform for LLMs.
Using Argilla, everyone can build robust language models through faster data curation
using both human and machine feedback. We provide support for each step in the MLOps cycle,
from data labe... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/argilla.html |
472f88a8c5c6-0 | .md
.pdf
Llama.cpp
Contents
Installation and Setup
Wrappers
LLM
Embeddings
Llama.cpp#
This page covers how to use llama.cpp within LangChain.
It is broken into two parts: installation and setup, and then references to specific Llama-cpp wrappers.
Installation and Setup#
Install the Python package with pip install lla... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/llamacpp.html |
1ca459231e82-0 | .md
.pdf
Microsoft Word
Contents
Installation and Setup
Document Loader
Microsoft Word#
Microsoft Word is a word processor developed by Microsoft.
Installation and Setup#
There isn’t any special setup for it.
Document Loader#
See a usage example.
from langchain.document_loaders import UnstructuredWordDocumentLoader
p... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/microsoft_word.html |
05add05f7c0a-0 | .md
.pdf
Modern Treasury
Contents
Installation and Setup
Document Loader
Modern Treasury#
Modern Treasury simplifies complex payment operations. It is a unified platform to power products and processes that move money.
Connect to banks and payment systems
Track transactions and balances in real-time
Automate payment ... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/modern_treasury.html |
3faf6fc0c803-0 | .md
.pdf
Obsidian
Contents
Installation and Setup
Document Loader
Obsidian#
Obsidian is a powerful and extensible knowledge base
that works on top of your local folder of plain text files.
Installation and Setup#
All instructions are in examples below.
Document Loader#
See a usage example.
from langchain.document_loa... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/obsidian.html |
4f10e90b5ce3-0 | .ipynb
.pdf
Ray Serve
Contents
Goal of this notebook
Setup Ray Serve
General Skeleton
Example of deploying and OpenAI chain with custom prompts
Ray Serve#
Ray Serve is a scalable model serving library for building online inference APIs. Serve is particularly well suited for system composition, enabling you to build a... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/ray_serve.html |
4f10e90b5ce3-1 | from langchain.llms import OpenAI
from langchain import PromptTemplate, LLMChain
from getpass import getpass
OPENAI_API_KEY = getpass()
@serve.deployment
class DeployLLM:
def __init__(self):
# We initialize the LLM, template and the chain here
llm = OpenAI(openai_api_key=OPENAI_API_KEY)
temp... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/ray_serve.html |
4f10e90b5ce3-2 | Rebuff
Contents
Goal of this notebook
Setup Ray Serve
General Skeleton
Example of deploying and OpenAI chain with custom prompts
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Jun 16, 2023. | rtdocs_stable/api.python.langchain.com/en/stable/integrations/ray_serve.html |
dfaf9dc7331f-0 | .md
.pdf
Tair
Contents
Installation and Setup
Wrappers
VectorStore
Tair#
This page covers how to use the Tair ecosystem within LangChain.
Installation and Setup#
Install Tair Python SDK with pip install tair.
Wrappers#
VectorStore#
There exists a wrapper around TairVector, allowing you to use it as a vectorstore,
whe... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/tair.html |
acdd39449586-0 | .md
.pdf
Modal
Contents
Installation and Setup
Define your Modal Functions and Webhooks
Wrappers
LLM
Modal#
This page covers how to use the Modal ecosystem within LangChain.
It is broken into two parts: installation and setup, and then references to specific Modal wrappers.
Installation and Setup#
Install with pip in... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/modal.html |
acdd39449586-1 | @stub.webhook(method="POST")
def get_text(item: Item):
return {"prompt": run_gpt2.call(item.prompt)}
Wrappers#
LLM#
There exists an Modal LLM wrapper, which you can access with
from langchain.llms import Modal
previous
MLflow
next
Modern Treasury
Contents
Installation and Setup
Define your Modal Functions and W... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/modal.html |
fe042e9c793e-0 | .md
.pdf
PGVector
Contents
Installation
Setup
Wrappers
VectorStore
Usage
PGVector#
This page covers how to use the Postgres PGVector ecosystem within LangChain
It is broken into two parts: installation and setup, and then references to specific PGVector wrappers.
Installation#
Install the Python package with pip inst... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/pgvector.html |
4bd89ef6c29b-0 | .md
.pdf
Amazon Bedrock
Contents
Installation and Setup
LLM
Text Embedding Models
Amazon Bedrock#
Amazon Bedrock is a fully managed service that makes FMs from leading AI startups and Amazon available via an API, so you can choose from a wide range of FMs to find the model that is best suited for your use case.
Insta... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/amazon_bedrock.html |
51a8714a455c-0 | .md
.pdf
Notion DB
Contents
Installation and Setup
Document Loader
Notion DB#
Notion is a collaboration platform with modified Markdown support that integrates kanban
boards, tasks, wikis and databases. It is an all-in-one workspace for notetaking, knowledge and data management,
and project and task management.
Insta... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/notion.html |
40d8ee031b96-0 | .md
.pdf
AZLyrics
Contents
Installation and Setup
Document Loader
AZLyrics#
AZLyrics is a large, legal, every day growing collection of lyrics.
Installation and Setup#
There isn’t any special setup for it.
Document Loader#
See a usage example.
from langchain.document_loaders import AZLyricsLoader
previous
AWS S3 Dire... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/azlyrics.html |
ce8de77b2949-0 | .md
.pdf
Roam
Contents
Installation and Setup
Document Loader
Roam#
ROAM is a note-taking tool for networked thought, designed to create a personal knowledge base.
Installation and Setup#
There isn’t any special setup for it.
Document Loader#
See a usage example.
from langchain.document_loaders import RoamLoader
prev... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/roam.html |
730c282c5497-0 | .md
.pdf
Graphsignal
Contents
Installation and Setup
Tracing and Monitoring
Graphsignal#
This page covers how to use Graphsignal to trace and monitor LangChain. Graphsignal enables full visibility into your application. It provides latency breakdowns by chains and tools, exceptions with full context, data monitoring,... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/graphsignal.html |
2accc1c1f4a7-0 | .md
.pdf
Redis
Contents
Installation and Setup
Wrappers
Cache
Standard Cache
Semantic Cache
VectorStore
Retriever
Memory
Vector Store Retriever Memory
Chat Message History Memory
Redis#
This page covers how to use the Redis ecosystem within LangChain.
It is broken into two parts: installation and setup, and then refe... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/redis.html |
2accc1c1f4a7-1 | To import this vectorstore:
from langchain.vectorstores import Redis
For a more detailed walkthrough of the Redis vectorstore wrapper, see this notebook.
Retriever#
The Redis vector store retriever wrapper generalizes the vectorstore class to perform low-latency document retrieval. To create the retriever, simply call ... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/redis.html |
b721a8f5c06a-0 | .md
.pdf
OpenWeatherMap
Contents
Installation and Setup
Wrappers
Utility
Tool
OpenWeatherMap#
OpenWeatherMap provides all essential weather data for a specific location:
Current weather
Minute forecast for 1 hour
Hourly forecast for 48 hours
Daily forecast for 8 days
National weather alerts
Historical weather data fo... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/openweathermap.html |
80dd081a686c-0 | .md
.pdf
Banana
Contents
Installation and Setup
Define your Banana Template
Build the Banana app
Wrappers
LLM
Banana#
This page covers how to use the Banana ecosystem within LangChain.
It is broken into two parts: installation and setup, and then references to specific Banana wrappers.
Installation and Setup#
Install... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/bananadev.html |
80dd081a686c-1 | )
result = tokenizer.decode(output[0], skip_special_tokens=True)
# Return the results as a dictionary
result = {'output': result}
return result
You can find a full example of a Banana app here.
Wrappers#
LLM#
There exists an Banana LLM wrapper, which you can access with
from langchain.llms import Banana... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/bananadev.html |
df57e9148ff1-0 | .md
.pdf
Google BigQuery
Contents
Installation and Setup
Document Loader
Google BigQuery#
Google BigQuery is a serverless and cost-effective enterprise data warehouse that works across clouds and scales with your data.
BigQuery is a part of the Google Cloud Platform.
Installation and Setup#
First, you need to install... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/google_bigquery.html |
fcf1dad642ac-0 | .md
.pdf
Vespa
Contents
Installation and Setup
Retriever
Vespa#
Vespa is a fully featured search engine and vector database.
It supports vector search (ANN), lexical search, and search in structured data, all in the same query.
Installation and Setup#
pip install pyvespa
Retriever#
See a usage example.
from langchain... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/vespa.html |
8da01f2c28a7-0 | .md
.pdf
Azure OpenAI
Contents
Installation and Setup
LLM
Text Embedding Models
Chat Models
Azure OpenAI#
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... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/azure_openai.html |
024d413e338e-0 | .md
.pdf
Slack
Contents
Installation and Setup
Document Loader
Slack#
Slack is an instant messaging program.
Installation and Setup#
There isn’t any special setup for it.
Document Loader#
See a usage example.
from langchain.document_loaders import SlackDirectoryLoader
previous
scikit-learn
next
spaCy
Contents
Ins... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/slack.html |
cae1390c8c9b-0 | .md
.pdf
Prediction Guard
Contents
Installation and Setup
LLM
Example
Basic usage of the controlled or guarded LLM:
Basic LLM Chaining with the Prediction Guard:
Prediction Guard#
Prediction Guard gives a quick and easy access to state-of-the-art open and closed access LLMs, without needing to spend days and weeks f... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/predictionguard.html |
cae1390c8c9b-1 | # Define a prompt template
template = """Respond to the following query based on the context.
Context: EVERY comment, DM + email suggestion has led us to this EXCITING announcement! 🎉 We have officially added TWO new candle subscription box options! 📦
Exclusive Candle Box - $80
Monthly Candle Box - $45 (NEW!)
Scent ... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/predictionguard.html |
cae1390c8c9b-2 | # Your Prediction Guard API key. Get one at predictionguard.com
os.environ["PREDICTIONGUARD_TOKEN"] = "<your Prediction Guard access token>"
pgllm = PredictionGuard(model="OpenAI-text-davinci-003")
template = """Question: {question}
Answer: Let's think step by step."""
prompt = PromptTemplate(template=template, input_v... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/predictionguard.html |
9a20556a7dfa-0 | .md
.pdf
Google Search
Contents
Installation and Setup
Wrappers
Utility
Tool
Google Search#
This page covers how to use the Google Search API within LangChain.
It is broken into two parts: installation and setup, and then references to the specific Google Search wrapper.
Installation and Setup#
Install requirements w... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/google_search.html |
e069d8008aa3-0 | .md
.pdf
Hacker News
Contents
Installation and Setup
Document Loader
Hacker News#
Hacker News (sometimes abbreviated as HN) is a social news
website focusing on computer science and entrepreneurship. It is run by the investment fund and startup
incubator Y Combinator. In general, content that can be submitted is defi... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/hacker_news.html |
188e49ecc049-0 | .md
.pdf
NLPCloud
Contents
Installation and Setup
Wrappers
LLM
NLPCloud#
This page covers how to use the NLPCloud ecosystem within LangChain.
It is broken into two parts: installation and setup, and then references to specific NLPCloud wrappers.
Installation and Setup#
Install the Python SDK with pip install nlpcloud... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/nlpcloud.html |
1a159fd3deaf-0 | .md
.pdf
Hazy Research
Contents
Installation and Setup
Wrappers
LLM
Hazy Research#
This page covers how to use the Hazy Research ecosystem within LangChain.
It is broken into two parts: installation and setup, and then references to specific Hazy Research wrappers.
Installation and Setup#
To use the manifest, install... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/hazy_research.html |
0cb6bac04ee0-0 | .ipynb
.pdf
Comet
Contents
Install Comet and Dependencies
Initialize Comet and Set your Credentials
Set OpenAI and SerpAPI credentials
Scenario 1: Using just an LLM
Scenario 2: Using an LLM in a Chain
Scenario 3: Using An Agent with Tools
Scenario 4: Using Custom Evaluation Metrics
Comet#
In this guide we will demons... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/comet_tracking.html |
0cb6bac04ee0-1 | llm = OpenAI(temperature=0.9, callbacks=callbacks, verbose=True)
llm_result = llm.generate(["Tell me a joke", "Tell me a poem", "Tell me a fact"] * 3)
print("LLM result", llm_result)
comet_callback.flush_tracker(llm, finish=True)
Scenario 2: Using an LLM in a Chain#
from langchain.callbacks import CometCallbackHandler,... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/comet_tracking.html |
0cb6bac04ee0-2 | project_name="comet-example-langchain",
complexity_metrics=True,
stream_logs=True,
tags=["agent"],
)
callbacks = [StdOutCallbackHandler(), comet_callback]
llm = OpenAI(temperature=0.9, callbacks=callbacks)
tools = load_tools(["serpapi", "llm-math"], llm=llm, callbacks=callbacks)
agent = initialize_agent(
... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/comet_tracking.html |
0cb6bac04ee0-3 | return {
"rougeLsum_score": results["rougeLsum"].fmeasure,
"reference": self.reference,
}
reference = """
The tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey building.
It was the first structure to reach a height of 300 metres.
It is now taller than the Chrysle... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/comet_tracking.html |
0cb6bac04ee0-4 | a title it held for 41 years until the Chrysler Building
in New York City was finished in 1930.
It was the first structure to reach a height of 300 metres.
Due to the addition of a broadcasting aerial at the top of the tower in 1957,
it is now taller t... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/comet_tracking.html |
a5dfc4624676-0 | .md
.pdf
Anyscale
Contents
Installation and Setup
Wrappers
LLM
Anyscale#
This page covers how to use the Anyscale ecosystem within LangChain.
It is broken into two parts: installation and setup, and then references to specific Anyscale wrappers.
Installation and Setup#
Get an Anyscale Service URL, route and API key a... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/anyscale.html |
97ebab10c47d-0 | .md
.pdf
DuckDB
Contents
Installation and Setup
Document Loader
DuckDB#
DuckDB is an in-process SQL OLAP database management system.
Installation and Setup#
First, you need to install duckdb python package.
pip install duckdb
Document Loader#
See a usage example.
from langchain.document_loaders import DuckDBLoader
pr... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/duckdb.html |
4ec3ccd2a65f-0 | .md
.pdf
College Confidential
Contents
Installation and Setup
Document Loader
College Confidential#
College Confidential gives information on 3,800+ colleges and universities.
Installation and Setup#
There isn’t any special setup for it.
Document Loader#
See a usage example.
from langchain.document_loaders import Col... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/college_confidential.html |
3c32fe30e04b-0 | .md
.pdf
GPT4All
Contents
Installation and Setup
Usage
GPT4All
Model File
GPT4All#
This page covers how to use the GPT4All wrapper within LangChain. The tutorial is divided into two parts: installation and setup, followed by usage with an example.
Installation and Setup#
Install the Python package with pip install py... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/gpt4all.html |
3c32fe30e04b-1 | previous
GooseAI
next
Graphsignal
Contents
Installation and Setup
Usage
GPT4All
Model File
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Jun 16, 2023. | rtdocs_stable/api.python.langchain.com/en/stable/integrations/gpt4all.html |
3f4b813c9ec4-0 | .md
.pdf
Blackboard
Contents
Installation and Setup
Document Loader
Blackboard#
Blackboard Learn (previously the Blackboard Learning Management System)
is a web-based virtual learning environment and learning management system developed by Blackboard Inc.
The software features course management, customizable open arc... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/blackboard.html |
a23c862f6cd0-0 | .md
.pdf
Pinecone
Contents
Installation and Setup
Vectorstore
Pinecone#
This page covers how to use the Pinecone ecosystem within LangChain.
It is broken into two parts: installation and setup, and then references to specific Pinecone wrappers.
Installation and Setup#
Install the Python SDK:
pip install pinecone-clie... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/pinecone.html |
bd23485602ea-0 | .md
.pdf
Microsoft PowerPoint
Contents
Installation and Setup
Document Loader
Microsoft PowerPoint#
Microsoft PowerPoint is a presentation program by Microsoft.
Installation and Setup#
There isn’t any special setup for it.
Document Loader#
See a usage example.
from langchain.document_loaders import UnstructuredPowerP... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/microsoft_powerpoint.html |
28b30e19e142-0 | .md
.pdf
Weaviate
Contents
Installation and Setup
Wrappers
VectorStore
Weaviate#
This page covers how to use the Weaviate ecosystem within LangChain.
What is Weaviate?
Weaviate in a nutshell:
Weaviate is an open-source database of the type vector search engine.
Weaviate allows you to store JSON documents in a class... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/weaviate.html |
28b30e19e142-1 | To import this vectorstore:
from langchain.vectorstores import Weaviate
For a more detailed walkthrough of the Weaviate wrapper, see this notebook
previous
Weather
next
WhatsApp
Contents
Installation and Setup
Wrappers
VectorStore
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated ... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/weaviate.html |
f2500f740bb9-0 | .md
.pdf
Zilliz
Contents
Installation and Setup
Vectorstore
Zilliz#
Zilliz Cloud is a fully managed service on cloud for LF AI Milvus®,
Installation and Setup#
Install the Python SDK:
pip install pymilvus
Vectorstore#
A wrapper around Zilliz indexes allows you to use it as a vectorstore,
whether for semantic search o... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/zilliz.html |
9eea08c0d0fa-0 | .md
.pdf
Annoy
Contents
Installation and Setup
Vectorstore
Annoy#
Annoy (Approximate Nearest Neighbors Oh Yeah) is a C++ library with Python bindings to search for points in space that are close to a given query point. It also creates large read-only file-based data structures that are mmapped into memory so that man... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/annoy.html |
50f9e6af9026-0 | .md
.pdf
Yeager.ai
Contents
What is Yeager.ai?
yAgents
How to use?
Creating and Executing Tools with yAgents
Yeager.ai#
This page covers how to use Yeager.ai to generate LangChain tools and agents.
What is Yeager.ai?#
Yeager.ai is an ecosystem designed to simplify the process of creating AI agents and tools.
It featu... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/yeagerai.html |
50f9e6af9026-1 | create a tool that returns the n-th prime number
Load the tool into the toolkit: To load a tool into yAgents, simply provide a command to yAgents that says so. For example:
load the tool that you just created it into your toolkit
Execute the tool: To run a tool or agent, simply provide a command to yAgents that include... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/yeagerai.html |
e9d901fcde54-0 | .md
.pdf
Twitter
Contents
Installation and Setup
Document Loader
Twitter#
Twitter is an online social media and social networking service.
Installation and Setup#
pip install tweepy
We must initialize the loader with the Twitter API token, and we need to set up the Twitter username.
Document Loader#
See a usage examp... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/twitter.html |
08296115a388-0 | .md
.pdf
GooseAI
Contents
Installation and Setup
Wrappers
LLM
GooseAI#
This page covers how to use the GooseAI ecosystem within LangChain.
It is broken into two parts: installation and setup, and then references to specific GooseAI wrappers.
Installation and Setup#
Install the Python SDK with pip install openai
Get y... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/gooseai.html |
15e716abd0f7-0 | .md
.pdf
WhatsApp
Contents
Installation and Setup
Document Loader
WhatsApp#
WhatsApp (also called WhatsApp Messenger) is a freeware, cross-platform, centralized instant messaging (IM) and voice-over-IP (VoIP) service. It allows users to send text and voice messages, make voice and video calls, and share images, docum... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/whatsapp.html |
ba2d618adfb5-0 | .md
.pdf
Qdrant
Contents
Installation and Setup
Wrappers
VectorStore
Qdrant#
This page covers how to use the Qdrant ecosystem within LangChain.
It is broken into two parts: installation and setup, and then references to specific Qdrant wrappers.
Installation and Setup#
Install the Python SDK with pip install qdrant-c... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/qdrant.html |
7457ccc26012-0 | .md
.pdf
C Transformers
Contents
Installation and Setup
Wrappers
LLM
C Transformers#
This page covers how to use the C Transformers library within LangChain.
It is broken into two parts: installation and setup, and then references to specific C Transformers wrappers.
Installation and Setup#
Install the Python package... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/ctransformers.html |
7457ccc26012-1 | previous
Confluence
next
Databerry
Contents
Installation and Setup
Wrappers
LLM
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Jun 16, 2023. | rtdocs_stable/api.python.langchain.com/en/stable/integrations/ctransformers.html |
4f49678e12f6-0 | .md
.pdf
Telegram
Contents
Installation and Setup
Document Loader
Telegram#
Telegram Messenger is a globally accessible freemium, cross-platform, encrypted, cloud-based and centralized instant messaging service. The application also provides optional end-to-end encrypted chats and video calling, VoIP, file sharing an... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/telegram.html |
36d48875dd31-0 | .md
.pdf
AI21 Labs
Contents
Installation and Setup
Wrappers
LLM
AI21 Labs#
This page covers how to use the AI21 ecosystem within LangChain.
It is broken into two parts: installation and setup, and then references to specific AI21 wrappers.
Installation and Setup#
Get an AI21 api key and set it as an environment varia... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/ai21.html |
eed7d61a4380-0 | .md
.pdf
Anthropic
Contents
Installation and Setup
Chat Models
Anthropic#
Anthropic is an American artificial intelligence (AI) startup and
public-benefit corporation, founded by former members of OpenAI. Anthropic specializes in developing general AI
systems and language models, with a company ethos of responsible A... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/anthropic.html |
c0eab9e96c22-0 | .md
.pdf
Google Cloud Storage
Contents
Installation and Setup
Document Loader
Google Cloud Storage#
Google Cloud Storage is a managed service for storing unstructured data.
Installation and Setup#
First, you need to install google-cloud-bigquery python package.
pip install google-cloud-storage
Document Loader#
There ... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/google_cloud_storage.html |
d3c6e768f194-0 | .ipynb
.pdf
Weights & Biases
Weights & Biases#
This notebook goes over how to track your LangChain experiments into one centralized Weights and Biases dashboard. To learn more about prompt engineering and the callback please refer to this Report which explains both alongside the resultant dashboards you can expect to s... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/wandb_tracking.html |
d3c6e768f194-1 | complexity_metrics (bool): Whether to log complexity metrics.
stream_logs (bool): Whether to stream callback actions to W&B
Default values for WandbCallbackHandler(...)
visualize: bool = False,
complexity_metrics: bool = False,
stream_logs: bool = False,
NOTE: For beta workflows we have made the default analysis ba... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/wandb_tracking.html |
d3c6e768f194-2 | Tracking run with wandb version 0.14.0Run data is saved locally in /Users/harrisonchase/workplace/langchain/docs/ecosystem/wandb/run-20230318_150408-e47j1914Syncing run llm to Weights & Biases (docs) View project at https://wandb.ai/harrison-chase/langchain_callback_demo View run at https://wandb.ai/harrison-chase/lang... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/wandb_tracking.html |
d3c6e768f194-3 | wandb_callback.flush_tracker(llm, name="simple_sequential")
Waiting for W&B process to finish... (success). View run llm at: https://wandb.ai/harrison-chase/langchain_callback_demo/runs/e47j1914Synced 5 W&B file(s), 2 media file(s), 5 artifact file(s) and 0 other file(s)Find logs at: ./wandb/run-20230318_150408-e47j191... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/wandb_tracking.html |
d3c6e768f194-4 | ]
synopsis_chain.apply(test_prompts)
wandb_callback.flush_tracker(synopsis_chain, name="agent")
Waiting for W&B process to finish... (success). View run simple_sequential at: https://wandb.ai/harrison-chase/langchain_callback_demo/runs/jyxma7huSynced 4 W&B file(s), 2 media file(s), 6 artifact file(s) and 0 other file(s... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/wandb_tracking.html |
d3c6e768f194-5 | Action: Search
Action Input: "Leo DiCaprio girlfriend"
Observation: DiCaprio had a steady girlfriend in Camila Morrone. He had been with the model turned actress for nearly five years, as they were first said to be dating at the end of 2017. And the now 26-year-old Morrone is no stranger to Hollywood.
Thought: I need t... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/wandb_tracking.html |
07b7768b06c8-0 | .md
.pdf
scikit-learn
Contents
Installation and Setup
Wrappers
VectorStore
scikit-learn#
This page covers how to use the scikit-learn package within LangChain.
It is broken into two parts: installation and setup, and then references to specific scikit-learn wrappers.
Installation and Setup#
Install the Python package... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/sklearn.html |
d694abf941fe-0 | .md
.pdf
Google Drive
Contents
Installation and Setup
Document Loader
Google Drive#
Google Drive is a file storage and synchronization service developed by Google.
Currently, only Google Docs are supported.
Installation and Setup#
First, you need to install several python package.
pip install google-api-python-client... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/google_drive.html |
9f846933d0bb-0 | .md
.pdf
Databricks
Contents
Databricks connector for the SQLDatabase Chain
Databricks-managed MLflow integrates with LangChain
Databricks as an LLM provider
Databricks Dolly
Databricks#
The Databricks Lakehouse Platform unifies data, analytics, and AI on one platform.
Databricks embraces the LangChain ecosystem in v... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/databricks.html |
9f846933d0bb-1 | Databricks-managed MLflow makes it more convenient to develop LangChain applications on Databricks. For MLflow tracking, you don’t need to set the tracking uri. For MLflow Model Serving, you can save LangChain Chains in the MLflow langchain flavor, and then register and serve the Chain with a few clicks on Databricks, ... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/databricks.html |
b0e21dc6e9c1-0 | .md
.pdf
ForefrontAI
Contents
Installation and Setup
Wrappers
LLM
ForefrontAI#
This page covers how to use the ForefrontAI ecosystem within LangChain.
It is broken into two parts: installation and setup, and then references to specific ForefrontAI wrappers.
Installation and Setup#
Get an ForefrontAI api key and set i... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/forefrontai.html |
79697e357e48-0 | .md
.pdf
Aleph Alpha
Contents
Installation and Setup
LLM
Text Embedding Models
Aleph Alpha#
Aleph Alpha was founded in 2019 with the mission to research and build the foundational technology for an era of strong AI. The team of international scientists, engineers, and innovators researches, develops, and deploys tran... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/aleph_alpha.html |
b910dd706e24-0 | .md
.pdf
Trello
Contents
Installation and Setup
Document Loader
Trello#
Trello is a web-based project management and collaboration tool that allows individuals and teams to organize and track their tasks and projects. It provides a visual interface known as a “board” where users can create lists and cards to represen... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/trello.html |
e828cee7c14e-0 | .md
.pdf
MyScale
Contents
Introduction
Installation and Setup
Setting up envrionments
Wrappers
VectorStore
MyScale#
This page covers how to use MyScale vector database within LangChain.
It is broken into two parts: installation and setup, and then references to specific MyScale wrappers.
With MyScale, you can manage ... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/myscale.html |
e828cee7c14e-1 | index = MyScale(embedding_function, config)
index.add_documents(...)
Wrappers#
supported functions:
add_texts
add_documents
from_texts
from_documents
similarity_search
asimilarity_search
similarity_search_by_vector
asimilarity_search_by_vector
similarity_search_with_relevance_scores
VectorStore#
There exists a wrapper ... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/myscale.html |
1c4c26f3ebd3-0 | .md
.pdf
Azure Blob Storage
Contents
Installation and Setup
Document Loader
Azure Blob Storage#
Azure Blob Storage is Microsoft’s object storage solution for the cloud. Blob Storage is optimized for storing massive amounts of unstructured data. Unstructured data is data that doesn’t adhere to a particular data model ... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/azure_blob_storage.html |
305406e307b7-0 | .md
.pdf
Docugami
Contents
Installation and Setup
Document Loader
Docugami#
Docugami converts business documents into a Document XML Knowledge Graph, generating forests
of XML semantic trees representing entire documents. This is a rich representation that includes the semantic and
structural characteristics of vario... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/docugami.html |
4ba23f4dcf39-0 | .md
.pdf
Weather
Contents
Installation and Setup
Document Loader
Weather#
OpenWeatherMap is an open source weather service provider.
Installation and Setup#
pip install pyowm
We must set up the OpenWeatherMap API token.
Document Loader#
See a usage example.
from langchain.document_loaders import WeatherDataLoader
pre... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/weather.html |
dd5f30593094-0 | .md
.pdf
Shale Protocol
Contents
How to
1. Find the link to our Discord on https://shaleprotocol.com. Generate an API key through the “Shale Bot” on our Discord. No credit card is required and no free trials. It’s a forever free tier with 1K limit per day per API key.
2. Use https://shale.live/v1 as OpenAI API drop-i... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/shaleprotocol.html |
dd5f30593094-1 | llm = OpenAI()
template = """Question: {question}
# Answer: Let's think step by step."""
prompt = PromptTemplate(template=template, input_variables=["question"])
llm_chain = LLMChain(prompt=prompt, llm=llm)
question = "What NFL team won the Super Bowl in the year Justin Beiber was born?"
llm_chain.run(question)
previou... | rtdocs_stable/api.python.langchain.com/en/stable/integrations/shaleprotocol.html |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.