id stringlengths 14 16 | text stringlengths 20 3.26k | source stringlengths 65 181 |
|---|---|---|
5ac1b6cc5af2-33 | document_loaders.parsers.grobid.ServerUnavailableException
Exception raised when the Grobid server is unavailable.
document_loaders.parsers.html.bs4.BS4HTMLParser(*)
Parse HTML files using Beautiful Soup.
document_loaders.parsers.language.c.CSegmenter(code)
Code segmenter for C.
document_loaders.parsers.language.cobol.... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-34 | document_loaders.parsers.language.scala.ScalaSegmenter(code)
Code segmenter for Scala.
document_loaders.parsers.language.tree_sitter_segmenter.TreeSitterSegmenter(code)
Abstract class for `CodeSegmenter`s that use the tree-sitter library.
document_loaders.parsers.language.typescript.TypeScriptSegmenter(code)
Code segme... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-35 | document_loaders.pdf.OnlinePDFLoader(...[, ...])
Load online PDF.
document_loaders.pdf.PDFMinerLoader(file_path, *)
Load PDF files using PDFMiner.
document_loaders.pdf.PDFMinerPDFasHTMLLoader(...)
Load PDF files as HTML content using PDFMiner.
document_loaders.pdf.PDFPlumberLoader(file_path)
Load PDF files using pdfplu... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-36 | Load Python files, respecting any non-default encoding if specified.
document_loaders.quip.QuipLoader(api_url, ...)
Load Quip pages.
document_loaders.readthedocs.ReadTheDocsLoader(path)
Load ReadTheDocs documentation directory.
document_loaders.recursive_url_loader.RecursiveUrlLoader(url)
Load all child links from a UR... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-37 | document_loaders.snowflake_loader.SnowflakeLoader(...)
Load from Snowflake API.
document_loaders.spider.SpiderLoader(url, *)
Load web pages as Documents using Spider AI.
document_loaders.spreedly.SpreedlyLoader(...)
Load from Spreedly API.
document_loaders.sql_database.SQLDatabaseLoader(...)
Load documents by querying ... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-38 | document_loaders.twitter.TwitterTweetLoader(...)
Load Twitter tweets.
document_loaders.unstructured.UnstructuredAPIFileIOLoader(file)
Load files using Unstructured API.
document_loaders.unstructured.UnstructuredAPIFileLoader([...])
Load files using Unstructured API.
document_loaders.unstructured.UnstructuredBaseLoader(... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-39 | document_loaders.xml.UnstructuredXMLLoader(...)
Load XML file using Unstructured.
document_loaders.xorbits.XorbitsLoader(...)
Load Xorbits DataFrame.
document_loaders.youtube.GoogleApiClient([...])
Generic Google API Client.
document_loaders.youtube.GoogleApiYoutubeLoader(...)
Load all Videos from a YouTube Channel.
do... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-40 | Retrieve a list of elements from the Unstructured API.
document_loaders.unstructured.satisfies_min_unstructured_version(...)
Check if the installed Unstructured version exceeds the minimum version for the feature in question.
document_loaders.unstructured.validate_unstructured_version(...)
Raise an error if the Unstruc... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-41 | document_transformers.long_context_reorder.LongContextReorder
Reorder long context.
document_transformers.markdownify.MarkdownifyTransformer([...])
Converts HTML documents to Markdown format with customizable options for handling links, images, other tags and heading styles using the markdownify library.
document_trans... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-42 | Baichuan Text Embedding models.
embeddings.baidu_qianfan_endpoint.QianfanEmbeddingsEndpoint
Baidu Qianfan Embeddings embedding models.
embeddings.bedrock.BedrockEmbeddings
Bedrock embedding models.
embeddings.bookend.BookendEmbeddings
Bookend AI sentence_transformers embedding models.
embeddings.clarifai.ClarifaiEmbedd... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-43 | embeddings.google_palm.GooglePalmEmbeddings
Google's PaLM Embeddings APIs.
embeddings.gpt4all.GPT4AllEmbeddings
GPT4All embedding models.
embeddings.gradient_ai.GradientEmbeddings
Gradient.ai Embedding models.
embeddings.gradient_ai.TinyAsyncGradientEmbeddingClient(...)
Deprecated, TinyAsyncGradientEmbeddingClient was ... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-44 | JohnSnowLabs embedding models
embeddings.laser.LaserEmbeddings
LASER Language-Agnostic SEntence Representations.
embeddings.llamacpp.LlamaCppEmbeddings
llama.cpp embedding models.
embeddings.llamafile.LlamafileEmbeddings
Llamafile lets you distribute and run large language models with a single file.
embeddings.llm_rail... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-45 | OpenVNO BGE embedding models.
embeddings.openvino.OpenVINOEmbeddings
OpenVINO embedding models.
embeddings.optimum_intel.QuantizedBiEncoderEmbeddings
Quantized bi-encoders embedding models.
embeddings.oracleai.OracleEmbeddings
Get Embeddings
embeddings.premai.PremAIEmbeddings
Prem's Embedding APIs
embeddings.sagemaker_... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-46 | embeddings.titan_takeoff.MissingConsumerGroup
Exception raised when no consumer group is provided on initialization of TitanTakeoffEmbed or in embed request.
embeddings.titan_takeoff.ReaderConfig
Configuration for the reader to be deployed in Takeoff.
embeddings.titan_takeoff.TakeoffEmbeddingException
Custom exception ... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-47 | embeddings.openai.embed_with_retry(...)
Use tenacity to retry the embedding call.
embeddings.premai.create_prem_retry_decorator(...)
Create a retry decorator for PremAIEmbeddings.
embeddings.premai.embed_with_retry(embedder, ...)
Using tenacity for retry in embedding calls
embeddings.self_hosted_hugging_face.load_embed... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-48 | graphs.graph_document.GraphDocument
Represents a graph document consisting of nodes and relationships.
graphs.graph_document.Node
Represents a node in a graph with associated properties.
graphs.graph_document.Relationship
Represents a directed relationship between two nodes in a graph.
graphs.graph_store.GraphStore()
A... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-49 | graphs.ontotext_graphdb_graph.OntotextGraphDBGraph(...)
Ontotext GraphDB https://graphdb.ontotext.com/ wrapper for graph operations.
graphs.rdf_graph.RdfGraph([source_file, ...])
RDFlib wrapper for graph operations.
graphs.tigergraph_graph.TigerGraph(conn)
TigerGraph wrapper for graph operations.
Functions¶
graphs.aran... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-50 | CallbackManager, AsyncCallbackManager,
AIMessage, BaseMessage
Classes¶
llms.ai21.AI21
AI21 large language models.
llms.ai21.AI21PenaltyData
Parameters for AI21 penalty data.
llms.aleph_alpha.AlephAlpha
Aleph Alpha large language models.
llms.amazon_api_gateway.AmazonAPIGateway
Amazon API Gateway to access LLM models ho... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-51 | llms.azureml_endpoint.GPT2ContentFormatter()
Content handler for GPT2
llms.azureml_endpoint.HFContentFormatter()
Content handler for LLMs from the HuggingFace catalog.
llms.azureml_endpoint.LlamaContentFormatter()
Deprecated: Kept for backwards compatibility
llms.azureml_endpoint.OSSContentFormatter()
Deprecated: Kept ... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-52 | [Deprecated] Base class for Cohere models.
llms.cohere.Cohere
[Deprecated] Cohere large language models.
llms.ctransformers.CTransformers
C Transformers LLM models.
llms.ctranslate2.CTranslate2
CTranslate2 language model.
llms.databricks.Databricks
Databricks serving endpoint or a cluster driver proxy app for LLM.
llms... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-53 | [Deprecated] HuggingFace Endpoint.
llms.huggingface_hub.HuggingFaceHub
[Deprecated] HuggingFaceHub models.
llms.huggingface_pipeline.HuggingFacePipeline
[Deprecated] HuggingFace Pipeline API.
llms.huggingface_text_gen_inference.HuggingFaceTextGenInference
[Deprecated] HuggingFace text generation API.
llms.human.HumanI... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-54 | Modal large language models.
llms.moonshot.Moonshot
Moonshot large language models.
llms.moonshot.MoonshotCommon
Common parameters for Moonshot LLMs.
llms.mosaicml.MosaicML
MosaicML LLM service.
llms.nlpcloud.NLPCloud
NLPCloud large language models.
llms.oci_data_science_model_deployment_endpoint.OCIModelDeploymentLLM
... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-55 | llms.openai.OpenAIChat
[Deprecated] OpenAI Chat large language models.
llms.openllm.IdentifyingParams
Parameters for identifying a model as a typed dict.
llms.openllm.OpenLLM
OpenLLM, supporting both in-process model instance and remote OpenLLM servers.
llms.openlm.OpenLM
OpenLM models.
llms.pai_eas_endpoint.PaiEasEndp... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-56 | llms.sambanova.SambaStudio
SambaStudio large language models.
llms.sambanova.Sambaverse
Sambaverse large language models.
llms.self_hosted.SelfHostedPipeline
Model inference on self-hosted remote hardware.
llms.self_hosted_hugging_face.SelfHostedHuggingFaceLLM
HuggingFace Pipeline API to run on self-hosted remote hardw... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-57 | Base class for VolcEngineMaas models.
llms.volcengine_maas.VolcEngineMaasLLM
volc engine maas hosts a plethora of models.
llms.watsonxllm.WatsonxLLM
[Deprecated] IBM watsonx.ai large language models.
llms.weight_only_quantization.WeightOnlyQuantPipeline
Weight only quantized model.
llms.writer.Writer
Writer large langu... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-58 | llms.fireworks.acompletion_with_retry_batching(...)
Use tenacity to retry the completion call.
llms.fireworks.acompletion_with_retry_streaming(...)
Use tenacity to retry the completion call for streaming.
llms.fireworks.completion_with_retry(llm, ...)
Use tenacity to retry the completion call.
llms.fireworks.completion... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-59 | Async version of stream_generate_with_retry.
llms.tongyi.check_response(resp)
Check the response from the completion call.
llms.tongyi.generate_with_last_element_mark(...)
Generate elements from an iterable, and a boolean indicating if it is the last element.
llms.tongyi.generate_with_retry(llm, **kwargs)
Use tenacity ... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-60 | OutputParser classes parse the output of an LLM call.
Class hierarchy:
BaseLLMOutputParser --> BaseOutputParser --> <name>OutputParser # GuardrailsOutputParser
Main helpers:
Serializable, Generation, PromptValue
Classes¶
output_parsers.ernie_functions.JsonKeyOutputFunctionsParser
Parse an output as the element of the ... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-61 | query_constructors.milvus.MilvusTranslator()
Translate Milvus internal query language elements to valid filters.
query_constructors.mongodb_atlas.MongoDBAtlasTranslator()
Translate Mongo internal query language elements to valid filters.
query_constructors.myscale.MyScaleTranslator([...])
Translate MyScale internal que... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-62 | query_constructors.vectara.process_value(value)
Convert a value to a string and add single quotes if it is a string.
langchain_community.retrievers¶
Retriever class returns Documents given a text query.
It is more general than a vector store. A retriever does not need to be able to
store documents, only to return (or r... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-63 | retrievers.chaindesk.ChaindeskRetriever
Chaindesk API retriever.
retrievers.chatgpt_plugin_retriever.ChatGPTPluginRetriever
ChatGPT plugin retriever.
retrievers.cohere_rag_retriever.CohereRagRetriever
[Deprecated] Cohere Chat API with RAG.
retrievers.databerry.DataberryRetriever
Databerry API retriever.
retrievers.doca... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-64 | Amazon Kendra Index retriever.
retrievers.kendra.DocumentAttribute
Document attribute.
retrievers.kendra.DocumentAttributeValue
Value of a document attribute.
retrievers.kendra.Highlight
Information that highlights the keywords in the excerpt.
retrievers.kendra.QueryResult
Amazon Kendra Query API search result.
retriev... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-65 | LangChain API retriever.
retrievers.svm.SVMRetriever
SVM retriever.
retrievers.tavily_search_api.SearchDepth(value)
Search depth as enumerator.
retrievers.tavily_search_api.TavilySearchAPIRetriever
Tavily Search API retriever.
retrievers.tfidf.TFIDFRetriever
TF-IDF retriever.
retrievers.thirdai_neuraldb.NeuralDBRetriev... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-66 | retrievers.kendra.clean_excerpt(excerpt)
Clean an excerpt from Kendra.
retrievers.kendra.combined_text(item)
Combine a ResultItem title and excerpt into a single string.
retrievers.knn.create_index(contexts, embeddings)
Create an index of embeddings for a list of contexts.
retrievers.milvus.MilvusRetreiver(*args, ...)
... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-67 | BaseStore implementation using Redis as the underlying store.
storage.sql.LangchainKeyValueStores(**kwargs)
Table used to save values.
storage.sql.SQLStore(*, namespace[, db_url, ...])
BaseStore interface that works on an SQL database.
storage.upstash_redis.UpstashRedisByteStore(*)
BaseStore implementation using Upstas... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-68 | tools.ainetwork.transfer.AINTransfer
Tool for transfer operations.
tools.ainetwork.transfer.TransferSchema
Schema for transfer operations.
tools.ainetwork.value.AINValueOps
Tool for value operations.
tools.ainetwork.value.ValueSchema
Schema for value operations.
tools.amadeus.base.AmadeusBaseTool
Base Tool for Amadeus.... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-69 | Tool that queries the Azure AI Services Text Analytics for Health API.
tools.azure_ai_services.text_to_speech.AzureAiServicesTextToSpeechTool
Tool that queries the Azure AI Services Text to Speech API.
tools.azure_cognitive_services.form_recognizer.AzureCogsFormRecognizerTool
Tool that queries the Azure Cognitive Servi... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-70 | tools.cassandra_database.tool.QueryCassandraDatabaseTool
Tool for querying an Apache Cassandra database with provided CQL.
tools.clickup.tool.ClickupAction
Tool that queries the Clickup API.
tools.cogniswitch.tool.CogniswitchKnowledgeRequest
Tool that uses the Cogniswitch service to answer questions.
tools.cogniswitch... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-71 | tools.ddg_search.tool.DuckDuckGoSearchResults
Tool that queries the DuckDuckGo search API and gets back json.
tools.ddg_search.tool.DuckDuckGoSearchRun
Tool that queries the DuckDuckGo search API.
tools.e2b_data_analysis.tool.E2BDataAnalysisTool
Tool for running python code in a sandboxed environment for data analysis.... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-72 | tools.eleven_labs.models.ElevenLabsModel(value)
Models available for Eleven Labs Text2Speech.
tools.eleven_labs.text2speech.ElevenLabsModel(value)
Models available for Eleven Labs Text2Speech.
tools.eleven_labs.text2speech.ElevenLabsText2SpeechTool
Tool that queries the Eleven Labs Text2Speech API.
tools.file_managemen... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-73 | tools.gmail.base.GmailBaseTool
Base class for Gmail tools.
tools.gmail.create_draft.CreateDraftSchema
Input for CreateDraftTool.
tools.gmail.create_draft.GmailCreateDraft
Tool that creates a draft email for Gmail.
tools.gmail.get_message.GmailGetMessage
Tool that gets a message by ID from Gmail.
tools.gmail.get_message... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-74 | tools.google_search.tool.GoogleSearchRun
[Deprecated] Tool that queries the Google search API.
tools.google_serper.tool.GoogleSerperResults
Tool that queries the Serper.dev Google Search API and get back json.
tools.google_serper.tool.GoogleSerperRun
Tool that queries the Serper.dev Google search API.
tools.google_tren... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-75 | tools.multion.create_session.CreateSessionSchema
Input for CreateSessionTool.
tools.multion.create_session.MultionCreateSession
Tool that creates a new Multion Browser Window with provided fields.
tools.multion.update_session.MultionUpdateSession
Tool that updates an existing Multion Browser Window with provided fields... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-76 | A model for a single API operation.
tools.openapi.utils.api_models.APIProperty
A model for a property in the query, path, header, or cookie params.
tools.openapi.utils.api_models.APIPropertyBase
Base model for an API property.
tools.openapi.utils.api_models.APIPropertyLocation(value)
The location of the property.
tools... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-77 | Navigate back to the previous page in the browser history.
tools.plugin.AIPlugin
AI Plugin Definition.
tools.plugin.AIPluginTool
Tool for getting the OpenAPI spec for an AI Plugin.
tools.plugin.AIPluginToolSchema
Schema for AIPluginTool.
tools.plugin.ApiConfig
API Configuration.
tools.polygon.aggregates.PolygonAggregat... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-78 | tools.requests.tool.RequestsGetTool
Tool for making a GET request to an API endpoint.
tools.requests.tool.RequestsPatchTool
Tool for making a PATCH request to an API endpoint.
tools.requests.tool.RequestsPostTool
Tool for making a POST request to an API endpoint.
tools.requests.tool.RequestsPutTool
Tool for making a PU... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-79 | Tool for scheduling a message in Slack.
tools.slack.send_message.SendMessageSchema
Input for SendMessageTool.
tools.slack.send_message.SlackSendMessage
Tool for sending a message in Slack.
tools.sleep.tool.SleepInput
Input for CopyFileTool.
tools.sleep.tool.SleepTool
Tool that adds the capability to sleep.
tools.spark_... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-80 | tools.tavily_search.tool.TavilySearchResults
Tool that queries the Tavily Search API and gets back json.
tools.vectorstore.tool.BaseVectorStoreTool
Base class for tools that use a VectorStore.
tools.vectorstore.tool.VectorStoreQATool
Tool for the VectorDBQA chain.
tools.vectorstore.tool.VectorStoreQAWithSourcesTool
Too... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-81 | tools.azure_ai_services.utils.download_audio_from_url(...)
Download audio from url to local.
tools.azure_cognitive_services.utils.detect_file_src_type(...)
Detect if the file is local or remote.
tools.azure_cognitive_services.utils.download_audio_from_url(...)
Download audio from url to local.
tools.bearly.tool.file_to... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-82 | Authenticate using the Microsoft Graph API
tools.office365.utils.clean_body(body)
Clean body of a message or event.
tools.playwright.base.lazy_import_playwright_browsers()
Lazy import playwright browsers.
tools.playwright.utils.aget_current_page(browser)
Asynchronously get the current page of the browser.
tools.playwri... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-83 | Filter types available for a DALM retrieval as enumerator.
utilities.arxiv.ArxivAPIWrapper
Wrapper around ArxivAPI.
utilities.asknews.AskNewsAPIWrapper
Wrapper for AskNews API.
utilities.astradb.SetupMode(value)
Setup mode for AstraDBEnvironment as enumerator.
utilities.awslambda.LambdaWrapper
Wrapper for AWS Lambda SD... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-84 | utilities.dataherald.DataheraldAPIWrapper
Wrapper for Dataherald.
utilities.dria_index.DriaAPIWrapper(api_key)
Wrapper around Dria API.
utilities.duckduckgo_search.DuckDuckGoSearchAPIWrapper
Wrapper for DuckDuckGo Search API.
utilities.github.GitHubAPIWrapper
Wrapper for GitHub API.
utilities.gitlab.GitLabAPIWrapper
Wr... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-85 | utilities.mojeek_search.MojeekSearchAPIWrapper
Create a new model by parsing and validating input data from keyword arguments.
utilities.nasa.NasaAPIWrapper
Wrapper for NASA API.
utilities.nvidia_riva.ASRInputType
alias of AudioStream
utilities.nvidia_riva.AudioStream([maxsize])
A message containing streaming audio.
ut... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-86 | utilities.passio_nutrition_ai.ManagedPassioLifeAuth(...)
Manage the token for the NutritionAI API.
utilities.passio_nutrition_ai.NoDiskStorage()
Mixin to prevent storing on disk.
utilities.passio_nutrition_ai.NutritionAIAPI
Wrapper for the Passio Nutrition AI API.
utilities.pebblo.App
Pebblo AI application.
utilities.p... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-87 | Dict like wrapper around search api results.
utilities.searx_search.SearxSearchWrapper
Wrapper for Searx API.
utilities.semanticscholar.SemanticScholarAPIWrapper
Wrapper around semanticscholar.org API.
utilities.serpapi.HiddenPrints()
Context manager to hide prints.
utilities.serpapi.SerpAPIWrapper
Wrapper around SerpA... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-88 | utilities.anthropic.get_token_ids_anthropic(text)
Get the token ids for a string of text.
utilities.cassandra.aexecute_cql(session, ...)
utilities.cassandra.wrapped_response_future(...)
Wrap a Cassandra response future in an asyncio future.
utilities.clickup.extract_dict_elements_from_component_fields(...)
Extract elem... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-89 | utilities.pebblo.get_loader_type(loader)
Return loader type among, file, dir or in-memory.
utilities.pebblo.get_runtime()
Fetch the current Framework and Runtime details.
utilities.powerbi.fix_table_name(table)
Add single quotes around table names that contain spaces.
utilities.powerbi.json_to_md(json_contents)
Convert... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-90 | utils.google.get_client_info([module])
Return a custom user agent header.
utils.math.cosine_similarity(X, Y)
Row-wise cosine similarity between two equal-width matrices.
utils.math.cosine_similarity_top_k(X, Y[, ...])
Row-wise cosine similarity with optional top-k and score threshold filtering.
utils.openai.is_openai_v... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-91 | vectorstores.apache_doris.ApacheDorisSettings
Apache Doris client configuration.
vectorstores.astradb.AstraDB(*, embedding, ...)
[Deprecated]
vectorstores.atlas.AtlasDB(name[, ...])
Atlas vector store.
vectorstores.awadb.AwaDB([table_name, ...])
AwaDB vector store.
vectorstores.azure_cosmos_db.AzureCosmosDBVectorSearch... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-92 | Clarifai AI vector store.
vectorstores.clickhouse.Clickhouse(embedding)
ClickHouse VectorSearch vector store.
vectorstores.clickhouse.ClickhouseSettings
ClickHouse client configuration.
vectorstores.couchbase.CouchbaseVectorStore(...)
[Deprecated] Couchbase Vector Store vector store.
vectorstores.dashvector.DashVector(... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-93 | [Deprecated] Approximate retrieval strategy using the HNSW algorithm.
vectorstores.elasticsearch.BaseRetrievalStrategy()
Base class for Elasticsearch retrieval strategies.
vectorstores.elasticsearch.ElasticsearchStore(...)
[Deprecated] Elasticsearch vector store.
vectorstores.elasticsearch.ExactRetrievalStrategy(...)
[... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-94 | vectorstores.kinetica.KineticaSettings
Kinetica client configuration.
vectorstores.lancedb.LanceDB([connection, ...])
LanceDB vector store.
vectorstores.lantern.BaseEmbeddingStore()
Base class for the Lantern embedding store.
vectorstores.lantern.DistanceStrategy(value)
Enumerator of the Distance strategies.
vectorstor... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-95 | MyScale client configuration.
vectorstores.myscale.MyScaleWithoutJSON(...)
MyScale vector store without metadata column
vectorstores.neo4j_vector.IndexType(value)
Enumerator of the index types.
vectorstores.neo4j_vector.Neo4jVector(...[, ...])
Neo4j vector index.
vectorstores.neo4j_vector.SearchType(value)
Enumerator o... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-96 | [Deprecated] Qdrant vector store.
vectorstores.qdrant.QdrantException
Qdrant related exceptions.
vectorstores.redis.base.Redis(redis_url, ...)
Redis vector database.
vectorstores.redis.base.RedisVectorStoreRetriever
Retriever for Redis VectorStore.
vectorstores.redis.filters.RedisFilter()
Collection of RedisFilterField... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-97 | vectorstores.rocksetdb.Rockset(client, ...)
Rockset vector store.
vectorstores.scann.ScaNN(embedding, index, ...)
ScaNN vector store.
vectorstores.semadb.SemaDB(collection_name, ...)
SemaDB vector store.
vectorstores.singlestoredb.SingleStoreDB(...)
SingleStore DB vector store.
vectorstores.sklearn.BaseSerializer(persi... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-98 | vectorstores.tencentvectordb.MetaField
MetaData Field for Tencent vector DB.
vectorstores.tencentvectordb.TencentVectorDB(...)
Tencent VectorDB as a vector store.
vectorstores.thirdai_neuraldb.NeuralDBClientVectorStore(db)
Vectorstore that uses ThirdAI's NeuralDB Enterprise Python Client for NeuralDBs.
vectorstores.thi... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-99 | vectorstores.vectara.SummaryConfig([...])
Configuration for summary generation.
vectorstores.vectara.Vectara([...])
Vectara API vector store.
vectorstores.vectara.VectaraQueryConfig([k, ...])
Configuration for Vectara query.
vectorstores.vectara.VectaraRAG(vectara, config)
vectorstores.vectara.VectaraRetriever
Vectara ... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-100 | Check if a string contains multiple substrings.
vectorstores.faiss.dependable_faiss_import([...])
Import faiss if available, otherwise raise error.
vectorstores.lancedb.import_lancedb()
Import lancedb package.
vectorstores.lantern.get_embedding_store(...)
Get the embedding store class.
vectorstores.myscale.has_mul_sub_... | https://api.python.langchain.com/en/latest/community_api_reference.html |
5ac1b6cc5af2-101 | Import scann if available, otherwise raise error.
vectorstores.scann.normalize(x)
Normalize vectors to unit length.
vectorstores.starrocks.debug_output(s)
Print a debug message if DEBUG is True.
vectorstores.starrocks.get_named_result(...)
Get a named result from a query.
vectorstores.starrocks.has_mul_sub_str(s, *args... | https://api.python.langchain.com/en/latest/community_api_reference.html |
6e21b44b7ec3-0 | langchain_mongodb 0.1.6¶ | https://api.python.langchain.com/en/latest/mongodb_api_reference.html |
747d29749e1f-0 | langchain_robocorp 0.0.9.post1¶
langchain_robocorp.toolkits¶
Robocorp Action Server toolkit.
Classes¶
toolkits.ActionServerRequestTool
Requests POST tool with LLM-instructed extraction of truncated responses.
toolkits.ActionServerToolkit
Toolkit exposing Robocorp Action Server provided actions as individual tools.
tool... | https://api.python.langchain.com/en/latest/robocorp_api_reference.html |
d19dc24a9dfa-0 | langchain_pinecone 0.1.1¶
langchain_pinecone.vectorstores¶
Classes¶
vectorstores.Pinecone([index, embedding, ...])
[Deprecated] Deprecated.
vectorstores.PineconeVectorStore([index, ...])
Pinecone vector store. | https://api.python.langchain.com/en/latest/pinecone_api_reference.html |
d865d3d587fa-0 | langchain_milvus 0.1.1¶
langchain_milvus.retrievers¶
Classes¶
retrievers.milvus_hybrid_search.MilvusCollectionHybridSearchRetriever
This is a hybrid search retriever that uses Milvus Collection to retrieve documents based on multiple fields.
retrievers.zilliz_cloud_pipeline_retriever.ZillizCloudPipelineRetriever
Zilliz... | https://api.python.langchain.com/en/latest/milvus_api_reference.html |
f44d1295a5c3-0 | langchain_ibm 0.1.7¶ | https://api.python.langchain.com/en/latest/ibm_api_reference.html |
b76c696f3bb5-0 | langchain_elasticsearch 0.2.2¶
langchain_elasticsearch.cache¶
Classes¶
cache.ElasticsearchCache(index_name[, ...])
An Elasticsearch cache integration for LLMs.
cache.ElasticsearchEmbeddingsCache(index_name)
An Elasticsearch store for caching embeddings.
langchain_elasticsearch.chat_history¶
Classes¶
chat_history.Elasti... | https://api.python.langchain.com/en/latest/elasticsearch_api_reference.html |
ebfb0169afcf-0 | langchain_airbyte 0.1.1¶ | https://api.python.langchain.com/en/latest/airbyte_api_reference.html |
18fd61a34d1a-0 | langchain_together 0.1.3¶
langchain_together.chat_models¶
Wrapper around Together AI’s Chat Completions API.
Classes¶
chat_models.ChatTogether
ChatTogether chat model.
langchain_together.embeddings¶
Wrapper around Together AI’s Embeddings API.
Classes¶
embeddings.TogetherEmbeddings
TogetherEmbeddings embedding model.
l... | https://api.python.langchain.com/en/latest/together_api_reference.html |
fdd543c40c31-0 | langchain_chroma 0.1.1¶
langchain_chroma.vectorstores¶
Classes¶
vectorstores.Chroma([collection_name, ...])
ChromaDB vector store.
Functions¶
vectorstores.cosine_similarity(X, Y)
Row-wise cosine similarity between two equal-width matrices.
vectorstores.maximal_marginal_relevance(...)
Calculate maximal marginal relevanc... | https://api.python.langchain.com/en/latest/chroma_api_reference.html |
c809063b5752-0 | langchain_prompty 0.0.2¶
langchain_prompty.core¶
Classes¶
core.Frontmatter()
core.Invoker(prompty)
core.InvokerFactory()
core.ModelSettings
Create a new model by parsing and validating input data from keyword arguments.
core.NoOpParser(prompty)
core.Prompty
Create a new model by parsing and validating input data from k... | https://api.python.langchain.com/en/latest/prompty_api_reference.html |
410970988dfd-0 | langchain_groq 0.1.5¶
langchain_groq.chat_models¶
Groq Chat wrapper.
Classes¶
chat_models.ChatGroq
Groq Chat large language models API. | https://api.python.langchain.com/en/latest/groq_api_reference.html |
e1cacb2a7f03-0 | langchain_nomic 0.1.2¶
langchain_nomic.embeddings¶
Classes¶
embeddings.NomicEmbeddings()
NomicEmbeddings embedding model. | https://api.python.langchain.com/en/latest/nomic_api_reference.html |
eb5ace532d34-0 | langchain_openai 0.1.8¶
langchain_openai.chat_models¶
Classes¶
chat_models.azure.AzureChatOpenAI
Azure OpenAI Chat Completion API.
chat_models.base.BaseChatOpenAI
Create a new model by parsing and validating input data from keyword arguments.
chat_models.base.ChatOpenAI
OpenAI chat model integration.
langchain_openai.e... | https://api.python.langchain.com/en/latest/openai_api_reference.html |
f123fad1ea8f-0 | langchain_huggingface 0.0.3¶
langchain_huggingface.chat_models¶
Classes¶
chat_models.huggingface.ChatHuggingFace
Wrapper for using Hugging Face LLM's as ChatModels.
chat_models.huggingface.TGI_MESSAGE(role, ...)
chat_models.huggingface.TGI_RESPONSE(...)
langchain_huggingface.embeddings¶
Classes¶
embeddings.huggingface.... | https://api.python.langchain.com/en/latest/huggingface_api_reference.html |
af6afe90327e-0 | langchain_core 0.2.5¶
langchain_core.agents¶
Agent is a class that uses an LLM to choose a sequence of actions to take.
In Chains, a sequence of actions is hardcoded. In Agents,
a language model is used as a reasoning engine to determine which actions
to take and in which order.
Agents select and use Tools and Toolkits... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-1 | Warning
Beta Feature!
Cache provides an optional caching layer for LLMs.
Cache is useful for two reasons:
It can save you money by reducing the number of API calls you make to the LLM
provider if you’re often requesting the same completion multiple times.
It can speed up your application by reducing the number of API c... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-2 | callbacks.manager.AsyncCallbackManagerForChainGroup(...)
Async callback manager for the chain group.
callbacks.manager.AsyncCallbackManagerForChainRun(*, ...)
Async callback manager for chain run.
callbacks.manager.AsyncCallbackManagerForLLMRun(*, ...)
Async callback manager for LLM run.
callbacks.manager.AsyncCallback... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-3 | Generic event handler for AsyncCallbackManager.
callbacks.manager.atrace_as_chain_group(...)
Get an async callback manager for a chain group in a context manager.
callbacks.manager.handle_event(handlers, ...)
Generic event handler for CallbackManager.
callbacks.manager.shielded(func)
Makes so an awaitable method is alw... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-4 | Class for storing a piece of text and associated metadata.
documents.compressor.BaseDocumentCompressor
Base class for document compressors.
documents.transformers.BaseDocumentTransformer()
Abstract base class for document transformation systems.
langchain_core.embeddings¶
Classes¶
embeddings.embeddings.Embeddings()
Int... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-5 | Get the value of the verbose global setting.
globals.set_debug(value)
Set a new value for the debug global setting.
globals.set_llm_cache(value)
Set a new LLM cache, overwriting the previous value, if any.
globals.set_verbose(value)
Set a new value for the verbose global setting.
langchain_core.indexing¶
Code to help i... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-6 | AIMessage, BaseMessage, HumanMessage
Classes¶
language_models.base.BaseLanguageModel
Abstract base class for interfacing with language models.
language_models.chat_models.BaseChatModel
Base class for Chat models.
language_models.chat_models.LangSmithParams
language_models.chat_models.SimpleChatModel
Simplified implemen... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-7 | Get prompts that are already cached.
language_models.llms.update_cache(cache, ...)
Update the cache and get the LLM output.
langchain_core.load¶
Load module helps with serialization and deserialization.
Classes¶
load.load.Reviver([secrets_map, ...])
Reviver for JSON objects.
load.serializable.BaseSerialized
Base class ... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-8 | Messages are objects used in prompts and chat conversations.
Class hierarchy:
BaseMessage --> SystemMessage, AIMessage, HumanMessage, ChatMessage, FunctionMessage, ToolMessage
--> BaseMessageChunk --> SystemMessageChunk, AIMessageChunk, HumanMessageChunk, ChatMessageChunk, FunctionMessageChunk, ToolMessageC... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-9 | Get a title representation for a message.
messages.base.merge_content(first_content, ...)
Merge two message contents.
messages.base.message_to_dict(message)
Convert a Message to a dictionary.
messages.base.messages_to_dict(messages)
Convert a sequence of Messages to a list of dictionaries.
messages.tool.default_tool_ch... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-10 | Parse the output of an LLM call to a list.
output_parsers.list.MarkdownListOutputParser
Parse a markdown list.
output_parsers.list.NumberedListOutputParser
Parse a numbered list.
output_parsers.openai_functions.JsonKeyOutputFunctionsParser
Parse an output as the element of the Json object.
output_parsers.openai_functio... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-11 | output_parsers.openai_tools.parse_tool_call(...)
Parse a single tool call.
output_parsers.openai_tools.parse_tool_calls(...)
Parse a list of tool calls.
output_parsers.xml.nested_element(path, elem)
Get nested element from path.
langchain_core.outputs¶
Output classes are used to represent the output of a language model... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-12 | Class hierarchy:
BasePromptTemplate --> PipelinePromptTemplate
StringPromptTemplate --> PromptTemplate
FewShotPromptTemplate
FewShotPromptWithTemplates
BaseChatPromptTemplate -->... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-13 | prompts.string.StringPromptTemplate
String prompt that exposes the format method, returning a prompt.
prompts.structured.StructuredPrompt
[Beta] Structured prompt template for a language model.
Functions¶
prompts.base.aformat_document(doc, prompt)
Format a document into a string based on a prompt template.
prompts.base... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-14 | Main helpers:
RetrieverInput, RetrieverOutput, RetrieverLike, RetrieverOutputLike,
Document, Serializable, Callbacks,
CallbackManagerForRetrieverRun, AsyncCallbackManagerForRetrieverRun
Classes¶
retrievers.BaseRetriever
Abstract base class for a Document retrieval system.
langchain_core.runnables¶
LangChain Runnable an... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-15 | runnables.base.RunnableMap
alias of RunnableParallel
runnables.base.RunnableParallel
Runnable that runs a mapping of Runnables in parallel, and returns a mapping of their outputs.
runnables.base.RunnableSequence
Sequence of Runnables, where the output of each is the input of the next.
runnables.base.RunnableSerializabl... | https://api.python.langchain.com/en/latest/core_api_reference.html |
af6afe90327e-16 | runnables.graph.Node(id, data)
Node in a graph.
runnables.graph.NodeColors([start, end, other])
Schema for Hexadecimal color codes for different node types
runnables.graph_ascii.AsciiCanvas(cols, lines)
Class for drawing in ASCII.
runnables.graph_ascii.VertexViewer(name)
Class to define vertex box boundaries that will ... | https://api.python.langchain.com/en/latest/core_api_reference.html |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.