|
|
@ -1,16 +1,18 @@
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"cells": [
|
|
|
|
"cells": [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"id": "30ccfdbc",
|
|
|
|
"id": "30ccfdbc",
|
|
|
|
"metadata": {
|
|
|
|
"metadata": {
|
|
|
|
"id": "30ccfdbc"
|
|
|
|
"id": "30ccfdbc"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"source": [
|
|
|
|
"source": [
|
|
|
|
|
|
|
|
"# OpenAI API Monitoring with W&B Weave\n",
|
|
|
|
|
|
|
|
"\n",
|
|
|
|
"<img src=\"http://wandb.me/logo-im-png\" width=\"400\" alt=\"Weights & Biases\" />\n",
|
|
|
|
"<img src=\"http://wandb.me/logo-im-png\" width=\"400\" alt=\"Weights & Biases\" />\n",
|
|
|
|
"<!--- @wandbcode{weave_openai_client_qs} -->\n",
|
|
|
|
|
|
|
|
"\n",
|
|
|
|
"\n",
|
|
|
|
"# OpenAI API Monitoring with W&B Weave\n",
|
|
|
|
"<!--- @wandbcode{weave_openai_client_qs} -->\n",
|
|
|
|
"\n",
|
|
|
|
"\n",
|
|
|
|
"<a target=\"_blank\" href=\"https://colab.research.google.com/github/wandb/weave/blob/master/examples/prompts/llm_monitoring/openai_client_quickstart.ipynb\">\n",
|
|
|
|
"<a target=\"_blank\" href=\"https://colab.research.google.com/github/wandb/weave/blob/master/examples/prompts/llm_monitoring/openai_client_quickstart.ipynb\">\n",
|
|
|
|
" <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/>\n",
|
|
|
|
" <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/>\n",
|
|
|
@ -96,6 +98,7 @@
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"id": "32e91f9c-0640-4346-8c4a-e5f35256afe6",
|
|
|
|
"id": "32e91f9c-0640-4346-8c4a-e5f35256afe6",
|
|
|
|
"metadata": {
|
|
|
|
"metadata": {
|
|
|
@ -122,6 +125,7 @@
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"id": "26402897-4f73-4dd6-9314-2a1c60638e4d",
|
|
|
|
"id": "26402897-4f73-4dd6-9314-2a1c60638e4d",
|
|
|
|
"metadata": {
|
|
|
|
"metadata": {
|
|
|
@ -156,6 +160,7 @@
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"id": "fb51abb4",
|
|
|
|
"id": "fb51abb4",
|
|
|
|
"metadata": {
|
|
|
|
"metadata": {
|
|
|
@ -206,6 +211,7 @@
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"id": "4ace8f71-3e50-444b-89e0-a8a619a9e0a8",
|
|
|
|
"id": "4ace8f71-3e50-444b-89e0-a8a619a9e0a8",
|
|
|
|
"metadata": {
|
|
|
|
"metadata": {
|
|
|
@ -245,6 +251,7 @@
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"id": "450dc210-3526-4f6e-a05a-df15ebf8d398",
|
|
|
|
"id": "450dc210-3526-4f6e-a05a-df15ebf8d398",
|
|
|
|
"metadata": {
|
|
|
|
"metadata": {
|
|
|
@ -275,6 +282,7 @@
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
"attachments": {},
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"cell_type": "markdown",
|
|
|
|
"id": "81945b3c-310e-404b-aea7-a47c6760db2e",
|
|
|
|
"id": "81945b3c-310e-404b-aea7-a47c6760db2e",
|
|
|
|
"metadata": {
|
|
|
|
"metadata": {
|
|
|
|