id
stringlengths
14
16
text
stringlengths
44
2.73k
source
stringlengths
73
138
f3b68566083a-0
.md .pdf AtlasDB Contents Installation and Setup Wrappers VectorStore AtlasDB# This page covers how to use Nomic’s Atlas ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Atlas wrappers. Installation and Setup# Install the Python package with pip install ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\atlas.html
9e739a069119-0
.md .pdf Banana Contents Installation and Setup Define your Banana Template Build the Banana app Wrappers LLM Banana# This page covers how to use the Banana ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Banana wrappers. Installation and Setup# Install...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\bananadev.html
9e739a069119-1
) result = tokenizer.decode(output[0], skip_special_tokens=True) # Return the results as a dictionary result = {'output': result} return result You can find a full example of a Banana app here. Wrappers# LLM# There exists an Banana LLM wrapper, which you can access with from langchain.llms import Banana...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\bananadev.html
db72b6e93302-0
.md .pdf CerebriumAI Contents Installation and Setup Wrappers LLM CerebriumAI# This page covers how to use the CerebriumAI ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific CerebriumAI wrappers. Installation and Setup# Install with pip install cerebrium G...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\cerebriumai.html
028eb95d44a8-0
.md .pdf Chroma Contents Installation and Setup Wrappers VectorStore Chroma# This page covers how to use the Chroma ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Chroma wrappers. Installation and Setup# Install the Python package with pip install chro...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\chroma.html
29843b09a796-0
.ipynb .pdf ClearML Integration Contents Getting API Credentials Setting Up Scenario 1: Just an LLM Scenario 2: Creating an agent with tools Tips and Next Steps ClearML Integration# In order to properly keep track of your langchain experiments and their results, you can enable the ClearML integration. ClearML is an e...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-1
# Get the OpenAI model ready to go llm = OpenAI(temperature=0, callback_manager=manager, verbose=True) The clearml callback is currently in beta and is subject to change based on updates to `langchain`. Please report any issues to https://github.com/allegroai/clearml/issues with the tag `langchain`. Scenario 1: Just an...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-2
{'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', '...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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 joke'} {'action': 'on_llm_start', 'name': 'OpenAI', '...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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 ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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 ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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 ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-13
0 NaN NaN NaN NaN 1 NaN NaN NaN NaN 2 NaN NaN NaN NaN 3 NaN NaN NaN NaN 4 NaN N...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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 ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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 ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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 ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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\...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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:'}
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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_...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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 ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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 ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
29843b09a796-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\clearml_tracking.html
fb32b77bc7c2-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\cohere.html
dbe9906dbc59-0
.ipynb .pdf Comet Contents Install Comet and Dependencies Initialize Comet and Set your Credentials Set OpenAI and SerpAPI credentials Scenario 1: Using just an LLM Scenario 2: Using an LLM in a Chain Scenario 3: Using An Agent with Tools Scenario 4: Using Custom Evaluation Metrics Comet# In this guide we will demons...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\comet_tracking.html
dbe9906dbc59-1
) manager = CallbackManager([StdOutCallbackHandler(), comet_callback]) llm = OpenAI(temperature=0.9, callback_manager=manager, 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: Us...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\comet_tracking.html
dbe9906dbc59-2
from langchain.callbacks import CometCallbackHandler, StdOutCallbackHandler from langchain.callbacks.base import CallbackManager from langchain.llms import OpenAI comet_callback = CometCallbackHandler( project_name="comet-example-langchain", complexity_metrics=True, stream_logs=True, tags=["agent"], ) m...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\comet_tracking.html
dbe9906dbc59-3
def compute_metric(self, generation, prompt_idx, gen_idx): prediction = generation.text results = self.scorer.score(target=self.reference, prediction=prediction) return { "rougeLsum_score": results["rougeLsum"].fmeasure, "reference": self.reference, } reference = ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\comet_tracking.html
dbe9906dbc59-4
measuring 125 metres (410 ft) on each side. During its construction, the Eiffel Tower surpassed the Washington Monument to become the tallest man-made structure in the world, a title it held for 41 years until the Chrysler Building in New York City was...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\comet_tracking.html
23828425f760-0
.md .pdf Databerry Contents What is Databerry? Quick start Databerry# This page covers how to use the Databerry within LangChain. What is Databerry?# Databerry is an open source document retrievial platform that helps to connect your personal data with Large Language Models. Quick start# Retrieving documents stored i...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\databerry.html
206e9feee33c-0
.md .pdf DeepInfra Contents Installation and Setup Wrappers LLM DeepInfra# This page covers how to use the DeepInfra ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific DeepInfra wrappers. Installation and Setup# Get your DeepInfra api key from this link he...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\deepinfra.html
07af26c37a21-0
.md .pdf Deep Lake Contents Why Deep Lake? More Resources Installation and Setup Wrappers VectorStore Deep Lake# This page covers how to use the Deep Lake ecosystem within LangChain. Why Deep Lake?# More than just a (multi-modal) vector store. You can later use the dataset to fine-tune your own LLM models. Not only s...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\deeplake.html
7254ff562ae3-0
.md .pdf ForefrontAI Contents Installation and Setup Wrappers LLM ForefrontAI# This page covers how to use the ForefrontAI ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific ForefrontAI wrappers. Installation and Setup# Get an ForefrontAI api key and set i...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\forefrontai.html
4d7cfe683219-0
.md .pdf Google Search Wrapper Contents Installation and Setup Wrappers Utility Tool Google Search Wrapper# 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# Instal...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\google_search.html
4d5d74a8c15b-0
.md .pdf Google Serper Wrapper Contents Setup Wrappers Utility Output Tool Google Serper Wrapper# This page covers how to use the Serper Google Search API within LangChain. Serper is a low-cost Google Search API that can be used to add answer box, knowledge graph, and organic results data from Google Search. It is br...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\google_serper.html
4d5d74a8c15b-1
Yes. Follow up: Who is the reigning men's U.S. Open champion? Intermediate answer: Current champions Carlos Alcaraz, 2022 men's singles champion. Follow up: Where is Carlos Alcaraz from? Intermediate answer: El Palmar, Spain So the final answer is: El Palmar, Spain > Finished chain. 'El Palmar, Spain' For a more detail...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\google_serper.html
2d4fc13d2ca1-0
.md .pdf GooseAI Contents Installation and Setup Wrappers LLM GooseAI# This page covers how to use the GooseAI ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific GooseAI wrappers. Installation and Setup# Install the Python SDK with pip install openai Get y...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\gooseai.html
d80044a92ad2-0
.md .pdf GPT4All Contents Installation and Setup Usage GPT4All Model File GPT4All# This page covers how to use the GPT4All wrapper within LangChain. The tutorial is divided into two parts: installation and setup, followed by usage with an example. Installation and Setup# Install the Python package with pip install py...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\gpt4all.html
d80044a92ad2-1
You can find links to model file downloads in the pyllamacpp repository. For a more detailed walkthrough of this, see this notebook previous GooseAI next Graphsignal Contents Installation and Setup Usage GPT4All Model File By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Apr 2...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\gpt4all.html
2c13a16bc02e-0
.md .pdf Graphsignal Contents Installation and Setup Tracing and Monitoring Graphsignal# This page covers how to use Graphsignal to trace and monitor LangChain. Graphsignal enables full visibility into your application. It provides latency breakdowns by chains and tools, exceptions with full context, data monitoring,...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\graphsignal.html
3d77244f1891-0
.md .pdf Hazy Research Contents Installation and Setup Wrappers LLM Hazy Research# This page covers how to use the Hazy Research ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Hazy Research wrappers. Installation and Setup# To use the manifest, install...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\hazy_research.html
e1063834dc42-0
.md .pdf Helicone Contents What is Helicone? Quick start How to enable Helicone caching How to use Helicone custom properties Helicone# This page covers how to use the Helicone ecosystem within LangChain. What is Helicone?# Helicone is an open source observability platform that proxies your OpenAI traffic and provide...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\helicone.html
e1063834dc42-1
Quick start How to enable Helicone caching How to use Helicone custom properties By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Apr 25, 2023.
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\helicone.html
68c2df51fc57-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\huggingface.html
68c2df51fc57-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\huggingface.html
0fbf5494ada6-0
.md .pdf Jina Contents Installation and Setup Wrappers Embeddings Jina# This page covers how to use the Jina ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Jina wrappers. Installation and Setup# Install the Python SDK with pip install jina Get a Jina A...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\jina.html
16077f458ee7-0
.md .pdf Llama.cpp Contents Installation and Setup Wrappers LLM Embeddings Llama.cpp# This page covers how to use llama.cpp within LangChain. It is broken into two parts: installation and setup, and then references to specific Llama-cpp wrappers. Installation and Setup# Install the Python package with pip install lla...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\llamacpp.html
866081e38519-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\milvus.html
4220f4d08464-0
.md .pdf Modal Contents Installation and Setup Define your Modal Functions and Webhooks Wrappers LLM Modal# This page covers how to use the Modal ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Modal wrappers. Installation and Setup# Install with pip in...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\modal.html
4220f4d08464-1
@stub.webhook(method="POST") def get_text(item: Item): return {"prompt": run_gpt2.call(item.prompt)} Wrappers# LLM# There exists an Modal LLM wrapper, which you can access with from langchain.llms import Modal previous Milvus next MyScale Contents Installation and Setup Define your Modal Functions and Webhooks ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\modal.html
4fb34c329708-0
.md .pdf MyScale Contents Introduction Installation and Setup Setting up envrionments Wrappers VectorStore MyScale# This page covers how to use MyScale vector database within LangChain. It is broken into two parts: installation and setup, and then references to specific MyScale wrappers. With MyScale, you can manage ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\myscale.html
4fb34c329708-1
index = MyScale(embedding_function, config) index.add_documents(...) Wrappers# supported functions: add_texts add_documents from_texts from_documents similarity_search asimilarity_search similarity_search_by_vector asimilarity_search_by_vector similarity_search_with_relevance_scores VectorStore# There exists a wrapper ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\myscale.html
542e34e58d52-0
.md .pdf NLPCloud Contents Installation and Setup Wrappers LLM NLPCloud# This page covers how to use the NLPCloud ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific NLPCloud wrappers. Installation and Setup# Install the Python SDK with pip install nlpcloud...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\nlpcloud.html
4d0fccc0bc33-0
.md .pdf OpenAI Contents Installation and Setup Wrappers LLM Embeddings Tokenizer Moderation OpenAI# This page covers how to use the OpenAI ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific OpenAI wrappers. Installation and Setup# Install the Python SDK w...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\openai.html
4d0fccc0bc33-1
Contents Installation and Setup Wrappers LLM Embeddings Tokenizer Moderation By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Apr 25, 2023.
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\openai.html
0fef4ae6eccc-0
.md .pdf OpenSearch Contents Installation and Setup Wrappers VectorStore OpenSearch# This page covers how to use the OpenSearch ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific OpenSearch wrappers. Installation and Setup# Install the Python package with ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\opensearch.html
025084efb20d-0
.md .pdf Petals Contents Installation and Setup Wrappers LLM Petals# This page covers how to use the Petals ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Petals wrappers. Installation and Setup# Install with pip install petals Get a Hugging Face api k...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\petals.html
1fc47625f968-0
.md .pdf PGVector Contents Installation Setup Wrappers VectorStore Usage PGVector# This page covers how to use the Postgres PGVector ecosystem within LangChain It is broken into two parts: installation and setup, and then references to specific PGVector wrappers. Installation# Install the Python package with pip inst...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\pgvector.html
27253335b873-0
.md .pdf Pinecone Contents Installation and Setup Wrappers VectorStore Pinecone# This page covers how to use the Pinecone ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Pinecone wrappers. Installation and Setup# Install the Python SDK with pip install ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\pinecone.html
8671f23d0819-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...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\predictionguard.html
8671f23d0819-1
llm_chain.predict(question=question) previous Pinecone next PromptLayer Contents Installation and Setup LLM Wrapper Example usage By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Apr 25, 2023.
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\predictionguard.html
64dabc023a71-0
.md .pdf PromptLayer Contents Installation and Setup Wrappers LLM PromptLayer# This page covers how to use PromptLayer within LangChain. It is broken into two parts: installation and setup, and then references to specific PromptLayer wrappers. Installation and Setup# If you want to work with PromptLayer: Install the ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\promptlayer.html
64dabc023a71-1
you can add pl_tags when instantializing to tag your requests on PromptLayer you can add return_pl_id when instantializing to return a PromptLayer request id to use while tracking requests. PromptLayer also provides native wrappers for PromptLayerChatOpenAI and PromptLayerOpenAIChat previous Prediction Guard next Qdran...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\promptlayer.html
a80212f385ea-0
.md .pdf Qdrant Contents Installation and Setup Wrappers VectorStore Qdrant# This page covers how to use the Qdrant ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific Qdrant wrappers. Installation and Setup# Install the Python SDK with pip install qdrant-c...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\qdrant.html
e651c449bf44-0
.md .pdf Replicate Contents Installation and Setup Calling a model Replicate# This page covers how to run models on Replicate within LangChain. Installation and Setup# Create a Replicate account. Get your API key and set it as an environment variable (REPLICATE_API_TOKEN) Install the Replicate python client with pip ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\replicate.html
e651c449bf44-1
prompt = """ Answer the following yes/no question by reasoning step by step. Can a dog drive a car? """ llm(prompt) We can call any Replicate model (not just LLMs) using this syntax. For example, we can call Stable Diffusion: text2image = Replicate(model="stability-ai/stable-diffusion:db21e45d3f7023abc2a46ee38a23973f6d...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\replicate.html
51ce174c50b4-0
.md .pdf Runhouse Contents Installation and Setup Self-hosted LLMs Self-hosted Embeddings Runhouse# This page covers how to use the Runhouse ecosystem within LangChain. It is broken into three parts: installation and setup, LLMs, and Embeddings. Installation and Setup# Install the Python SDK with pip install runhouse...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\runhouse.html
a1670666315a-0
.md .pdf RWKV-4 Contents Installation and Setup Usage RWKV Model File Rwkv-4 models -> recommended VRAM RWKV-4# This page covers how to use the RWKV-4 wrapper within LangChain. It is broken into two parts: installation and setup, and then usage with an example. Installation and Setup# Install the Python package with ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\rwkv.html
a1670666315a-1
RWKV VRAM Model | 8bit | bf16/fp16 | fp32 14B | 16GB | 28GB | >50GB 7B | 8GB | 14GB | 28GB 3B | 2.8GB| 6GB | 12GB 1b5 | 1.3GB| 3GB | 6GB See the rwkv pip page for more information about strategies, including streaming and cuda support. previous Runhouse next SearxNG Search API Contents...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\rwkv.html
8be8612c39ec-0
.md .pdf SearxNG Search API Contents Installation and Setup Self Hosted Instance: Wrappers Utility Tool SearxNG Search API# This page covers how to use the SearxNG search API within LangChain. It is broken into two parts: installation and setup, and then references to the specific SearxNG API wrapper. Installation an...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\searx.html
8be8612c39ec-1
s.run("what is a large language model?") Tool# You can also load this wrapper as a Tool (to use with an Agent). You can do this with: from langchain.agents import load_tools tools = load_tools(["searx-search"], searx_host="http://localhost:8888", engines=["github"]) Note that we ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\searx.html
33ad8c95d7b8-0
.md .pdf SerpAPI Contents Installation and Setup Wrappers Utility Tool SerpAPI# This page covers how to use the SerpAPI search APIs within LangChain. It is broken into two parts: installation and setup, and then references to the specific SerpAPI wrapper. Installation and Setup# Install requirements with pip install ...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\serpapi.html
1c263ee6652d-0
.md .pdf StochasticAI Contents Installation and Setup Wrappers LLM StochasticAI# This page covers how to use the StochasticAI ecosystem within LangChain. It is broken into two parts: installation and setup, and then references to specific StochasticAI wrappers. Installation and Setup# Install with pip install stochas...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\stochasticai.html
837adb784cfa-0
.md .pdf Unstructured Contents Installation and Setup Wrappers Data Loaders Unstructured# This page covers how to use the unstructured ecosystem within LangChain. The unstructured package from Unstructured.IO extracts clean text from raw source documents like PDFs and Word documents. This page is broken into two part...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\unstructured.html
837adb784cfa-1
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 that information is available. previous StochasticAI next Wei...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\unstructured.html
7a64df073635-0
.ipynb .pdf Weights & Biases Weights & Biases# This notebook goes over how to track your LangChain experiments into one centralized Weights and Biases dashboard. To learn more about prompt engineering and the callback please refer to this Report which explains both alongside the resultant dashboards you can expect to s...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\wandb_tracking.html
7a64df073635-1
notes (str): The notes to log. visualize (bool): Whether to visualize the run. complexity_metrics (bool): Whether to log complexity metrics. stream_logs (bool): Whether to stream callback actions to W&B Default values for WandbCallbackHandler(...) visualize: bool = False, complexity_metrics: bool = False, s...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\wandb_tracking.html
7a64df073635-2
Tracking run with wandb version 0.14.0Run data is saved locally in /Users/harrisonchase/workplace/langchain/docs/ecosystem/wandb/run-20230318_150408-e47j1914Syncing run llm to Weights & Biases (docs) View project at https://wandb.ai/harrison-chase/langchain_callback_demo View run at https://wandb.ai/harrison-chase/lang...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\wandb_tracking.html
7a64df073635-3
wandb_callback.flush_tracker(llm, name="simple_sequential") Waiting for W&B process to finish... (success). View run llm at: https://wandb.ai/harrison-chase/langchain_callback_demo/runs/e47j1914Synced 5 W&B file(s), 2 media file(s), 5 artifact file(s) and 0 other file(s)Find logs at: ./wandb/run-20230318_150408-e47j191...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\wandb_tracking.html
7a64df073635-4
] synopsis_chain.apply(test_prompts) wandb_callback.flush_tracker(synopsis_chain, name="agent") Waiting for W&B process to finish... (success). View run simple_sequential at: https://wandb.ai/harrison-chase/langchain_callback_demo/runs/jyxma7huSynced 4 W&B file(s), 2 media file(s), 6 artifact file(s) and 0 other file(s...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\wandb_tracking.html
7a64df073635-5
Action: Search Action Input: "Leo DiCaprio girlfriend" Observation: DiCaprio had a steady girlfriend in Camila Morrone. He had been with the model turned actress for nearly five years, as they were first said to be dating at the end of 2017. And the now 26-year-old Morrone is no stranger to Hollywood. Thought: I need t...
rtdocs\python.langchain.com\langchain.readthedocs.io\en\latest\ecosystem\wandb_tracking.html