id
stringlengths
14
16
text
stringlengths
45
2.73k
source
stringlengths
49
114
c823bd0dc19a-0
.md .pdf Deployments Contents Streamlit Gradio (on Hugging Face) Beam Vercel Digitalocean App Platform SteamShip Langchain-serve BentoML Deployments# So you’ve made a really cool chain - now what? How do you deploy it and make it easily sharable with the world? This section covers several options for that. Note that ...
https://python.langchain.com/en/latest/deployments.html
c823bd0dc19a-1
A minimal example on how to deploy LangChain to DigitalOcean App Platform. SteamShip# This repository contains LangChain adapters for Steamship, enabling LangChain developers to rapidly deploy their apps on Steamship. This includes: production ready endpoints, horizontal scaling across dependencies, persistant storage ...
https://python.langchain.com/en/latest/deployments.html
fd665fbd389f-0
.rst .pdf LangChain Ecosystem LangChain Ecosystem# Guides for how other companies/products can be used with LangChain AI21 Labs Aim Apify AtlasDB Banana CerebriumAI Chroma ClearML Integration Cohere Comet Databerry DeepInfra Deep Lake ForefrontAI Google Search Wrapper Google Serper Wrapper GooseAI GPT4All Graphsignal H...
https://python.langchain.com/en/latest/ecosystem.html
c259d926c58e-0
.rst .pdf LangChain Gallery Contents Open Source Misc. Colab Notebooks Proprietary LangChain Gallery# Lots of people have built some pretty awesome stuff with LangChain. This is a collection of our favorites. If you see any other demos that you think we should highlight, be sure to let us know! Open Source# HowDoI.ai...
https://python.langchain.com/en/latest/gallery.html
c259d926c58e-1
Record sounds of anything (birds, wind, fire, train station) and chat with it. ChatGPT LangChain This simple application demonstrates a conversational agent implemented with OpenAI GPT-3.5 and LangChain. When necessary, it leverages tools for complex math, searching the internet, and accessing news and weather. GPT Mat...
https://python.langchain.com/en/latest/gallery.html
c259d926c58e-2
Daimon A chat-based AI personal assistant with long-term memory about you. Summarize any file with AI Summarize not only long docs, interview audio or video files quickly, but also entire websites and YouTube videos. Share or download your generated summaries to collaborate with others, or revisit them at any time! Bon...
https://python.langchain.com/en/latest/gallery.html
0f6cc4f855d6-0
Index _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | Z _ __call__() (langchain.llms.AI21 method) (langchain.llms.AlephAlpha method) (langchain.llms.Anthropic method) (langchain.llms.AzureOpenAI method) (langchain.llms.Banana method) (langchain.llm...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-1
(langchain.llms.StochasticAI method) (langchain.llms.Writer method) A aadd_documents() (langchain.vectorstores.VectorStore method) aadd_texts() (langchain.vectorstores.VectorStore method) aapply() (langchain.chains.LLMChain method) aapply_and_parse() (langchain.chains.LLMChain method) add() (langchain.docstore.InMemory...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-2
(langchain.llms.AzureOpenAI method) (langchain.llms.Banana method) (langchain.llms.CerebriumAI method) (langchain.llms.Cohere method) (langchain.llms.DeepInfra method) (langchain.llms.ForefrontAI method) (langchain.llms.GooseAI method) (langchain.llms.GPT4All method) (langchain.llms.HuggingFaceEndpoint method) (langcha...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-3
(langchain.llms.GooseAI method) (langchain.llms.GPT4All method) (langchain.llms.HuggingFaceEndpoint method) (langchain.llms.HuggingFaceHub method) (langchain.llms.HuggingFacePipeline method) (langchain.llms.LlamaCpp method) (langchain.llms.Modal method) (langchain.llms.NLPCloud method) (langchain.llms.OpenAI method) (l...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-4
amax_marginal_relevance_search() (langchain.vectorstores.VectorStore method) amax_marginal_relevance_search_by_vector() (langchain.vectorstores.VectorStore method) Annoy (class in langchain.vectorstores) answers (langchain.utilities.searx_search.SearxResults property) api_answer_chain (langchain.chains.APIChain attribu...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-5
asimilarity_search() (langchain.vectorstores.VectorStore method) asimilarity_search_by_vector() (langchain.vectorstores.VectorStore method) AtlasDB (class in langchain.vectorstores) atransform_documents() (langchain.text_splitter.TextSplitter method) B bad_words (langchain.llms.NLPCloud attribute) base_embeddings (lang...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-6
Chroma (class in langchain.vectorstores) CHUNK_LEN (langchain.llms.RWKV attribute) chunk_size (langchain.embeddings.OpenAIEmbeddings attribute) client (langchain.llms.Petals attribute) combine_docs_chain (langchain.chains.AnalyzeDocumentChain attribute) combine_documents_chain (langchain.chains.MapReduceChain attribute...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-7
(langchain.llms.PromptLayerOpenAI class method) (langchain.llms.PromptLayerOpenAIChat class method) (langchain.llms.Replicate class method) (langchain.llms.RWKV class method) (langchain.llms.SagemakerEndpoint class method) (langchain.llms.SelfHostedHuggingFaceLLM class method) (langchain.llms.SelfHostedPipeline class m...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-8
(langchain.llms.LlamaCpp method) (langchain.llms.Modal method) (langchain.llms.NLPCloud method) (langchain.llms.OpenAI method) (langchain.llms.OpenAIChat method) (langchain.llms.Petals method) (langchain.llms.PromptLayerOpenAI method) (langchain.llms.PromptLayerOpenAIChat method) (langchain.llms.Replicate method) (lang...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-9
(langchain.agents.ConversationalChatAgent class method) (langchain.agents.ReActTextWorldAgent class method) (langchain.agents.ZeroShotAgent class method) create_sql_agent() (in module langchain.agents) create_vectorstore_agent() (in module langchain.agents) create_vectorstore_router_agent() (in module langchain.agents)...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-10
(langchain.llms.GooseAI method) (langchain.llms.GPT4All method) (langchain.llms.HuggingFaceEndpoint method) (langchain.llms.HuggingFaceHub method) (langchain.llms.HuggingFacePipeline method) (langchain.llms.LlamaCpp method) (langchain.llms.Modal method) (langchain.llms.NLPCloud method) (langchain.llms.OpenAI method) (l...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-11
(langchain.llms.GPT4All attribute) (langchain.llms.LlamaCpp attribute) ElasticVectorSearch (class in langchain.vectorstores) embed_documents() (langchain.chains.HypotheticalDocumentEmbedder method) (langchain.embeddings.AlephAlphaAsymmetricSemanticEmbedding method) (langchain.embeddings.AlephAlphaSymmetricSemanticEmbed...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-12
(langchain.embeddings.OpenAIEmbeddings method) (langchain.embeddings.SagemakerEndpointEmbeddings method) (langchain.embeddings.SelfHostedEmbeddings method) (langchain.embeddings.SelfHostedHuggingFaceInstructEmbeddings method) (langchain.embeddings.TensorflowHubEmbeddings method) embedding (langchain.llms.GPT4All attrib...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-13
F f16_kv (langchain.embeddings.LlamaCppEmbeddings attribute) (langchain.llms.GPT4All attribute) (langchain.llms.LlamaCpp attribute) FAISS (class in langchain.vectorstores) fetch_k (langchain.prompts.example_selector.MaxMarginalRelevanceExampleSelector attribute) format() (langchain.prompts.BaseChatPromptTemplate method...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-14
(langchain.vectorstores.FAISS class method) from_examples() (langchain.prompts.example_selector.MaxMarginalRelevanceExampleSelector class method) (langchain.prompts.example_selector.SemanticSimilarityExampleSelector class method) (langchain.prompts.PromptTemplate class method) from_existing_index() (langchain.vectorsto...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-15
from_template() (langchain.prompts.PromptTemplate class method) from_texts() (langchain.vectorstores.Annoy class method) (langchain.vectorstores.AtlasDB class method) (langchain.vectorstores.Chroma class method) (langchain.vectorstores.DeepLake class method) (langchain.vectorstores.ElasticVectorSearch class method) (la...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-16
(langchain.llms.LlamaCpp method) (langchain.llms.Modal method) (langchain.llms.NLPCloud method) (langchain.llms.OpenAI method) (langchain.llms.OpenAIChat method) (langchain.llms.Petals method) (langchain.llms.PromptLayerOpenAI method) (langchain.llms.PromptLayerOpenAIChat method) (langchain.llms.Replicate method) (lang...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-17
(langchain.llms.PromptLayerOpenAIChat method) (langchain.llms.Replicate method) (langchain.llms.RWKV method) (langchain.llms.SagemakerEndpoint method) (langchain.llms.SelfHostedHuggingFaceLLM method) (langchain.llms.SelfHostedPipeline method) (langchain.llms.StochasticAI method) (langchain.llms.Writer method) get_all_t...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-18
(langchain.llms.PromptLayerOpenAIChat method) (langchain.llms.Replicate method) (langchain.llms.RWKV method) (langchain.llms.SagemakerEndpoint method) (langchain.llms.SelfHostedHuggingFaceLLM method) (langchain.llms.SelfHostedPipeline method) (langchain.llms.StochasticAI method) (langchain.llms.Writer method) get_num_t...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-19
(langchain.llms.StochasticAI method) (langchain.llms.Writer method) get_params() (langchain.serpapi.SerpAPIWrapper method) get_principles() (langchain.chains.ConstitutionalChain class method) get_sub_prompts() (langchain.llms.AzureOpenAI method) (langchain.llms.OpenAI method) (langchain.llms.PromptLayerOpenAI method) g...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-20
(langchain.prompts.example_selector.SemanticSimilarityExampleSelector attribute) input_variables (langchain.chains.SequentialChain attribute) (langchain.chains.TransformChain attribute) (langchain.prompts.BasePromptTemplate attribute) (langchain.prompts.FewShotPromptTemplate attribute) (langchain.prompts.FewShotPromptW...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-21
(langchain.llms.StochasticAI method) (langchain.llms.Writer method) K k (langchain.chains.QAGenerationChain attribute) (langchain.chains.VectorDBQA attribute) (langchain.chains.VectorDBQAWithSourcesChain attribute) (langchain.llms.Cohere attribute) (langchain.prompts.example_selector.SemanticSimilarityExampleSelector a...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-22
(langchain.chains.LLMSummarizationCheckerChain attribute) (langchain.chains.PALChain attribute) (langchain.chains.SQLDatabaseChain attribute) llm_chain (langchain.agents.Agent attribute) (langchain.agents.LLMSingleActionAgent attribute) (langchain.chains.HypotheticalDocumentEmbedder attribute) (langchain.chains.LLMRequ...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-23
(langchain.llms.Writer attribute) lookup_tool() (langchain.agents.AgentExecutor method) M MarkdownTextSplitter (class in langchain.text_splitter) max_checks (langchain.chains.LLMSummarizationCheckerChain attribute) max_execution_time (langchain.agents.AgentExecutor attribute) (langchain.agents.MRKLChain attribute) (lan...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-24
(langchain.llms.AzureOpenAI attribute) (langchain.llms.OpenAIChat attribute) (langchain.llms.PromptLayerOpenAIChat attribute) max_tokens (langchain.llms.AzureOpenAI attribute) (langchain.llms.Cohere attribute) (langchain.llms.GooseAI attribute) (langchain.llms.LlamaCpp attribute) max_tokens_for_prompt() (langchain.llms...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-25
(langchain.embeddings.CohereEmbeddings attribute) (langchain.llms.AI21 attribute) (langchain.llms.AlephAlpha attribute) (langchain.llms.Anthropic attribute) (langchain.llms.Cohere attribute) (langchain.llms.GPT4All attribute) (langchain.llms.RWKV attribute) model_id (langchain.embeddings.SelfHostedHuggingFaceEmbeddings...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-26
model_load_fn (langchain.embeddings.SelfHostedHuggingFaceEmbeddings attribute) (langchain.llms.SelfHostedHuggingFaceLLM attribute) (langchain.llms.SelfHostedPipeline attribute) model_name (langchain.chains.OpenAIModerationChain attribute) (langchain.embeddings.HuggingFaceEmbeddings attribute) (langchain.embeddings.Hugg...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-27
(langchain.llms.AzureOpenAI attribute) (langchain.llms.GooseAI attribute) n_batch (langchain.embeddings.LlamaCppEmbeddings attribute) (langchain.llms.GPT4All attribute) (langchain.llms.LlamaCpp attribute) n_ctx (langchain.embeddings.LlamaCppEmbeddings attribute) (langchain.llms.GPT4All attribute) (langchain.llms.LlamaC...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-28
(langchain.chains.QAGenerationChain property) output_parser (langchain.agents.Agent attribute) (langchain.agents.ConversationalAgent attribute) (langchain.agents.ConversationalChatAgent attribute) (langchain.agents.LLMSingleActionAgent attribute) (langchain.agents.ReActTextWorldAgent attribute) (langchain.agents.ZeroSh...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-29
prefix (langchain.prompts.FewShotPromptTemplate attribute) (langchain.prompts.FewShotPromptWithTemplates attribute) prefix_messages (langchain.llms.OpenAIChat attribute) (langchain.llms.PromptLayerOpenAIChat attribute) prep_prompts() (langchain.chains.LLMChain method) prep_streaming_params() (langchain.llms.AzureOpenAI...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-30
query_suffix (langchain.utilities.searx_search.SearxSearchWrapper attribute) R random_seed (langchain.llms.Writer attribute) raw_completion (langchain.llms.AlephAlpha attribute) REACT_DOCSTORE (langchain.agents.AgentType attribute) RecursiveCharacterTextSplitter (class in langchain.text_splitter) reduce_k_below_max_tok...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-31
retriever (langchain.chains.ConversationalRetrievalChain attribute) (langchain.chains.RetrievalQA attribute) (langchain.chains.RetrievalQAWithSourcesChain attribute) return_all (langchain.chains.SequentialChain attribute) return_direct (langchain.chains.SQLDatabaseChain attribute) return_intermediate_steps (langchain.a...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-32
(langchain.llms.AlephAlpha method) (langchain.llms.Anthropic method) (langchain.llms.AzureOpenAI method) (langchain.llms.Banana method) (langchain.llms.CerebriumAI method) (langchain.llms.Cohere method) (langchain.llms.DeepInfra method) (langchain.llms.ForefrontAI method) (langchain.llms.GooseAI method) (langchain.llms...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-33
search_kwargs (langchain.chains.ChatVectorDBChain attribute) (langchain.chains.VectorDBQA attribute) (langchain.chains.VectorDBQAWithSourcesChain attribute) search_type (langchain.chains.VectorDBQA attribute) searx_host (langchain.utilities.searx_search.SearxSearchWrapper attribute) SearxResults (class in langchain.uti...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-34
(langchain.vectorstores.Chroma method) (langchain.vectorstores.DeepLake method) (langchain.vectorstores.FAISS method) (langchain.vectorstores.SupabaseVectorStore method) (langchain.vectorstores.VectorStore method) (langchain.vectorstores.Weaviate method) similarity_search_by_vector_returning_embeddings() (langchain.vec...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-35
stop (langchain.agents.LLMSingleActionAgent attribute) (langchain.chains.PALChain attribute) (langchain.llms.GPT4All attribute) (langchain.llms.LlamaCpp attribute) (langchain.llms.Writer attribute) stop_sequences (langchain.llms.AlephAlpha attribute) strategy (langchain.llms.RWKV attribute) stream() (langchain.llms.Ant...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-36
(langchain.llms.ForefrontAI attribute) (langchain.llms.GooseAI attribute) (langchain.llms.LlamaCpp attribute) (langchain.llms.NLPCloud attribute) (langchain.llms.Petals attribute) (langchain.llms.RWKV attribute) (langchain.llms.Writer attribute) template (langchain.prompts.PromptTemplate attribute) template_format (lan...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-37
(langchain.llms.Anthropic attribute) (langchain.llms.ForefrontAI attribute) (langchain.llms.GPT4All attribute) (langchain.llms.LlamaCpp attribute) (langchain.llms.NLPCloud attribute) (langchain.llms.Petals attribute) (langchain.llms.Writer attribute) top_k_docs_for_context (langchain.chains.ChatVectorDBChain attribute)...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-38
(langchain.llms.GooseAI class method) (langchain.llms.GPT4All class method) (langchain.llms.HuggingFaceEndpoint class method) (langchain.llms.HuggingFaceHub class method) (langchain.llms.HuggingFacePipeline class method) (langchain.llms.LlamaCpp class method) (langchain.llms.Modal class method) (langchain.llms.NLPCloud...
https://python.langchain.com/en/latest/genindex.html
0f6cc4f855d6-39
(langchain.prompts.example_selector.SemanticSimilarityExampleSelector attribute) verbose (langchain.agents.MRKLChain attribute) (langchain.agents.ReActChain attribute) (langchain.agents.SelfAskWithSearchChain attribute) (langchain.llms.AzureOpenAI attribute) (langchain.llms.OpenAI attribute) (langchain.llms.OpenAIChat ...
https://python.langchain.com/en/latest/genindex.html
9b3be9d3a514-0
.md .pdf Glossary Contents Chain of Thought Prompting Action Plan Generation ReAct Prompting Self-ask Prompt Chaining Memetic Proxy Self Consistency Inception MemPrompt Glossary# This is a collection of terminology commonly used when developing LLM applications. It contains reference to external papers or sources whe...
https://python.langchain.com/en/latest/glossary.html
9b3be9d3a514-1
Language Model Cascades ICE Primer Book Socratic Models Memetic Proxy# Encouraging the LLM to respond in a certain way framing the discussion in a context that the model knows of and that will result in that type of response. For example, as a conversation between a student and a teacher. Resources: Paper Self Consiste...
https://python.langchain.com/en/latest/glossary.html
5065016ebfa0-0
.rst .pdf Welcome to LangChain Contents Getting Started Modules Use Cases Reference Docs LangChain Ecosystem Additional Resources Welcome to LangChain# LangChain is a framework for developing applications powered by language models. We believe that the most powerful and differentiated applications will not only call ...
https://python.langchain.com/en/latest/index.html
5065016ebfa0-1
Agents: Agents involve an LLM making decisions about which Actions to take, taking that Action, seeing an Observation, and repeating that until done. LangChain provides a standard interface for agents, a selection of agents to choose from, and examples of end to end agents. Use Cases# The above modules can be used in a...
https://python.langchain.com/en/latest/index.html
5065016ebfa0-2
Evaluation: Generative models are notoriously hard to evaluate with traditional metrics. One new way of evaluating them is using language models themselves to do the evaluation. LangChain provides some prompts/chains for assisting in this. Reference Docs# All of LangChain’s reference documentation, in one place. Full d...
https://python.langchain.com/en/latest/index.html
5065016ebfa0-3
By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Apr 21, 2023.
https://python.langchain.com/en/latest/index.html
16bab3924504-0
.ipynb .pdf Model Comparison Model Comparison# Constructing your language model application will likely involved choosing between many different options of prompts, models, and even chains to use. When doing so, you will want to compare these different options on different inputs in an easy, flexible, and intuitive way...
https://python.langchain.com/en/latest/model_laboratory.html
16bab3924504-1
pink prompt = PromptTemplate(template="What is the capital of {state}?", input_variables=["state"]) model_lab_with_prompt = ModelLaboratory.from_llms(llms, prompt=prompt) model_lab_with_prompt.compare("New York") Input: New York OpenAI Params: {'model': 'text-davinci-002', 'temperature': 0.0, 'max_tokens': 256, 'top_p'...
https://python.langchain.com/en/latest/model_laboratory.html
16bab3924504-2
names = [str(open_ai_llm), str(cohere_llm)] model_lab = ModelLaboratory(chains, names=names) model_lab.compare("What is the hometown of the reigning men's U.S. Open champion?") Input: What is the hometown of the reigning men's U.S. Open champion? OpenAI Params: {'model': 'text-davinci-002', 'temperature': 0.0, 'max_tok...
https://python.langchain.com/en/latest/model_laboratory.html
16bab3924504-3
So the final answer is: Carlos Alcaraz By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Apr 21, 2023.
https://python.langchain.com/en/latest/model_laboratory.html
c81d15605b64-0
.rst .pdf API References API References# All of LangChain’s reference documentation, in one place. Full documentation on all methods, classes, and APIs in LangChain. Prompts LLMs Utilities Chains Agents previous Integrations next Utilities By Harrison Chase © Copyright 2023, Harrison Chase. Last upd...
https://python.langchain.com/en/latest/reference.html
d0932442c116-0
Search Error Please activate JavaScript to enable the search functionality. Ctrl+K By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Apr 21, 2023.
https://python.langchain.com/en/latest/search.html
3bb125362f30-0
.md .pdf Tracing Contents Tracing Walkthrough Changing Sessions Tracing# By enabling tracing in your LangChain runs, you’ll be able to more effectively visualize, step through, and debug your chains and agents. First, you should install tracing and set up your environment properly. You can use either a locally hosted...
https://python.langchain.com/en/latest/tracing.html
3bb125362f30-1
Changing Sessions# To initially record traces to a session other than "default", you can set the LANGCHAIN_SESSION environment variable to the name of the session you want to record to: import os os.environ["LANGCHAIN_HANDLER"] = "langchain" os.environ["LANGCHAIN_SESSION"] = "my_session" # Make sure this session actual...
https://python.langchain.com/en/latest/tracing.html
6b8a4ac39c49-0
.md .pdf YouTube Contents Introduction to LangChain with Harrison Chase, creator of LangChain Tutorials Videos (sorted by views) YouTube# This is a collection of LangChain tutorials and videos on YouTube. Introduction to LangChain with Harrison Chase, creator of LangChain# Building the Future with LLMs, LangChain, & ...
https://python.langchain.com/en/latest/youtube.html
6b8a4ac39c49-1
Working With The New ChatGPT API OpenAI + LangChain Wrote Me 100 Custom Sales Emails Structured Output From OpenAI (Clean Dirty Data) Connect OpenAI To +5,000 Tools (LangChain + Zapier) Use LLMs To Extract Data From Text (Expert Mode) LangChain How to and guides by Sam Witteveen: LangChain Basics - LLMs & PromptTemplat...
https://python.langchain.com/en/latest/youtube.html
6b8a4ac39c49-2
GPT-4 & LangChain Tutorial: How to Chat With A 56-Page PDF Document (w/Pinecone) Videos (sorted by views)# Building AI LLM Apps with LangChain (and more?) - LIVE STREAM by Nicholas Renotte First look - ChatGPT + WolframAlpha (GPT-3.5 and Wolfram|Alpha via LangChain by James Weaver) by Dr Alan D. Thompson LangChain expl...
https://python.langchain.com/en/latest/youtube.html
6b8a4ac39c49-3
Analyze Custom CSV Data with GPT-4 using Langchain by Venelin Valkov Langchain Overview - How to Use Langchain & ChatGPT by Python In Office Custom langchain Agent & Tools with memory. Turn any Python function into langchain tool with Gpt 3 by echohive ChatGPT with any YouTube video using langchain and chromadb by echo...
https://python.langchain.com/en/latest/youtube.html
c4f58ffa0359-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/ecosystem/ai21.html
9fa51afda123-0
.ipynb .pdf Aim Aim# Aim makes it super easy to visualize and debug LangChain executions. Aim tracks inputs and outputs of LLMs and tools, as well as actions of agents. With Aim, you can easily debug and examine an individual execution: Additionally, you have the option to compare multiple executions side by side: Aim ...
https://python.langchain.com/en/latest/ecosystem/aim_tracking.html
9fa51afda123-1
session_group = datetime.now().strftime("%m.%d.%Y_%H.%M.%S") aim_callback = AimCallbackHandler( repo=".", experiment_name="scenario 1: OpenAI LLM", ) manager = CallbackManager([StdOutCallbackHandler(), aim_callback]) llm = OpenAI(temperature=0, callback_manager=manager, verbose=True) The flush_tracker function ...
https://python.langchain.com/en/latest/ecosystem/aim_tracking.html
9fa51afda123-2
] synopsis_chain.apply(test_prompts) aim_callback.flush_tracker( langchain_asset=synopsis_chain, experiment_name="scenario 3: Agent with Tools" ) Scenario 3 The third scenario involves an agent with tools. from langchain.agents import initialize_agent, load_tools from langchain.agents import AgentType # scenario 3 ...
https://python.langchain.com/en/latest/ecosystem/aim_tracking.html
9fa51afda123-3
Thought: I now know the final answer Final Answer: Camila Morrone is Leo DiCaprio's girlfriend and her current age raised to the 0.43 power is 3.991298452658078. > Finished chain. previous AI21 Labs next Apify By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Apr 21, 2023.
https://python.langchain.com/en/latest/ecosystem/aim_tracking.html
a46497557d42-0
.md .pdf Apify Contents Overview Installation and Setup Wrappers Utility Loader Apify# This page covers how to use Apify within LangChain. Overview# Apify is a cloud platform for web scraping and data extraction, which provides an ecosystem of more than a thousand ready-made apps called Actors for various scraping, c...
https://python.langchain.com/en/latest/ecosystem/apify.html
a7065b48b0bb-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 ...
https://python.langchain.com/en/latest/ecosystem/atlas.html
428b35a45d8b-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...
https://python.langchain.com/en/latest/ecosystem/bananadev.html
428b35a45d8b-1
bad_words_ids=[[tokenizer.encode(' ', add_prefix_space=True)[0]]] ) 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 Banan...
https://python.langchain.com/en/latest/ecosystem/bananadev.html
b8e2638ce281-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...
https://python.langchain.com/en/latest/ecosystem/cerebriumai.html
e953a2fe451c-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...
https://python.langchain.com/en/latest/ecosystem/chroma.html
f2492ef993c7-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...
https://python.langchain.com/en/latest/ecosystem/clearml_tracking.html
f2492ef993c7-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...
https://python.langchain.com/en/latest/ecosystem/clearml_tracking.html
f2492ef993c7-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', '...
https://python.langchain.com/en/latest/ecosystem/clearml_tracking.html
f2492ef993c7-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', '...
https://python.langchain.com/en/latest/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html
f2492ef993c7-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/ecosystem/clearml_tracking.html