Unnamed: 0 stringlengths 1 178 | link stringlengths 31 163 | text stringlengths 18 32.8k ⌀ |
|---|---|---|
795 | https://python.langchain.com/docs/integrations/callbacks/labelstudio | ComponentsCallbacksLabel StudioOn this pageLabel StudioLabel Studio is an open-source data labeling platform that provides LangChain with flexibility when it comes to labeling data for fine-tuning large language models (LLMs). It also enables the preparation of custom training data and the collection and evaluation of ... |
796 | https://python.langchain.com/docs/integrations/callbacks/llmonitor | ComponentsCallbacksLLMonitorOn this pageLLMonitorLLMonitor is an open-source observability platform that provides cost and usage analytics, user tracking, tracing and evaluation tools.SetupCreate an account on llmonitor.com, then copy your new app's tracking id.Once you have it, set it as an environment variable by ru... |
797 | https://python.langchain.com/docs/integrations/callbacks/promptlayer | ComponentsCallbacksPromptLayerOn this pagePromptLayerPromptLayer is a an LLM observability platform that lets you visualize requests, version prompts, and track usage. In this guide we will go over how to setup the PromptLayerCallbackHandler. While PromptLayer does have LLMs that integrate directly with LangChain (e.g.... |
798 | https://python.langchain.com/docs/integrations/callbacks/sagemaker_tracking | ComponentsCallbacksSageMaker TrackingOn this pageSageMaker TrackingThis notebook shows how LangChain Callback can be used to log and track prompts and other LLM hyperparameters into SageMaker Experiments. Here, we use different scenarios to showcase the capability:Scenario 1: Single LLM - A case where a single LLM mode... |
799 | https://python.langchain.com/docs/integrations/callbacks/streamlit | ComponentsCallbacksStreamlitOn this pageStreamlitStreamlit is a faster way to build and share data apps.
Streamlit turns data scripts into shareable web apps in minutes. All in pure Python. No front‑end experience required.
See more examples at streamlit.io/generative-ai.In this guide we will demonstrate how to use Str... |
800 | https://python.langchain.com/docs/integrations/callbacks/trubrics | ComponentsCallbacksTrubricsOn this pageTrubricsTrubrics is an LLM user analytics platform that lets you collect, analyse and manage user
prompts & feedback on AI models. In this guide we will go over how to setup the TrubricsCallbackHandler. Check out our repo for more information on Trubrics.Installation and Setuppip... |
801 | https://python.langchain.com/docs/integrations/chat_loaders | ComponentsChat loadersChat loaders📄️ DiscordThis notebook shows how to create your own chat loader that works on copy-pasted messages (from dms) to a list of LangChain messages.📄️ Facebook MessengerThis notebook shows how to load data from Facebook in a format you can finetune on. The overall steps are:📄️ GMailThis ... |
802 | https://python.langchain.com/docs/integrations/chat_loaders/discord | ComponentsChat loadersDiscordOn this pageDiscordThis notebook shows how to create your own chat loader that works on copy-pasted messages (from dms) to a list of LangChain messages.The process has four steps:Create the chat .txt file by copying chats from the Discord app and pasting them in a file on your local compute... |
803 | https://python.langchain.com/docs/integrations/chat_loaders/facebook | ComponentsChat loadersFacebook MessengerOn this pageFacebook MessengerThis notebook shows how to load data from Facebook in a format you can finetune on. The overall steps are:Download your messenger data to disk.Create the Chat Loader and call loader.load() (or loader.lazy_load()) to perform the conversion.Optionally ... |
804 | https://python.langchain.com/docs/integrations/chat_loaders/gmail | ComponentsChat loadersGMailGMailThis loader goes over how to load data from GMail. There are many ways you could want to load data from GMail. This loader is currently fairly opionated in how to do so. The way it does it is it first looks for all messages that you have sent. It then looks for messages where you are res... |
805 | https://python.langchain.com/docs/integrations/chat_loaders/imessage | ComponentsChat loadersiMessageOn this pageiMessageThis notebook shows how to use the iMessage chat loader. This class helps convert iMessage conversations to LangChain chat messages.On MacOS, iMessage stores conversations in a sqlite database at ~/Library/Messages/chat.db (at least for macOS Ventura 13.4).
The IMessage... |
806 | https://python.langchain.com/docs/integrations/chat_loaders/langsmith_dataset | ComponentsChat loadersFine-Tuning on LangSmith Chat DatasetsOn this pageFine-Tuning on LangSmith Chat DatasetsThis notebook demonstrates an easy way to load a LangSmith chat dataset fine-tune a model on that data.
The process is simple and comprises 3 steps.Create the chat dataset.Use the LangSmithDatasetChatLoader to ... |
807 | https://python.langchain.com/docs/integrations/chat_loaders/langsmith_llm_runs | ComponentsChat loadersFine-Tuning on LangSmith LLM RunsOn this pageFine-Tuning on LangSmith LLM RunsThis notebook demonstrates how to directly load data from LangSmith's LLM runs and fine-tune a model on that data.
The process is simple and comprises 3 steps.Select the LLM runs to train on.Use the LangSmithRunChatLoade... |
808 | https://python.langchain.com/docs/integrations/chat_loaders/slack | ComponentsChat loadersSlackOn this pageSlackThis notebook shows how to use the Slack chat loader. This class helps map exported slack conversations to LangChain chat messages.The process has three steps:Export the desired conversation thread by following the instructions here.Create the SlackChatLoader with the file pa... |
809 | https://python.langchain.com/docs/integrations/chat_loaders/telegram | ComponentsChat loadersTelegramOn this pageTelegramThis notebook shows how to use the Telegram chat loader. This class helps map exported Telegram conversations to LangChain chat messages.The process has three steps:Export the chat .txt file by copying chats from the Discord app and pasting them in a file on your local... |
810 | https://python.langchain.com/docs/integrations/chat_loaders/twitter | ComponentsChat loadersTwitter (via Apify)Twitter (via Apify)This notebook shows how to load chat messages from Twitter to finetune on. We do this by utilizing Apify. First, use Apify to export tweets. An exampleimport jsonfrom langchain.schema import AIMessagefrom langchain.adapters.openai import convert_message_to_dic... |
811 | https://python.langchain.com/docs/integrations/chat_loaders/wechat | ComponentsChat loadersWeChatOn this pageWeChatThere is not yet a straightforward way to export personal WeChat messages. However if you just need no more than few hundrudes of messages for model fine-tuning or few-shot examples, this notebook shows how to create your own chat loader that works on copy-pasted WeChat mes... |
812 | https://python.langchain.com/docs/integrations/chat_loaders/whatsapp | ComponentsChat loadersWhatsAppOn this pageWhatsAppThis notebook shows how to use the WhatsApp chat loader. This class helps map exported Telegram conversations to LangChain chat messages.The process has three steps:Export the chat conversations to computerCreate the WhatsAppChatLoader with the file path pointed to the ... |
812 | https://api.python.langchain.com/en/latest/api_reference.html# |
langchain API Reference¶
langchain.adapters¶
Classes¶
adapters.openai.ChatCompletion()
Functions¶
adapters.openai.aenumerate(iterable[, start])
Async version of enumerate.
adapters.openai.convert_dict_to_message(_dict)
adapters.openai.convert_message_to_dict(message)
adapters.openai.convert_me... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.