id
stringlengths
14
15
text
stringlengths
23
2.21k
source
stringlengths
52
97
9ae0edef2a4c-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraChat Over Documents with VectaraVectara Text GenerationVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram Alpha...
https://python.langchain.com/docs/integrations/providers/vectara/
9ae0edef2a4c-3
= Vectara( vectara_customer_id=customer_id, vectara_corpus_id=corpus_id, vectara_api_key=api_key)The customer_id, corpus_id and api_key are optional, and if they are not supplied will be read from the environment variables VECTARA_CUSTOMER_ID, VECTARA_CORPUS_ID and VECTARA_API_KEY, respectively.After you hav...
https://python.langchain.com/docs/integrations/providers/vectara/
9ae0edef2a4c-4
adjacent text segments.The results are returned as a list of relevant documents, and a relevance score of each document.For a more detailed examples of using the Vectara wrapper, see one of these two sample notebooks:Chat Over Documents with VectaraVectara Text GenerationPreviousUnstructuredNextChat Over Documents with...
https://python.langchain.com/docs/integrations/providers/vectara/
c3ee6ccc7536-0
Page Not Found | 🦜�🔗 Langchain Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKPage Not FoundWe could not find what you were looking for.Please contact the owner of the site that linked you to the original URL and let them know their link is broken.CommunityDisc...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_chat.html
7a5bb613297f-0
Chat Over Documents with Vectara | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/vectara/vectara_chat
7a5bb613297f-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_chat
7a5bb613297f-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraChat Over Documents with VectaraVectara Text GenerationVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram Alpha...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_chat
7a5bb613297f-3
= retriever.get_relevant_documents( "What did the president say about Ketanji Brown Jackson")qa = ConversationalRetrievalChain.from_llm(llm, retriever, memory=memory)query = "What did the president say about Ketanji Brown Jackson"result = qa({"question": query})result["answer"] " The president said that Ketanji B...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_chat
7a5bb613297f-4
source documents from the ConversationalRetrievalChain. This is useful for when you want to inspect what documents were returned.qa = ConversationalRetrievalChain.from_llm( llm, vectorstore.as_retriever(), return_source_documents=True)chat_history = []query = "What did the president say about Ketanji Brown Jackson"r...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_chat
7a5bb613297f-5
= []query = "What did the president say about Ketanji Brown Jackson"result = qa( {"question": query, "chat_history": chat_history, "vectordbkwargs": vectordbkwargs})print(result["answer"]) The president said that Ketanji Brown Jackson is one of the nation's top legal minds and that she will continue Justice Brey...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_chat
7a5bb613297f-6
LLMChain(llm=llm, prompt=CONDENSE_QUESTION_PROMPT)doc_chain = load_qa_with_sources_chain(llm, chain_type="map_reduce")chain = ConversationalRetrievalChain( retriever=vectorstore.as_retriever(), question_generator=question_generator, combine_docs_chain=doc_chain,)chat_history = []query = "What did the president...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_chat
7a5bb613297f-7
prompt=CONDENSE_QUESTION_PROMPT)doc_chain = load_qa_chain(streaming_llm, chain_type="stuff", prompt=QA_PROMPT)qa = ConversationalRetrievalChain( retriever=vectorstore.as_retriever(), combine_docs_chain=doc_chain, question_generator=question_generator,)chat_history = []query = "What did the president say about ...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_chat
7a5bb613297f-8
Text GenerationPass in chat historyReturn Source DocumentsConversationalRetrievalChain with search_distanceConversationalRetrievalChain with map_reduceConversationalRetrievalChain with Question Answering with sourcesConversationalRetrievalChain with streaming to stdoutget_chat_history FunctionCommunityDiscordTwitterGit...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_chat
f8b137a0ee94-0
Vectara Text Generation | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/vectara/vectara_text_generation
f8b137a0ee94-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_text_generation
f8b137a0ee94-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraChat Over Documents with VectaraVectara Text GenerationVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram Alpha...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_text_generation
f8b137a0ee94-3
.strip() ) repo_path = pathlib.Path(d) markdown_files = list(repo_path.glob("*/*.md")) + list( repo_path.glob("*/*.mdx") ) for markdown_file in markdown_files: with open(markdown_file, "r") as f: relative_path = markdown_file.relative_to(repo_path)...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_text_generation
f8b137a0ee94-4
custom prompt is parameterized and takes two inputs: context, which will be the documents fetched from the vector search, and topic, which is given by the user.from langchain.chains import LLMChainprompt_template = """Use the context below to write a 400 word blog post about the topic below: Context: {context} To...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_text_generation
f8b137a0ee94-5
wanted to use a shell variable instead of an environment variable in a command, you could do something like this:\n\n```sh\nVAR=hello && echo $VAR && deno eval "console.log(\'Deno: \' + Deno.env.get(\'VAR\'))"\n```\n\nThis would output the following:\n\n```\nhello\nDeno: undefined\n```\n\nShell variables can be useful ...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_text_generation
f8b137a0ee94-6
and they can be set and changed without having to modify your code.\n\nIn Deno, environment variables are defined using the `export` command. For example, to set a variable called `VAR_NAME` to the value `value`, you would use the following command:\n\n```sh\nexport VAR_NAME=value\n```\n\nYou can then access the value ...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_text_generation
f8b137a0ee94-7
hashbang.ts`. After that, you can execute the script by calling it like any other command: `./hashbang.ts`.\n\nIn the example program, we give the context permission to access the environment variables and print the Deno installation path. This is done by using the `Deno.env.get()` function, which returns the value of ...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_text_generation
73fb5891dd23-0
Page Not Found | 🦜�🔗 Langchain Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKPage Not FoundWe could not find what you were looking for.Please contact the owner of the site that linked you to the original URL and let them know their link is broken.CommunityDisc...
https://python.langchain.com/docs/integrations/providers/vectara/vectara_text_generation.html
dd83da7d4d94-0
Metal | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/metal
dd83da7d4d94-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/metal
dd83da7d4d94-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/metal
854978d5b471-0
Confluence | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/confluence
854978d5b471-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/confluence
854978d5b471-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/confluence
854978d5b471-3
See instructions.Document Loader​See a usage example.from langchain.document_loaders import ConfluenceLoaderPreviousCometNextC TransformersInstallation and SetupDocument LoaderCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/providers/confluence
11ea2be7efc3-0
Marqo | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/marqo
11ea2be7efc3-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/marqo
11ea2be7efc3-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/marqo
11ea2be7efc3-3
Marqo lets you select from a range of models for generating embeddings and exposes some preprocessing configurations.The Marqo vectorstore can also work with existing multimodel indexes where your documents have a mix of images and text, for more information refer to our documentation. Note that instaniating the Marqo ...
https://python.langchain.com/docs/integrations/providers/marqo
88ed83adbb67-0
Zilliz | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/zilliz
88ed83adbb67-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/zilliz
88ed83adbb67-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/zilliz
88ed83adbb67-3
whether for semantic search or example selection.from langchain.vectorstores import MilvusFor a more detailed walkthrough of the Miluvs wrapper, see this notebookPreviousZepInstallation and SetupVectorstoreCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/providers/zilliz
40b46baa049f-0
Clarifai | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/clarifai
40b46baa049f-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/clarifai
40b46baa049f-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/clarifai
40b46baa049f-3
by their app_id. Those IDs will be needed in additional to the model_id and optionally the version_id, so make note of all these IDs once you found the best model for your use case!Also note that given there are many models for images, video, text and audio understanding, you can build some interested AI agents that ut...
https://python.langchain.com/docs/integrations/providers/clarifai
40b46baa049f-4
an application, select the appropriate base workflow for your type of data, and upload it (through the API as documented here or the UIs at clarifai.com).You an also add data directly from LangChain as well, and the auto-indexing will take place for you. You'll notice this is a little different than other vectorstores ...
https://python.langchain.com/docs/integrations/providers/clarifai
f76084d55e39-0
Microsoft PowerPoint | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/microsoft_powerpoint
f76084d55e39-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/microsoft_powerpoint
f76084d55e39-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/microsoft_powerpoint
b06826bd576d-0
MyScale | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/myscale
b06826bd576d-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/myscale
b06826bd576d-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/myscale
b06826bd576d-3
It is broken into two parts: installation and setup, and then references to specific MyScale wrappers.With MyScale, you can manage both structured and unstructured (vectorized) data, and perform joint queries and analytics on both types of data using SQL. Plus, MyScale's cloud-native OLAP architecture, built on top of ...
https://python.langchain.com/docs/integrations/providers/myscale
b06826bd576d-4
Every attributes under MyScaleSettings can be set with prefix MYSCALE_ and is case insensitive.Create MyScaleSettings object with parameters```pythonfrom langchain.vectorstores import MyScale, MyScaleSettingsconfig = MyScaleSetting(host="<your-backend-url>", port=8443, ...)index = MyScale(embedding_function, config)ind...
https://python.langchain.com/docs/integrations/providers/myscale
d514df04d5fb-0
scikit-learn | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/sklearn
d514df04d5fb-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/sklearn
d514df04d5fb-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/sklearn
d514df04d5fb-3
including some implementations of the k nearest neighbors. SKLearnVectorStore wraps this implementation and adds the possibility to persist the vector store in json, bson (binary json) or Apache Parquet format.Installation and Setup​Install the Python package with pip install scikit-learnVector Store​SKLearnVectorS...
https://python.langchain.com/docs/integrations/providers/sklearn
78aa2075f533-0
MLflow | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/mlflow_tracking
78aa2075f533-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/mlflow_tracking
78aa2075f533-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/mlflow_tracking
78aa2075f533-3
This is a synopsis for the above play:"""prompt_template = PromptTemplate(input_variables=["title"], template=template)synopsis_chain = LLMChain(llm=llm, prompt=prompt_template, callbacks=[mlflow_callback])test_prompts = [ { "title": "documentary about good video games that push the boundary of game design" ...
https://python.langchain.com/docs/integrations/providers/mlflow_tracking
75f0ee41f7ad-0
Chaindesk | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/chaindesk
75f0ee41f7ad-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/chaindesk
75f0ee41f7ad-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/chaindesk
75f0ee41f7ad-3
We need the API Key.Retriever​See a usage example.from langchain.retrievers import ChaindeskRetrieverPreviousCerebriumAINextChromaInstallation and SetupRetrieverCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/providers/chaindesk
f9be61bda5a5-0
Google Serper | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/google_serper
f9be61bda5a5-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/google_serper
f9be61bda5a5-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/google_serper
f9be61bda5a5-3
It is broken into two parts: setup, and then references to the specific Google Serper wrapper.Setup​Go to serper.dev to sign up for a free accountGet the api key and set it as an environment variable (SERPER_API_KEY)Wrappers​Utility​There exists a GoogleSerperAPIWrapper utility which wraps this API. To import thi...
https://python.langchain.com/docs/integrations/providers/google_serper
f9be61bda5a5-4
You can do this with:from langchain.agents import load_toolstools = load_tools(["google-serper"])For more information on tools, see this page.PreviousGoogle SearchNextGooseAISetupWrappersUtilityToolCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/providers/google_serper
79ff80563687-0
Petals | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/petals
79ff80563687-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/petals
79ff80563687-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/petals
79ff80563687-3
It is broken into two parts: installation and setup, and then references to specific Petals wrappers.Installation and Setup​Install with pip install petalsGet a Hugging Face api key and set it as an environment variable (HUGGINGFACE_API_KEY)Wrappers​LLM​There exists an Petals LLM wrapper, which you can access wit...
https://python.langchain.com/docs/integrations/providers/petals
bbccd67b2031-0
MLflow AI Gateway | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/mlflow_ai_gateway
bbccd67b2031-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/mlflow_ai_gateway
bbccd67b2031-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/mlflow_ai_gateway
bbccd67b2031-3
gateway start --config-path /path/to/config.yamlCompletions Example​import mlflowfrom langchain import LLMChain, PromptTemplatefrom langchain.llms import MlflowAIGatewaygateway = MlflowAIGateway( gateway_uri="http://127.0.0.1:5000", route="completions", params={ "temperature": 0.0, "top_p": 0.1...
https://python.langchain.com/docs/integrations/providers/mlflow_ai_gateway
bbccd67b2031-4
route="chat", params={ "temperature": 0.1 })messages = [ SystemMessage( content="You are a helpful assistant that translates English to French." ), HumanMessage( content="Translate this sentence from English to French: I love programming." ),]print(chat(messages))Databricks MLflow...
https://python.langchain.com/docs/integrations/providers/mlflow_ai_gateway
bbccd67b2031-5
Please contact a Databricks representative to enroll in the preview.from langchain import LLMChain, PromptTemplatefrom langchain.llms import MlflowAIGatewaygateway = MlflowAIGateway( gateway_uri="databricks", route="completions",)llm_chain = LLMChain( llm=gateway, prompt=PromptTemplate( input_variabl...
https://python.langchain.com/docs/integrations/providers/mlflow_ai_gateway
28ea3acafca9-0
AI21 Labs | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/ai21
28ea3acafca9-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/ai21
28ea3acafca9-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/ai21
28ea3acafca9-3
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 variable (AI21_API_KEY)Wrappers​LLM​There exists an AI21 LLM wrapper, which you can access with from langchain.llms import AI21PreviousWandB Tr...
https://python.langchain.com/docs/integrations/providers/ai21
20453c6226a1-0
Runhouse | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/runhouse
20453c6226a1-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/runhouse
20453c6226a1-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/runhouse
20453c6226a1-3
It is broken into three parts: installation and setup, LLMs, and Embeddings.Installation and Setup​Install the Python SDK with pip install runhouseIf you'd like to use on-demand cluster, check your cloud credentials with sky checkSelf-hosted LLMs​For a basic self-hosted LLM, you can use the SelfHostedHuggingFaceLLM...
https://python.langchain.com/docs/integrations/providers/runhouse
aac5aba29cf4-0
Databricks | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/databricks
aac5aba29cf4-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/databricks
aac5aba29cf4-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/databricks
aac5aba29cf4-3
It is broken into 3 parts: installation and setup, connecting to Databricks, and examples.Installation and Setup​pip install databricks-sql-connectorConnecting to Databricks​You can connect to Databricks runtimes and Databricks SQL using the SQLDatabase.from_databricks() method.Syntax​SQLDatabase.from_databricks(...
https://python.langchain.com/docs/integrations/providers/databricks
aac5aba29cf4-4
be used when connecting Databricks.**kwargs: Additional keyword arguments for the SQLDatabase.from_uri method.Examples​# Connecting to Databricks with SQLDatabase wrapperfrom langchain import SQLDatabasedb = SQLDatabase.from_databricks(catalog="samples", schema="nyctaxi")# Creating a OpenAI Chat LLM wrapperfrom langc...
https://python.langchain.com/docs/integrations/providers/databricks
aac5aba29cf4-5
database.from langchain.agents import create_sql_agentfrom langchain.agents.agent_toolkits import SQLDatabaseToolkittoolkit = SQLDatabaseToolkit(db=db, llm=llm)agent = create_sql_agent(llm=llm, toolkit=toolkit, verbose=True)agent.run("What is the longest trip distance and how long did it take?") > Entering n...
https://python.langchain.com/docs/integrations/providers/databricks
aac5aba29cf4-6
18:44:19+00:00 2016-02-04 18:46:00+00:00 0.28 3.5 10110 10110 2016-02-17 17:13:57+00:00 2016-02-17 17:17:55+00:00 0.7 5.0 10103 10023 */ Thought:The trips table has the necessary columns for trip distance and duration. I will write a query to find the longest trip distance and its duration. A...
https://python.langchain.com/docs/integrations/providers/databricks
aac5aba29cf4-7
minutes and 31 seconds.'PreviousC TransformersNextDatadog TracingInstallation and SetupConnecting to DatabricksSyntaxRequired ParametersOptional ParametersExamplesSQL Chain exampleSQL Database Agent exampleCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/providers/databricks
7dacead2ab70-0
OpenLLM | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/openllm
7dacead2ab70-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/openllm
7dacead2ab70-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/openllm
7dacead2ab70-3
with LangChain.OpenLLM is an open platform for operating large language models (LLMs) in production. It enables developers to easily run inference with any open-source LLMs, deploy to the cloud or on-premises, and build powerful AI apps.Installation and Setup​Install the OpenLLM package via PyPI:pip install openllmLL...
https://python.langchain.com/docs/integrations/providers/openllm
7dacead2ab70-4
example notebookPreviousOpenAINextOpenSearchInstallation and SetupLLMWrappersWrapper for OpenLLM serverWrapper for Local InferenceUsageCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/providers/openllm
1f7be2484794-0
ModelScope | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/modelscope
1f7be2484794-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/modelscope