diff --git a/docs/docs/integrations/callbacks/argilla.ipynb b/docs/docs/integrations/callbacks/argilla.ipynb index 015f29e790..9e89cb5da9 100644 --- a/docs/docs/integrations/callbacks/argilla.ipynb +++ b/docs/docs/integrations/callbacks/argilla.ipynb @@ -7,8 +7,6 @@ "source": [ "# Argilla\n", "\n", - "![Argilla - Open-source data platform for LLMs](https://argilla.io/og.png)\n", - "\n", ">[Argilla](https://argilla.io/) is an open-source data curation platform for LLMs.\n", "> Using Argilla, everyone can build robust language models through faster data curation \n", "> using both human and machine feedback. We provide support for each step in the MLOps cycle, \n", @@ -410,7 +408,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.3" + "version": "3.10.12" }, "vscode": { "interpreter": { diff --git a/docs/docs/integrations/callbacks/context.ipynb b/docs/docs/integrations/callbacks/context.ipynb index d9edf77e26..b250f439b6 100644 --- a/docs/docs/integrations/callbacks/context.ipynb +++ b/docs/docs/integrations/callbacks/context.ipynb @@ -7,12 +7,9 @@ "source": [ "# Context\n", "\n", - "![Context - User Analytics for LLM Powered Products](https://with.context.ai/langchain.png)\n", + ">[Context](https://context.ai/) provides user analytics for LLM-powered products and features.\n", "\n", - "[Context](https://context.ai/) provides user analytics for LLM powered products and features.\n", - "\n", - "With Context, you can start understanding your users and improving their experiences in less than 30 minutes.\n", - "\n" + "With `Context`, you can start understanding your users and improving their experiences in less than 30 minutes.\n" ] }, { @@ -89,11 +86,9 @@ "metadata": {}, "source": [ "## Usage\n", - "### Using the Context callback within a chat model\n", - "\n", - "The Context callback handler can be used to directly record transcripts between users and AI assistants.\n", + "### Context callback within a chat model\n", "\n", - "#### Example" + "The Context callback handler can be used to directly record transcripts between users and AI assistants." ] }, { @@ -132,7 +127,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Using the Context callback within Chains\n", + "### Context callback within Chains\n", "\n", "The Context callback handler can also be used to record the inputs and outputs of chains. Note that intermediate steps of the chain are not recorded - only the starting inputs and final outputs.\n", "\n", @@ -149,9 +144,7 @@ ">handler = ContextCallbackHandler(token)\n", ">chat = ChatOpenAI(temperature=0.9, callbacks=[callback])\n", ">chain = LLMChain(llm=chat, prompt=chat_prompt_template, callbacks=[callback])\n", - ">```\n", - "\n", - "#### Example" + ">```\n" ] }, { @@ -203,7 +196,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.1" + "version": "3.10.12" }, "vscode": { "interpreter": { diff --git a/docs/docs/integrations/callbacks/infino.ipynb b/docs/docs/integrations/callbacks/infino.ipynb index bfcac65c7d..367f3a2f2d 100644 --- a/docs/docs/integrations/callbacks/infino.ipynb +++ b/docs/docs/integrations/callbacks/infino.ipynb @@ -7,12 +7,14 @@ "source": [ "# Infino\n", "\n", + ">[Infino](https://github.com/infinohq/infino) is a scalable telemetry store designed for logs, metrics, and traces. Infino can function as a standalone observability solution or as the storage layer in your observability stack.\n", + "\n", "This example shows how one can track the following while calling OpenAI and ChatOpenAI models via `LangChain` and [Infino](https://github.com/infinohq/infino):\n", "\n", - "* prompt input,\n", - "* response from `ChatGPT` or any other `LangChain` model,\n", - "* latency,\n", - "* errors,\n", + "* prompt input\n", + "* response from `ChatGPT` or any other `LangChain` model\n", + "* latency\n", + "* errors\n", "* number of tokens consumed" ] }, @@ -454,7 +456,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.1" + "version": "3.10.12" } }, "nbformat": 4, diff --git a/docs/docs/integrations/callbacks/labelstudio.ipynb b/docs/docs/integrations/callbacks/labelstudio.ipynb index de88fc1cbe..bb733f0dc1 100644 --- a/docs/docs/integrations/callbacks/labelstudio.ipynb +++ b/docs/docs/integrations/callbacks/labelstudio.ipynb @@ -4,6 +4,9 @@ "cell_type": "markdown", "metadata": { "collapsed": true, + "jupyter": { + "outputs_hidden": true + }, "pycharm": { "name": "#%% md\n" } @@ -11,17 +14,14 @@ "source": [ "# Label Studio\n", "\n", - "
\n", - "\n", - "
\n", "\n", - "Label 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 responses through human feedback.\n", + ">[Label Studio](https://labelstud.io/guide/get_started) 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 responses through human feedback.\n", "\n", - "In this guide, you will learn how to connect a LangChain pipeline to Label Studio to:\n", + "In this guide, you will learn how to connect a LangChain pipeline to `Label Studio` to:\n", "\n", - "- Aggregate all input prompts, conversations, and responses in a single LabelStudio project. This consolidates all the data in one place for easier labeling and analysis.\n", + "- Aggregate all input prompts, conversations, and responses in a single `Label Studio` project. This consolidates all the data in one place for easier labeling and analysis.\n", "- Refine prompts and responses to create a dataset for supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF) scenarios. The labeled data can be used to further train the LLM to improve its performance.\n", - "- Evaluate model responses through human feedback. LabelStudio provides an interface for humans to review and provide feedback on model responses, allowing evaluation and iteration." + "- Evaluate model responses through human feedback. `Label Studio` provides an interface for humans to review and provide feedback on model responses, allowing evaluation and iteration." ] }, { @@ -362,9 +362,9 @@ ], "metadata": { "kernelspec": { - "display_name": "labelops", + "display_name": "Python 3 (ipykernel)", "language": "python", - "name": "labelops" + "name": "python3" }, "language_info": { "codemirror_mode": { @@ -376,9 +376,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.16" + "version": "3.10.12" } }, "nbformat": 4, - "nbformat_minor": 1 + "nbformat_minor": 4 } diff --git a/docs/docs/integrations/callbacks/llmonitor.md b/docs/docs/integrations/callbacks/llmonitor.md index 9cbf1e3675..4ee85429f6 100644 --- a/docs/docs/integrations/callbacks/llmonitor.md +++ b/docs/docs/integrations/callbacks/llmonitor.md @@ -1,6 +1,6 @@ # LLMonitor -[LLMonitor](https://llmonitor.com?utm_source=langchain&utm_medium=py&utm_campaign=docs) is an open-source observability platform that provides cost and usage analytics, user tracking, tracing and evaluation tools. +>[LLMonitor](https://llmonitor.com?utm_source=langchain&utm_medium=py&utm_campaign=docs) is an open-source observability platform that provides cost and usage analytics, user tracking, tracing and evaluation tools.