id
stringlengths
14
15
text
stringlengths
23
2.21k
source
stringlengths
52
97
6541376b3282-5
name="simple_sequential")Waiting for W&B process to finish... <strong style="color:green">(success).</strong>View run <strong style="color:#cdcd00">llm</strong> at: <a href='https://wandb.ai/harrison-chase/langchain_callback_demo/runs/e47j1914' target="_blank">https://wandb.ai/harrison-chase/langchain_callback_demo/run...
https://python.langchain.com/docs/integrations/providers/wandb_tracking
6541376b3282-6
run at <a href='https://wandb.ai/harrison-chase/langchain_callback_demo/runs/jyxma7hu' target="_blank">https://wandb.ai/harrison-chase/langchain_callback_demo/runs/jyxma7hu</a>from langchain.prompts import PromptTemplatefrom langchain.chains import LLMChain# SCENARIO 2 - Chaintemplate = """You are a playwright. Given t...
https://python.langchain.com/docs/integrations/providers/wandb_tracking
6541376b3282-7
file(s), 6 artifact file(s) and 0 other file(s)Find logs at: <code>./wandb/run-20230318_150534-jyxma7hu/logs</code>VBox(children=(Label(value='Waiting for wandb.init()...\r'), FloatProgress(value=0.016736786816666675, max=1.0…Tracking run with wandb version 0.14.0Run data is saved locally in <code>/Users/harrisonchas...
https://python.langchain.com/docs/integrations/providers/wandb_tracking
6541376b3282-8
= initialize_agent( tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,)agent.run( "Who is Leo DiCaprio's girlfriend? What is her current age raised to the 0.43 power?", callbacks=callbacks,)wandb_callback.flush_tracker(agent, reset=False, finish=True)> Entering new AgentExecutor chain... I need to ...
https://python.langchain.com/docs/integrations/providers/wandb_tracking
6541376b3282-9
file(s), 7 artifact file(s) and 0 other file(s)Find logs at: <code>./wandb/run-20230318_150550-wzy59zjq/logs</code>PreviousVespaNextWeatherCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/providers/wandb_tracking
8e2ec8817ada-0
C Transformers | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/ctransformers
8e2ec8817ada-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/ctransformers
8e2ec8817ada-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/ctransformers
8e2ec8817ada-3
It is broken into two parts: installation and setup, and then references to specific C Transformers wrappers.Installation and Setup​Install the Python package with pip install ctransformersDownload a supported GGML model (see Supported Models)Wrappers​LLM​There exists a CTransformers LLM wrapper, which you can ac...
https://python.langchain.com/docs/integrations/providers/ctransformers
cd6a69821b35-0
Reddit | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/reddit
cd6a69821b35-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/reddit
cd6a69821b35-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/reddit
b1b5ea4c0c10-0
Baseten | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/baseten
b1b5ea4c0c10-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/baseten
b1b5ea4c0c10-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/baseten
2723ad032a8d-0
GooseAI | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/gooseai
2723ad032a8d-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/gooseai
2723ad032a8d-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/gooseai
2723ad032a8d-3
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 openaiGet your GooseAI api key from this link here.Set the environment variable (GOOSEAI_API_KEY).import osos.environ["GOOSEAI_API_KEY"] = "YOUR_API_KEY"...
https://python.langchain.com/docs/integrations/providers/gooseai
cc54da66899e-0
DataForSEO | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/dataforseo
cc54da66899e-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/dataforseo
cc54da66899e-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/dataforseo
cc54da66899e-3
in Los Angeles")print(result)PreviousDatadog LogsNextDeepInfraInstallation and SetupWrappersUtilityToolExample usageEnvironment VariablesCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/providers/dataforseo
7182e4b1b566-0
Zep | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/providers/zep
7182e4b1b566-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVector storesGrouped by providerWandB TracingAI21 LabsAimAirbyteAirtableAleph AlphaAlibaba Cloud O...
https://python.langchain.com/docs/integrations/providers/zep
7182e4b1b566-2
EndpointSearxNG Search APISerpAPIShale ProtocolSingleStoreDBscikit-learnSlackspaCySpreedlyStarRocksStochasticAIStripeTairTelegramTigris2MarkdownTrelloTruLensTwitterTypesenseUnstructuredVectaraVespaWeights & BiasesWeatherWeaviateWhatsAppWhyLabsWikipediaWolfram AlphaWriterYeager.aiYouTubeZepZillizIntegrationsGrouped by p...
https://python.langchain.com/docs/integrations/providers/zep
f19b09dc5acc-0
Chat models | 🦜�🔗 Langchain Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsAnthropicAzureGoogle Cloud Platform Vertex AI PaLMJinaChatLlama APIOpenAIPromptLayer ChatOpenAIDocument loadersDocument transformersLLMsMemoryRetrieversTe...
https://python.langchain.com/docs/integrations/chat/
64de26e0946b-0
PromptLayer ChatOpenAI | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/chat/promptlayer_chatopenai
64de26e0946b-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsAnthropicAzureGoogle Cloud Platform Vertex AI PaLMJinaChatLlama APIOpenAIPromptLayer ChatOpenAIDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVec...
https://python.langchain.com/docs/integrations/chat/promptlayer_chatopenai
64de26e0946b-2
window. This is the life of a contented cat.', additional_kwargs={})The above request should now appear on your PromptLayer dashboard.Using PromptLayer Track​If you would like to use any of the PromptLayer tracking features, you need to pass the argument return_pl_id when instantializing the PromptLayer LLM to get th...
https://python.langchain.com/docs/integrations/chat/promptlayer_chatopenai
64de26e0946b-3
Overall, this gives you the opportunity to track the performance of different templates and models in the PromptLayer dashboard.PreviousOpenAINextDocument loadersInstall PromptLayerImportsSet the Environment API KeyUse the PromptLayerOpenAI LLM like normalUsing PromptLayer TrackCommunityDiscordTwitterGitHubPythonJS/TSM...
https://python.langchain.com/docs/integrations/chat/promptlayer_chatopenai
aa2d3183dea4-0
JinaChat | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/chat/jinachat
aa2d3183dea4-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsAnthropicAzureGoogle Cloud Platform Vertex AI PaLMJinaChatLlama APIOpenAIPromptLayer ChatOpenAIDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVec...
https://python.langchain.com/docs/integrations/chat/jinachat
aa2d3183dea4-2
= ( "You are a helpful assistant that translates {input_language} to {output_language}.")system_message_prompt = SystemMessagePromptTemplate.from_template(template)human_template = "{text}"human_message_prompt = HumanMessagePromptTemplate.from_template(human_template)chat_prompt = ChatPromptTemplate.from_messages( ...
https://python.langchain.com/docs/integrations/chat/jinachat
b0b93f72ed2d-0
Anthropic | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/chat/anthropic
b0b93f72ed2d-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsAnthropicAzureGoogle Cloud Platform Vertex AI PaLMJinaChatLlama APIOpenAIPromptLayer ChatOpenAIDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVec...
https://python.langchain.com/docs/integrations/chat/anthropic
b0b93f72ed2d-2
J'aime la programmation. AIMessage(content=" J'aime la programmation.", additional_kwargs={}, example=False)PreviousChat modelsNextAzureChatAnthropic also supports async and streaming functionality:CommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/chat/anthropic
9a48225e0809-0
Llama API | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/chat/llama_api
9a48225e0809-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsAnthropicAzureGoogle Cloud Platform Vertex AI PaLMJinaChatLlama APIOpenAIPromptLayer ChatOpenAIDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVec...
https://python.langchain.com/docs/integrations/chat/llama_api
9a48225e0809-2
"string", 'description': 'the language of the passage'}, }}chain = create_tagging_chain(schema, model)chain.run("give me your money") {'sentiment': 'aggressive', 'aggressiveness': 8}PreviousJinaChatNextOpenAICommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/chat/llama_api
6fdc67bb6f08-0
Google Cloud Platform Vertex AI PaLM | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/chat/google_vertex_ai_palm
6fdc67bb6f08-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsAnthropicAzureGoogle Cloud Platform Vertex AI PaLMJinaChatLlama APIOpenAIPromptLayer ChatOpenAIDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVec...
https://python.langchain.com/docs/integrations/chat/google_vertex_ai_palm
6fdc67bb6f08-2
install google-cloud-aiplatformfrom langchain.chat_models import ChatVertexAIfrom langchain.prompts.chat import ( ChatPromptTemplate, SystemMessagePromptTemplate, HumanMessagePromptTemplate,)from langchain.schema import HumanMessage, SystemMessagechat = ChatVertexAI()messages = [ SystemMessage( conte...
https://python.langchain.com/docs/integrations/chat/google_vertex_ai_palm
6fdc67bb6f08-3
input_language="English", output_language="French", text="I love programming." ).to_messages()) AIMessage(content='Sure, here is the translation of "I love programming" in French:\n\nJ\'aime programmer.', additional_kwargs={}, example=False)You can now leverage the Codey API for code chat within Vertex AI. The mo...
https://python.langchain.com/docs/integrations/chat/google_vertex_ai_palm
3d441c66b30e-0
Azure | 🦜�🔗 Langchain Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsAnthropicAzureGoogle Cloud Platform Vertex AI PaLMJinaChatLlama APIOpenAIPromptLayer ChatOpenAIDocument loadersDocument transformersLLMsMemoryRetrieversText emb...
https://python.langchain.com/docs/integrations/chat/azure_chat_openai
c93466c38ba4-0
OpenAI | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/chat/openai
c93466c38ba4-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsAnthropicAzureGoogle Cloud Platform Vertex AI PaLMJinaChatLlama APIOpenAIPromptLayer ChatOpenAIDocument loadersDocument transformersLLMsMemoryRetrieversText embedding modelsAgent toolkitsToolsVec...
https://python.langchain.com/docs/integrations/chat/openai
c93466c38ba4-2
use ChatPromptTemplate's format_prompt -- this returns a PromptValue, which you can convert to a string or Message object, depending on whether you want to use the formatted value as input to an llm or chat model.For convenience, there is a from_template method exposed on the template. If you were to use this template,...
https://python.langchain.com/docs/integrations/chat/openai
f0b1e063b7cd-0
Document transformers | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_transformers/
f0b1e063b7cd-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersDoctran Extract PropertiesDoctran Interrogate DocumentsDoctran Translate Documentshtml2textOpenAI Functions Metadata TaggerLLMsMemoryRetrieversText embedding ...
https://python.langchain.com/docs/integrations/document_transformers/
f0b1e063b7cd-2
documents, performing this labelling process manually can be tedious.PreviousYouTube transcriptsNextDoctran Extract PropertiesCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/document_transformers/
8a30f5fa1157-0
html2text | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_transformers/html2text
8a30f5fa1157-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersDoctran Extract PropertiesDoctran Interrogate DocumentsDoctran Translate Documentshtml2textOpenAI Functions Metadata TaggerLLMsMemoryRetrieversText embedding ...
https://python.langchain.com/docs/integrations/document_transformers/html2text
8a30f5fa1157-2
Daily Podcast\n\n2023 FIFA Women's World Cup\n\n## Follow live: Canada takes on Nigeria in group stage of Women's World Cup\n\n2m\n\nEPA/Morgan Hancock\n\n## TOP HEADLINES\n\n * Snyder fined $60M over findings in investigation\n * NFL owners approve $6.05B sale of Commanders\n * Jags assistant comes out as gay in NF...
https://python.langchain.com/docs/integrations/document_transformers/html2text
8a30f5fa1157-3
the model to learn.\n * Long-term memory: This provides the agent with the capability to retain and recall (infinite) information over extended periods, often by leveraging an external vector store and fast retrieval.\n * **Tool use**\n * The agent learns to call external APIs for extra information that is missi...
https://python.langchain.com/docs/integrations/document_transformers/html2text
2e29b80767a8-0
Doctran Translate Documents | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_transformers/doctran_translate_document
2e29b80767a8-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersDoctran Extract PropertiesDoctran Interrogate DocumentsDoctran Translate Documentshtml2textOpenAI Functions Metadata TaggerLLMsMemoryRetrieversText embedding ...
https://python.langchain.com/docs/integrations/document_transformers/doctran_translate_document
2e29b80767a8-2
data, we have implemented robust measures across all our systems. We would like to commend John Doe (email: john.doe@example.com) from the IT department for his diligent work in enhancing our network security. Moving forward, we kindly remind everyone to strictly adhere to our data protection policies and guidelines. A...
https://python.langchain.com/docs/integrations/document_transformers/doctran_translate_document
2e29b80767a8-3
to remind everyone to share their ideas and suggestions for potential new projects during our monthly R&D brainstorming session, scheduled for July 10th.Please treat the information in this document with utmost confidentiality and ensure that it is not shared with unauthorized individuals. If you have any questions or ...
https://python.langchain.com/docs/integrations/document_transformers/doctran_translate_document
2e29b80767a8-4
de los datos de nuestros clientes, hemos implementado medidas robustas en todos nuestros sistemas. Nos gustaría elogiar a John Doe (correo electrónico: john.doe@example.com) del departamento de TI por su diligente trabajo en mejorar nuestra seguridad de red. En adelante, recordamos amablemente a todos que se adhieran...
https://python.langchain.com/docs/integrations/document_transformers/doctran_translate_document
2e29b80767a8-5
la conciencia de marca y fomentar la participación del cliente. Nos gustaría agradecer a Sarah Thompson (teléfono: 415-555-1234) por sus excepcionales esfuerzos en la gestión de nuestras plataformas de redes sociales. Sarah ha aumentado con éxito nuestra base de seguidores en un 20% solo en el último mes. Además...
https://python.langchain.com/docs/integrations/document_transformers/doctran_translate_document
2e29b80767a8-6
de que no se comparte con personas no autorizadas. Si tienen alguna pregunta o inquietud sobre los temas discutidos, no duden en ponerse en contacto conmigo directamente. Gracias por su atención, y sigamos trabajando juntos para alcanzar nuestros objetivos. Saludos cordiales, Jason Fan Cofundad...
https://python.langchain.com/docs/integrations/document_transformers/doctran_translate_document
81fc529afa78-0
Doctran Interrogate Documents | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_transformers/doctran_interrogate_document
81fc529afa78-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersDoctran Extract PropertiesDoctran Interrogate DocumentsDoctran Translate Documentshtml2textOpenAI Functions Metadata TaggerLLMsMemoryRetrieversText embedding ...
https://python.langchain.com/docs/integrations/document_transformers/doctran_interrogate_document
81fc529afa78-2
all our systems. We would like to commend John Doe (email: john.doe@example.com) from the IT department for his diligent work in enhancing our network security. Moving forward, we kindly remind everyone to strictly adhere to our data protection policies and guidelines. Additionally, if you come across any potential sec...
https://python.langchain.com/docs/integrations/document_transformers/doctran_interrogate_document
81fc529afa78-3
for potential new projects during our monthly R&D brainstorming session, scheduled for July 10th.Please treat the information in this document with utmost confidentiality and ensure that it is not shared with unauthorized individuals. If you have any questions or concerns regarding the topics discussed, please do not h...
https://python.langchain.com/docs/integrations/document_transformers/doctran_interrogate_document
81fc529afa78-4
for her outstanding performance in customer service. Jane has consistently received positive feedback from our clients. Furthermore, please remember that the open enrollment period for our employee benefits program is fast approaching. Should you have any questions or require assistance, please contact our HR represent...
https://python.langchain.com/docs/integrations/document_transformers/doctran_interrogate_document
81fc529afa78-5
Best regards, Jason Fan Cofounder & CEO Psychic jason@psychic.dev documents = [Document(page_content=sample_text)]qa_transformer = DoctranQATransformer()transformed_document = await qa_transformer.atransform_documents(documents)Output​After interrogating a document, the result will be returned as a...
https://python.langchain.com/docs/integrations/document_transformers/doctran_interrogate_document
81fc529afa78-6
recognized for outstanding performance in customer service?", "answer": "Jane Smith has been recognized for her outstanding performance in customer service." }, { "question": "When is the open enrollment period for the employee benefits program?", "answer": "The document does no...
https://python.langchain.com/docs/integrations/document_transformers/doctran_interrogate_document
81fc529afa78-7
"David Rodriguez has been recognized for his contributions to the development of the company's technology." }, { "question": "When is the monthly R&D brainstorming session?", "answer": "The monthly R&D brainstorming session is scheduled for July 10th." }, { "questi...
https://python.langchain.com/docs/integrations/document_transformers/doctran_interrogate_document
a4b7c8da599e-0
Doctran Extract Properties | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_transformers/doctran_extract_properties
a4b7c8da599e-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersDoctran Extract PropertiesDoctran Interrogate DocumentsDoctran Translate Documentshtml2textOpenAI Functions Metadata TaggerLLMsMemoryRetrieversText embedding ...
https://python.langchain.com/docs/integrations/document_transformers/doctran_extract_properties
a4b7c8da599e-2
in enhancing our network security. Moving forward, we kindly remind everyone to strictly adhere to our data protection policies and guidelines. Additionally, if you come across any potential security risks or incidents, please report them immediately to our dedicated team at security@example.com.HR Updates and Employee...
https://python.langchain.com/docs/integrations/document_transformers/doctran_extract_properties
a4b7c8da599e-3
confidentiality and ensure that it is not shared with unauthorized individuals. If you have any questions or concerns regarding the topics discussed, please do not hesitate to reach out to me directly.Thank you for your attention, and let's continue to work together to achieve our goals.Best regards,Jason FanCofounder ...
https://python.langchain.com/docs/integrations/document_transformers/doctran_extract_properties
a4b7c8da599e-4
remember that the open enrollment period for our employee benefits program is fast approaching. Should you have any questions or require assistance, please contact our HR representative, Michael Johnson (phone: 418-492-3850, email: michael.johnson@example.com). Marketing Initiatives and Campaigns Our marketin...
https://python.langchain.com/docs/integrations/document_transformers/doctran_extract_properties
a4b7c8da599e-5
& CEO Psychic jason@psychic.dev documents = [Document(page_content=sample_text)]properties = [ { "name": "category", "description": "What type of email this is.", "type": "string", "enum": ["update", "action_item", "customer_feedback", "announcement", "other"], "required":...
https://python.langchain.com/docs/integrations/document_transformers/doctran_extract_properties
a4b7c8da599e-6
in the metadataextracted_document = await property_extractor.atransform_documents( documents, properties=properties)print(json.dumps(extracted_document[0].metadata, indent=2)) { "extracted_properties": { "category": "update", "mentions": [ "John Doe", "Jane Smith", "M...
https://python.langchain.com/docs/integrations/document_transformers/doctran_extract_properties
de2f32bdb4e6-0
OpenAI Functions Metadata Tagger | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_transformers/openai_metadata_tagger
de2f32bdb4e6-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersDoctran Extract PropertiesDoctran Interrogate DocumentsDoctran Translate Documentshtml2textOpenAI Functions Metadata TaggerLLMsMemoryRetrieversText embedding ...
https://python.langchain.com/docs/integrations/document_transformers/openai_metadata_tagger
de2f32bdb4e6-2
"rating": { "type": "integer", "description": "The number of stars the critic rated the movie", }, }, "required": ["movie_title", "critic", "tone"],}# Must be an OpenAI model that supports functionsllm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo-0613")document_transformer = creat...
https://python.langchain.com/docs/integrations/document_transformers/openai_metadata_tagger
de2f32bdb4e6-3
Ebert", "tone": "positive", "rating": 4} --------------- Review of The Godfather By Anonymous This movie was super boring. 1 out of 5 stars. {"movie_title": "The Godfather", "critic": "Anonymous", "tone": "negative", "rating": 1, "reliable": false}The new documents can then be further pro...
https://python.langchain.com/docs/integrations/document_transformers/openai_metadata_tagger
de2f32bdb4e6-4
1 out of 5 stars. {"movie_title": "The Godfather", "critic": "Anonymous", "tone": "negative", "rating": 1, "reliable": false}Customization​You can pass the underlying tagging chain the standard LLMChain arguments in the document transformer constructor. For example, if you wanted to ask the LLM to focus specif...
https://python.langchain.com/docs/integrations/document_transformers/openai_metadata_tagger
de2f32bdb4e6-5
Ebert", "tone": "negative", "rating": 1, "reliable": false}Previoushtml2textNextLLMsCustomizationCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/document_transformers/openai_metadata_tagger
e34d405cfc71-0
LLMs | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/llms/
e34d405cfc71-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsAI21Aleph AlphaAmazon API GatewayAnyscaleAzure OpenAIAzureML Online EndpointBananaBasetenBeamBedrockCerebriumAIChatGLMClarifaiCohereC TransformersDatabric...
https://python.langchain.com/docs/integrations/llms/
e34d405cfc71-2
AnyscaleAnyscale is a fully-managed Ray platform, on which you can build, deploy, and manage scalable AI and Python applications📄� Azure OpenAIThis notebook goes over how to use Langchain with Azure OpenAI.📄� AzureML Online EndpointAzureML is a platform used to build, train, and deploy machine learning models...
https://python.langchain.com/docs/integrations/llms/
e34d405cfc71-3
ChatGLMChatGLM-6B is an open bilingual language model based on General Language Model (GLM) framework, with 6.2 billion parameters. With the quantization technique, users can deploy locally on consumer-grade graphics cards (only 6GB of GPU memory is required at the INT4 quantization level).📄� ClarifaiClarifai is a...
https://python.langchain.com/docs/integrations/llms/
e34d405cfc71-4
dialogue.📄� Hugging Face HubThe Hugging Face Hub is a platform with over 120k models, 20k datasets, and 50k demo apps (Spaces), all open source and publicly available, in an online platform where people can easily collaborate and build ML together.📄� Hugging Face Local PipelinesHugging Face models can be run ...
https://python.langchain.com/docs/integrations/llms/
e34d405cfc71-5
NLP CloudThe NLP Cloud serves high performance pre-trained or custom models for NER, sentiment-analysis, classification, summarization, paraphrasing, grammar and spelling correction, keywords and keyphrases extraction, chatbot, product description and ad generation, intent classification, text generation, image generat...
https://python.langchain.com/docs/integrations/llms/
e34d405cfc71-6
PromptLayer OpenAIPromptLayer is the first platform that allows you to track, manage, and share your GPT prompt engineering. PromptLayer acts a middleware between your code and OpenAI’s python library.📄� RELLMRELLM is a library that wraps local Hugging Face pipeline models for structured decoding.📄� Replica...
https://python.langchain.com/docs/integrations/llms/
e34d405cfc71-7
domains and tasks. By providing clear and detailed instructions, you can obtain results that better align with your expectations.📄� WriterWriter is a platform to generate different language content.PreviousOpenAI Functions Metadata TaggerNextAI21CommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © ...
https://python.langchain.com/docs/integrations/llms/
dd9e94c9c02e-0
Databricks | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/llms/databricks
dd9e94c9c02e-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsAI21Aleph AlphaAmazon API GatewayAnyscaleAzure OpenAIAzureML Online EndpointBananaBasetenBeamBedrockCerebriumAIChatGLMClarifaiCohereC TransformersDatabric...
https://python.langchain.com/docs/integrations/llms/databricks
dd9e94c9c02e-2
It supports two endpoint types:Serving endpoint, recommended for production and development,Cluster driver proxy app, recommended for iteractive development.from langchain.llms import DatabricksWrapping a serving endpoint​Prerequisites:An LLM was registered and deployed to a Databricks serving endpoint.You have "Can ...
https://python.langchain.com/docs/integrations/llms/databricks
dd9e94c9c02e-3
= dbutils.secrets.get("myworkspace", "api_token")llm = Databricks(host="myworkspace.cloud.databricks.com", endpoint_name="dolly")llm("How are you?") 'I am fine. Thank you!'# If the serving endpoint accepts extra parameters like `temperature`,# you can set them in `model_kwargs`.llm = Databricks(endpoint_name="dolly"...
https://python.langchain.com/docs/integrations/llms/databricks
dd9e94c9c02e-4
"stop": {"type": "array", "items": {"type": "string"}}}, "required": ["prompt"]}outputs: {"type": "string"}If the server schema is incompatible or you want to insert extra configs, you can use transform_input_fn and transform_output_fn accordingly.The following is a minimal example for running a driver proxy app to se...
https://python.langchain.com/docs/integrations/llms/databricks
dd9e94c9c02e-5
result = dolly(prompt, stopping_criteria=[check_stop], **kwargs) return result[0]["generated_text"].rstrip(check_stop.matched)app = Flask("dolly")@app.route('/', methods=['POST'])def serve_llm(): resp = llm(**request.json) return jsonify(resp)app.run(host="0.0.0.0", port="7777")Once the server is running, you can cr...
https://python.langchain.com/docs/integrations/llms/databricks
dd9e94c9c02e-6
Be Concise. """ request["prompt"] = full_prompt return requestdef transform_output(response): return response.upper()llm = Databricks( cluster_driver_port="7777", transform_input_fn=transform_input, transform_output_fn=transform_output,)llm("How are you?") 'I AM DOING GREAT THANK YOU.'PreviousC ...
https://python.langchain.com/docs/integrations/llms/databricks
93870d4d9ad6-0
Google Cloud Platform Vertex AI PaLM | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/llms/google_vertex_ai_palm
93870d4d9ad6-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersDocument transformersLLMsAI21Aleph AlphaAmazon API GatewayAnyscaleAzure OpenAIAzureML Online EndpointBananaBasetenBeamBedrockCerebriumAIChatGLMClarifaiCohereC TransformersDatabric...
https://python.langchain.com/docs/integrations/llms/google_vertex_ai_palm