id
stringlengths
14
16
text
stringlengths
29
2.73k
source
stringlengths
49
117
40e7a95ded91-97
WeaviateHybridSearchRetriever (class in langchain.retrievers) WeaviateHybridSearchRetriever.Config (class in langchain.retrievers) web_path (langchain.document_loaders.WebBaseLoader property) web_paths (langchain.document_loaders.WebBaseLoader attribute) WebBaseLoader (class in langchain.document_loaders) WhatsAppChatL...
https://python.langchain.com/en/latest/genindex.html
f9ae3d454ddc-0
.md .pdf Dependents Dependents# Dependents stats for hwchase17/langchain [update: 2023-05-17; only dependent repositories with Stars > 100] Repository Stars openai/openai-cookbook 35401 LAION-AI/Open-Assistant 32861 microsoft/TaskMatrix 32766 hpcaitech/ColossalAI 29560 reworkd/AgentGPT 22315 imartinez/privateGPT 17474 ...
https://python.langchain.com/en/latest/dependents.html
f9ae3d454ddc-1
2479 whitead/paper-qa 2399 langgenius/dify 2344 GerevAI/gerev 2283 hwchase17/chat-langchain 2266 guangzhengli/ChatFiles 1903 Azure-Samples/azure-search-openai-demo 1884 OpenBMB/BMTools 1860 Farama-Foundation/PettingZoo 1813 OpenGVLab/Ask-Anything 1571 IntelligenzaArtificiale/Free-Auto-GPT 1480 hwchase17/notion-qa 1464 ...
https://python.langchain.com/en/latest/dependents.html
f9ae3d454ddc-2
826 cirediatpl/FigmaChain 782 hashintel/hash 778 seanpixel/Teenage-AGI 773 jina-ai/langchain-serve 738 corca-ai/EVAL 737 ai-sidekick/sidekick 717 rlancemartin/auto-evaluator 703 poe-platform/api-bot-tutorial 689 SamurAIGPT/Camel-AutoGPT 666 eyurtsev/kor 608 run-llama/llama-lab 559 namuan/dr-doc-search 544 pieroit/chesh...
https://python.langchain.com/en/latest/dependents.html
f9ae3d454ddc-3
324 steamship-core/steamship-langchain 323 daodao97/chatdoc 320 xuwenhao/geektime-ai-course 308 StevenGrove/GPT4Tools 301 logan-markewich/llama_index_starter_pack 300 andylokandy/gpt-4-search 299 Anil-matcha/ChatPDF 287 itamargol/openai 273 BlackHC/llm-strategy 267 momegas/megabots 259 bborn/howdoi.ai 238 Cheems-Semina...
https://python.langchain.com/en/latest/dependents.html
f9ae3d454ddc-4
radi-cho/datasetGPT 153 poe-platform/poe-protocol 152 paolorechia/learn-langchain 149 ajndkr/lanarky 149 fengyuli-dev/multimedia-gpt 147 yasyf/compress-gpt 144 homanp/superagent 143 realminchoi/babyagi-ui 141 ethanyanjiali/minChatGPT 141 ccurme/yolopandas 139 hwchase17/langchain-streamlit-template 138 Jaseci-Labs/jasec...
https://python.langchain.com/en/latest/dependents.html
f9ae3d454ddc-5
109 WongSaang/chatgpt-ui-server 108 davila7/file-gpt 104 enhancedocs/enhancedocs 102 aurelio-labs/arxiv-bot 101 Generated by github-dependents-info [github-dependents-info –repo hwchase17/langchain –markdownfile dependents.md –minstars 100 –sort stars] previous Zilliz next Deployments By Harrison Chase © Cop...
https://python.langchain.com/en/latest/dependents.html
b0df09dd9c27-0
.rst .pdf Integrations Contents Integrations by Module Dependencies All Integrations Integrations# LangChain integrates with many LLMs, systems, and products. Integrations by Module# Integrations grouped by the core LangChain module they map to: LLM Providers Chat Model Providers Text Embedding Model Providers Docume...
https://python.langchain.com/en/latest/integrations.html
b0df09dd9c27-1
Modern Treasury Momento MyScale NLPCloud Notion DB Obsidian OpenAI OpenSearch OpenWeatherMap Petals PGVector Pinecone PipelineAI Prediction Guard PromptLayer Psychic Qdrant Rebuff Reddit Redis Replicate Runhouse RWKV-4 SageMaker Endpoint SearxNG Search API SerpAPI scikit-learn StochasticAI Tair Unstructured Vectara Wei...
https://python.langchain.com/en/latest/integrations.html
a2e9375ad997-0
.rst .pdf API References API References# Full documentation on all methods, classes, and APIs in LangChain. Models Prompts Indexes Memory Chains Agents Utilities Experimental Modules previous Installation next Models By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Jun 02, 2023.
https://python.langchain.com/en/latest/reference.html
864b20067af0-0
Search Error Please activate JavaScript to enable the search functionality. Ctrl+K By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Jun 02, 2023.
https://python.langchain.com/en/latest/search.html
cd3881333b3b-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...
https://python.langchain.com/en/latest/integrations/weaviate.html
cd3881333b3b-1
To import this vectorstore: from langchain.vectorstores import Weaviate For a more detailed walkthrough of the Weaviate wrapper, see this notebook previous Weights & Biases next WhyLabs Contents Installation and Setup Wrappers VectorStore By Harrison Chase © Copyright 2023, Harrison Chase. Last ...
https://python.langchain.com/en/latest/integrations/weaviate.html
fe56fbad8813-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...
https://python.langchain.com/en/latest/integrations/gitbook.html
238760b0506d-0
.md .pdf BiliBili Contents Installation and Setup Document Loader BiliBili# Bilibili is one of the most beloved long-form video sites in China. Installation and Setup# pip install bilibili-api-python Document Loader# See a usage example. from langchain.document_loaders import BiliBiliLoader previous Amazon Bedrock ne...
https://python.langchain.com/en/latest/integrations/bilibili.html
a8ce86de1144-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...
https://python.langchain.com/en/latest/integrations/hacker_news.html
0cd5c49a9ee1-0
.md .pdf Beam Contents Installation and Setup Wrappers LLM Define your Beam app. Deploy your Beam app Call your Beam app Beam# This page covers how to use Beam within LangChain. It is broken into two parts: installation and setup, and then references to specific Beam wrappers. Installation and Setup# Create an accoun...
https://python.langchain.com/en/latest/integrations/beam.html
0cd5c49a9ee1-1
This returns the GPT2 text response to your prompt. response = llm._call("Running machine learning on a remote GPU") An example script which deploys the model and calls it would be: from langchain.llms.beam import Beam import time llm = Beam(model_name="gpt2", name="langchain-gpt2-test", cpu=8, ...
https://python.langchain.com/en/latest/integrations/beam.html
780f6eb184ea-0
.md .pdf Hugging Face Contents Installation and Setup Wrappers LLM Embeddings Tokenizer Datasets Hugging Face# This page covers how to use the Hugging Face ecosystem (including the Hugging Face Hub) within LangChain. It is broken into two parts: installation and setup, and then references to specific Hugging Face wra...
https://python.langchain.com/en/latest/integrations/huggingface.html
780f6eb184ea-1
from langchain.embeddings import HuggingFaceHubEmbeddings For a more detailed walkthrough of this, see this notebook Tokenizer# There are several places you can use tokenizers available through the transformers package. By default, it is used to count tokens for all LLMs. You can also use it to count tokens when splitt...
https://python.langchain.com/en/latest/integrations/huggingface.html
cb3bdbc9873d-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...
https://python.langchain.com/en/latest/integrations/google_search.html
e7ccc2e3dde9-0
.md .pdf OpenAI Contents Installation and Setup LLM Text Embedding Model Tokenizer Chain Document Loader OpenAI# OpenAI is American artificial intelligence (AI) research laboratory consisting of the non-profit OpenAI Incorporated and its for-profit subsidiary corporation OpenAI Limited Partnership. OpenAI conducts AI...
https://python.langchain.com/en/latest/integrations/openai.html
e7ccc2e3dde9-1
Document Loader# See a usage example. from langchain.document_loaders.chatgpt import ChatGPTLoader previous Obsidian next OpenSearch Contents Installation and Setup LLM Text Embedding Model Tokenizer Chain Document Loader By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Jun 02...
https://python.langchain.com/en/latest/integrations/openai.html
b8d052aaafc7-0
.ipynb .pdf ClearML Contents Installation and Setup Getting API Credentials Callbacks Scenario 1: Just an LLM Scenario 2: Creating an agent with tools Tips and Next Steps ClearML# ClearML is a ML/DL development and production suite, it contains 5 main modules: Experiment Manager - Automagical experiment tracking, env...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-1
os.environ["SERPAPI_API_KEY"] = "" Callbacks# from langchain.callbacks import ClearMLCallbackHandler from datetime import datetime from langchain.callbacks import StdOutCallbackHandler from langchain.llms import OpenAI # Setup and use the ClearML Callback clearml_callback = ClearMLCallbackHandler( task_type="infere...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-2
clearml_callback.flush_tracker(langchain_asset=llm, name="simple_sequential") {'action': 'on_llm_start', 'name': 'OpenAI', 'step': 3, 'starts': 2, 'ends': 1, 'errors': 0, 'text_ctr': 0, 'chain_starts': 0, 'chain_ends': 0, 'llm_starts': 2, 'llm_ends': 1, 'llm_streams': 0, 'tool_starts': 0, 'tool_ends': 0, 'agent_ends': ...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-3
{'action': 'on_llm_start', 'name': 'OpenAI', 'step': 3, 'starts': 2, 'ends': 1, 'errors': 0, 'text_ctr': 0, 'chain_starts': 0, 'chain_ends': 0, 'llm_starts': 2, 'llm_ends': 1, 'llm_streams': 0, 'tool_starts': 0, 'tool_ends': 0, 'agent_ends': 0, 'prompts': 'Tell me a poem'} {'action': 'on_llm_start', 'name': 'OpenAI', '...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-4
{'action': 'on_llm_end', 'token_usage_prompt_tokens': 24, 'token_usage_completion_tokens': 138, 'token_usage_total_tokens': 162, 'model_name': 'text-davinci-003', 'step': 4, 'starts': 2, 'ends': 2, 'errors': 0, 'text_ctr': 0, 'chain_starts': 0, 'chain_ends': 0, 'llm_starts': 2, 'llm_ends': 2, 'llm_streams': 0, 'tool_st...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-5
{'action': 'on_llm_end', 'token_usage_prompt_tokens': 24, 'token_usage_completion_tokens': 138, 'token_usage_total_tokens': 162, 'model_name': 'text-davinci-003', 'step': 4, 'starts': 2, 'ends': 2, 'errors': 0, 'text_ctr': 0, 'chain_starts': 0, 'chain_ends': 0, 'llm_starts': 2, 'llm_ends': 2, 'llm_streams': 0, 'tool_st...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-6
{'action': 'on_llm_end', 'token_usage_prompt_tokens': 24, 'token_usage_completion_tokens': 138, 'token_usage_total_tokens': 162, 'model_name': 'text-davinci-003', 'step': 4, 'starts': 2, 'ends': 2, 'errors': 0, 'text_ctr': 0, 'chain_starts': 0, 'chain_ends': 0, 'llm_starts': 2, 'llm_ends': 2, 'llm_streams': 0, 'tool_st...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-7
{'action': 'on_llm_end', 'token_usage_prompt_tokens': 24, 'token_usage_completion_tokens': 138, 'token_usage_total_tokens': 162, 'model_name': 'text-davinci-003', 'step': 4, 'starts': 2, 'ends': 2, 'errors': 0, 'text_ctr': 0, 'chain_starts': 0, 'chain_ends': 0, 'llm_starts': 2, 'llm_ends': 2, 'llm_streams': 0, 'tool_st...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-8
{'action': 'on_llm_end', 'token_usage_prompt_tokens': 24, 'token_usage_completion_tokens': 138, 'token_usage_total_tokens': 162, 'model_name': 'text-davinci-003', 'step': 4, 'starts': 2, 'ends': 2, 'errors': 0, 'text_ctr': 0, 'chain_starts': 0, 'chain_ends': 0, 'llm_starts': 2, 'llm_ends': 2, 'llm_streams': 0, 'tool_st...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-9
{'action': 'on_llm_end', 'token_usage_prompt_tokens': 24, 'token_usage_completion_tokens': 138, 'token_usage_total_tokens': 162, 'model_name': 'text-davinci-003', 'step': 4, 'starts': 2, 'ends': 2, 'errors': 0, 'text_ctr': 0, 'chain_starts': 0, 'chain_ends': 0, 'llm_starts': 2, 'llm_ends': 2, 'llm_streams': 0, 'tool_st...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-10
0 on_llm_start OpenAI 1 1 0 0 0 0 1 on_llm_start OpenAI 1 1 0 0 0 0 2 on_llm_start OpenAI 1 1 0 0 0 0 3 on_llm_start OpenAI 1 1 0 0 0 0 ...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-11
14 on_llm_start OpenAI 3 2 1 0 0 0 15 on_llm_start OpenAI 3 2 1 0 0 0 16 on_llm_start OpenAI 3 2 1 0 0 0 17 on_llm_start OpenAI 3 2 1 0 0 0 ...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-12
5 0 1 ... NaN NaN 6 0 1 ... 0.0 5.5 7 0 1 ... 2.0 6.5 8 0 1 ... 0.0 5.5 9 0 ...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-13
0 NaN NaN NaN NaN 1 NaN NaN NaN NaN 2 NaN NaN NaN NaN 3 NaN NaN NaN NaN 4 NaN N...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-14
21 8.28 6th and 7th grade 115.58 112.37 22 5.20 5th and 6th grade 133.58 131.54 23 8.28 6th and 7th grade 115.58 112.37 gutierrez_polini crawford gulpease_index osman 0 NaN NaN NaN ...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-15
19 54.83 1.4 72.1 100.17 20 62.30 -0.2 79.8 116.91 21 54.83 1.4 72.1 100.17 22 62.30 -0.2 79.8 116.91 23 54.83 1.4 72.1 100.17 [24 rows x 39 columns], 'session_an...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-16
2 \n\nQ: What did the fish say when it hit the w... 3 \n\nRoses are red,\nViolets are blue,\nSugar i... 4 \n\nQ: What did the fish say when it hit the w... 5 \n\nRoses are red,\nViolets are blue,\nSugar i... 6 \n\nQ: What did the fish say when it hit the w... 7 \n\nRoses are red,\nViolets are...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-17
1 138 83.66 4.8 2 138 109.04 1.3 3 138 83.66 4.8 4 138 109.04 1.3 ...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-18
10 ... 0 5.5 5.20 11 ... 2 6.5 8.28 text_standard fernandez_huerta szigriszt_pazos gutierrez_polini \ 0 5th and 6th grade 133.58 131.54 62.30 1 6th and 7th grade 115...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-19
crawford gulpease_index osman 0 -0.2 79.8 116.91 1 1.4 72.1 100.17 2 -0.2 79.8 116.91 3 1.4 72.1 100.17 4 -0.2 79.8 116.91 5 1.4 72.1 100.17 6 -0.2 79.8 116.91 7 1.4 ...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-20
Finally, if you enabled visualizations, these are stored as HTML files under debug samples. Scenario 2: Creating an agent with tools# To show a more advanced workflow, let’s create an agent with access to tools. The way ClearML tracks the results is not different though, only the table will look slightly different as t...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-21
{'action': 'on_llm_start', 'name': 'OpenAI', 'step': 2, 'starts': 2, 'ends': 0, 'errors': 0, 'text_ctr': 0, 'chain_starts': 1, 'chain_ends': 0, 'llm_starts': 1, 'llm_ends': 0, 'llm_streams': 0, 'tool_starts': 0, 'tool_ends': 0, 'agent_ends': 0, 'prompts': 'Answer the following questions as best you can. You have access...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-22
{'action': 'on_llm_end', 'token_usage_prompt_tokens': 189, 'token_usage_completion_tokens': 34, 'token_usage_total_tokens': 223, 'model_name': 'text-davinci-003', 'step': 3, 'starts': 2, 'ends': 1, 'errors': 0, 'text_ctr': 0, 'chain_starts': 1, 'chain_ends': 0, 'llm_starts': 1, 'llm_ends': 1, 'llm_streams': 0, 'tool_st...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-23
I need to find out who sang summer of 69 and then find out who their wife is. Action: Search Action Input: "Who sang summer of 69"{'action': 'on_agent_action', 'tool': 'Search', 'tool_input': 'Who sang summer of 69', 'log': ' I need to find out who sang summer of 69 and then find out who their wife is.\nAction: Search\...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-24
Observation: Bryan Adams - Summer Of 69 (Official Music Video). Thought:{'action': 'on_tool_end', 'output': 'Bryan Adams - Summer Of 69 (Official Music Video).', 'step': 6, 'starts': 4, 'ends': 2, 'errors': 0, 'text_ctr': 0, 'chain_starts': 1, 'chain_ends': 0, 'llm_starts': 1, 'llm_ends': 1, 'llm_streams': 0, 'tool_sta...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-25
{'action': 'on_llm_start', 'name': 'OpenAI', 'step': 7, 'starts': 5, 'ends': 2, 'errors': 0, 'text_ctr': 0, 'chain_starts': 1, 'chain_ends': 0, 'llm_starts': 2, 'llm_ends': 1, 'llm_streams': 0, 'tool_starts': 2, 'tool_ends': 1, 'agent_ends': 0, 'prompts': 'Answer the following questions as best you can. You have access...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-26
{'action': 'on_llm_end', 'token_usage_prompt_tokens': 242, 'token_usage_completion_tokens': 28, 'token_usage_total_tokens': 270, 'model_name': 'text-davinci-003', 'step': 8, 'starts': 5, 'ends': 3, 'errors': 0, 'text_ctr': 0, 'chain_starts': 1, 'chain_ends': 0, 'llm_starts': 2, 'llm_ends': 2, 'llm_streams': 0, 'tool_st...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-27
I need to find out who Bryan Adams is married to. Action: Search Action Input: "Who is Bryan Adams married to"{'action': 'on_agent_action', 'tool': 'Search', 'tool_input': 'Who is Bryan Adams married to', 'log': ' I need to find out who Bryan Adams is married to.\nAction: Search\nAction Input: "Who is Bryan Adams marri...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-28
Thought:{'action': 'on_tool_end', 'output': 'Bryan Adams has never married. In the 1990s, he was in a relationship with Danish model Cecilie Thomsen. In 2011, Bryan and Alicia Grimaldi, his ...', 'step': 11, 'starts': 7, 'ends': 4, 'errors': 0, 'text_ctr': 0, 'chain_starts': 1, 'chain_ends': 0, 'llm_starts': 2, 'llm_en...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-29
{'action': 'on_llm_start', 'name': 'OpenAI', 'step': 12, 'starts': 8, 'ends': 4, 'errors': 0, 'text_ctr': 0, 'chain_starts': 1, 'chain_ends': 0, 'llm_starts': 3, 'llm_ends': 2, 'llm_streams': 0, 'tool_starts': 4, 'tool_ends': 2, 'agent_ends': 0, 'prompts': 'Answer the following questions as best you can. You have acces...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-30
Bryan Adams has never married. In the 1990s, he was in a relationship with Danish model Cecilie Thomsen. In 2011, Bryan and Alicia Grimaldi, his ...\nThought:'}
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-31
{'action': 'on_llm_end', 'token_usage_prompt_tokens': 314, 'token_usage_completion_tokens': 18, 'token_usage_total_tokens': 332, 'model_name': 'text-davinci-003', 'step': 13, 'starts': 8, 'ends': 5, 'errors': 0, 'text_ctr': 0, 'chain_starts': 1, 'chain_ends': 0, 'llm_starts': 3, 'llm_ends': 3, 'llm_streams': 0, 'tool_s...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-32
I now know the final answer. Final Answer: Bryan Adams has never been married. {'action': 'on_agent_finish', 'output': 'Bryan Adams has never been married.', 'log': ' I now know the final answer.\nFinal Answer: Bryan Adams has never been married.', 'step': 14, 'starts': 8, 'ends': 6, 'errors': 0, 'text_ctr': 0, 'chain_...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-33
4 on_llm_start OpenAI 1 1 0 0 0 .. ... ... ... ... ... ... ... 66 on_tool_end NaN 11 7 4 0 0 67 on_llm_start OpenAI 12 8 4 0 0 68 on_llm_end NaN 13 8 ...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-34
69 1 0 3 ... NaN NaN NaN 70 1 1 3 ... NaN NaN NaN tool tool_input log \ 0 NaN NaN NaN 1 NaN ...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-35
0 2 Answer the following questions as best you can... OpenAI 1 7 Answer the following questions as best you can... OpenAI 2 12 Answer the following questions as best you can... OpenAI output_step output \ 0 3 I n...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
b8d052aaafc7-36
2 3rd and 4th grade 115.70 110.84 49.79 crawford gulpease_index osman 0 0.9 72.7 92.16 1 0.7 74.7 84.20 2 0.7 85.4 83.14 [3 rows x 24 columns]} Could not update last created model in Task 988bd727b0e94a29a3ac0ee526813545...
https://python.langchain.com/en/latest/integrations/clearml_tracking.html
5ea17a08d89d-0
.md .pdf IMSDb Contents Installation and Setup Document Loader IMSDb# IMSDb is the Internet Movie Script Database. Installation and Setup# There isn’t any special setup for it. Document Loader# See a usage example. from langchain.document_loaders import IMSDbLoader previous iFixit next Jina Contents Installation ...
https://python.langchain.com/en/latest/integrations/imsdb.html
bc6d7f780073-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...
https://python.langchain.com/en/latest/integrations/pgvector.html
f1cdb52128bb-0
.md .pdf Zilliz Contents Installation and Setup Wrappers VectorStore Zilliz# This page covers how to use the Zilliz Cloud ecosystem within LangChain. Zilliz uses the Milvus integration. It is broken into two parts: installation and setup, and then references to specific Milvus wrappers. Installation and Setup# Instal...
https://python.langchain.com/en/latest/integrations/zilliz.html
db722022191f-0
.md .pdf Prediction Guard Contents Installation and Setup LLM Wrapper Example usage Prediction Guard# This page covers how to use the Prediction Guard ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Prediction Guard wrappers. Installation and Setup# Ins...
https://python.langchain.com/en/latest/integrations/predictionguard.html
db722022191f-1
Exclusive Candle Box - $80 Monthly Candle Box - $45 (NEW!) Scent of The Month Box - $28 (NEW!) Head to stories to get ALLL the deets on each box! 👆 BONUS: Save 50% on your first box with code 50OFF! 🎉 Query: {query} Result: """ prompt = PromptTemplate(template=template, input_variables=["query"]) # With "guarding" o...
https://python.langchain.com/en/latest/integrations/predictionguard.html
db722022191f-2
template = """Question: {question} Answer: Let's think step by step.""" prompt = PromptTemplate(template=template, input_variables=["question"]) llm_chain = LLMChain(prompt=prompt, llm=pgllm, verbose=True) question = "What NFL team won the Super Bowl in the year Justin Beiber was born?" llm_chain.predict(question=quest...
https://python.langchain.com/en/latest/integrations/predictionguard.html
cf3a37e475d4-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...
https://python.langchain.com/en/latest/integrations/obsidian.html
d3ccc4e8f644-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...
https://python.langchain.com/en/latest/integrations/azure_openai.html
3f333af52978-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...
https://python.langchain.com/en/latest/integrations/qdrant.html
d879df88c9df-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...
https://python.langchain.com/en/latest/integrations/notion.html
6825ac949d9a-0
.ipynb .pdf Databricks Contents Installation and Setup Connecting to Databricks Syntax Required Parameters Optional Parameters Examples SQL Chain example SQL Database Agent example Databricks# This notebook covers how to connect to the Databricks runtimes and Databricks SQL using the SQLDatabase wrapper of LangChain....
https://python.langchain.com/en/latest/integrations/databricks.html
6825ac949d9a-1
warehouse_id: The warehouse ID in the Databricks SQL. cluster_id: The cluster ID in the Databricks Runtime. If running in a Databricks notebook and both ‘warehouse_id’ and ‘cluster_id’ are None, it uses the ID of the cluster the notebook is attached to. engine_args: The arguments to be used when connecting Databricks. ...
https://python.langchain.com/en/latest/integrations/databricks.html
6825ac949d9a-2
SQL Database Agent example# This example demonstrates the use of the SQL Database Agent for answering questions over a Databricks database. from langchain.agents import create_sql_agent from langchain.agents.agent_toolkits import SQLDatabaseToolkit toolkit = SQLDatabaseToolkit(db=db, llm=llm) agent = create_sql_agent( ...
https://python.langchain.com/en/latest/integrations/databricks.html
6825ac949d9a-3
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. Action: query_checker_sql_db Action Input: SELECT trip_distance, tpep_dropoff_datetime - t...
https://python.langchain.com/en/latest/integrations/databricks.html
0e1406a68636-0
.md .pdf Facebook Chat Contents Installation and Setup Document Loader Facebook Chat# Messenger is an American proprietary instant messaging app and platform developed by Meta Platforms. Originally developed as Facebook Chat in 2008, the company revamped its messaging service in 2010. Installation and Setup# First, y...
https://python.langchain.com/en/latest/integrations/facebook_chat.html
4192834d1c28-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 ...
https://python.langchain.com/en/latest/integrations/modern_treasury.html
10958e320bc7-0
.md .pdf Gutenberg Contents Installation and Setup Document Loader Gutenberg# Project Gutenberg is an online library of free eBooks. Installation and Setup# There isn’t any special setup for it. Document Loader# See a usage example. from langchain.document_loaders import GutenbergLoader previous Graphsignal next Hack...
https://python.langchain.com/en/latest/integrations/gutenberg.html
2f3671950bf0-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...
https://python.langchain.com/en/latest/integrations/unstructured.html
2f3671950bf0-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...
https://python.langchain.com/en/latest/integrations/unstructured.html
f84993d90542-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...
https://python.langchain.com/en/latest/integrations/hazy_research.html
a92bd05dbe8f-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...
https://python.langchain.com/en/latest/integrations/diffbot.html
cec579dc881e-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...
https://python.langchain.com/en/latest/integrations/azlyrics.html
4791bee1268a-0
.md .pdf Cohere Contents Installation and Setup Wrappers LLM Embeddings Cohere# This page covers how to use the Cohere ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Cohere wrappers. Installation and Setup# Install the Python SDK with pip install coher...
https://python.langchain.com/en/latest/integrations/cohere.html
be010b330b97-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...
https://python.langchain.com/en/latest/integrations/nlpcloud.html
7b5e5a86d348-0
.md .pdf MediaWikiDump Contents Installation and Setup Document Loader MediaWikiDump# MediaWiki XML Dumps contain the content of a wiki (wiki pages with all their revisions), without the site-related data. A XML dump does not create a full backup of the wiki database, the dump does not contain user accounts, images, ...
https://python.langchain.com/en/latest/integrations/mediawikidump.html
aa72d250a17e-0
.md .pdf Vectara Contents Installation and Setup VectorStore Vectara# What is Vectara? Vectara Overview: Vectara is developer-first API platform for building conversational search applications To use Vectara - first sign up and create an account. Then create a corpus and an API key for indexing and searching. You can...
https://python.langchain.com/en/latest/integrations/vectara.html
aa72d250a17e-1
Contents Installation and Setup VectorStore By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Jun 02, 2023.
https://python.langchain.com/en/latest/integrations/vectara.html
27a1c5f3c38e-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...
https://python.langchain.com/en/latest/integrations/yeagerai.html
27a1c5f3c38e-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...
https://python.langchain.com/en/latest/integrations/yeagerai.html
5741bba17d0f-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...
https://python.langchain.com/en/latest/integrations/comet_tracking.html
5741bba17d0f-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,...
https://python.langchain.com/en/latest/integrations/comet_tracking.html
5741bba17d0f-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( ...
https://python.langchain.com/en/latest/integrations/comet_tracking.html
5741bba17d0f-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...
https://python.langchain.com/en/latest/integrations/comet_tracking.html
5741bba17d0f-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...
https://python.langchain.com/en/latest/integrations/comet_tracking.html
db499a2c71fb-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...
https://python.langchain.com/en/latest/integrations/microsoft_powerpoint.html
559a6abf862a-0
.md .pdf Milvus Contents Installation and Setup Wrappers VectorStore Milvus# This page covers how to use the Milvus ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Milvus wrappers. Installation and Setup# Install the Python SDK with pip install pymilvus...
https://python.langchain.com/en/latest/integrations/milvus.html
70530d06f1aa-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...
https://python.langchain.com/en/latest/integrations/duckdb.html
51f606262425-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...
https://python.langchain.com/en/latest/integrations/ai21.html
ea6688bc83ba-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...
https://python.langchain.com/en/latest/integrations/openweathermap.html
2cb8ef5f1985-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...
https://python.langchain.com/en/latest/integrations/google_bigquery.html