From 71099b1b9e6f2cb755340982f83f9d26fcb07f34 Mon Sep 17 00:00:00 2001 From: Martyn Davies Date: Fri, 5 Apr 2024 16:36:35 +0200 Subject: [PATCH 1/2] update demo user id reference --- docs/api/examples/anthropic.mdx | 2 +- .../notebooks/superface_hub_api_anthropic_weather_example.ipynb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/examples/anthropic.mdx b/docs/api/examples/anthropic.mdx index 001d6d2..a4a447a 100644 --- a/docs/api/examples/anthropic.mdx +++ b/docs/api/examples/anthropic.mdx @@ -29,7 +29,7 @@ from IPython.display import display, Markdown SUPERFACE_USER_ID_CONSTANT = # Use the number to create a unique ID -SUPERFACE_USER_ID = "sfoaidemo|" + str(SUPERFACE_USER_ID_CONSTANT) +SUPERFACE_USER_ID = "sfclaudedemo|" + str(SUPERFACE_USER_ID_CONSTANT) # Default URL for Superface SUPERFACE_BASE_URL = "https://pod.superface.ai/api/hub" diff --git a/static/notebooks/superface_hub_api_anthropic_weather_example.ipynb b/static/notebooks/superface_hub_api_anthropic_weather_example.ipynb index bb55950..040da70 100644 --- a/static/notebooks/superface_hub_api_anthropic_weather_example.ipynb +++ b/static/notebooks/superface_hub_api_anthropic_weather_example.ipynb @@ -49,7 +49,7 @@ "SUPERFACE_USER_ID_CONSTANT = 123456789\n", "\n", "# Use the number to create a unique ID\n", - "SUPERFACE_USER_ID = \"sfoaidemo|\" + str(SUPERFACE_USER_ID_CONSTANT)\n", + "SUPERFACE_USER_ID = \"sfclaudedemo|\" + str(SUPERFACE_USER_ID_CONSTANT)\n", "\n", "# Default URL for Superface\n", "SUPERFACE_BASE_URL = \"https://pod.superface.ai/api/hub\"\n", From 270b601c52f6d6d41063756fb0e22be33befa30e Mon Sep 17 00:00:00 2001 From: Martyn Davies Date: Fri, 5 Apr 2024 16:38:21 +0200 Subject: [PATCH 2/2] add > back to end of api key references --- docs/api/examples/anthropic.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/examples/anthropic.mdx b/docs/api/examples/anthropic.mdx index a4a447a..534c37d 100644 --- a/docs/api/examples/anthropic.mdx +++ b/docs/api/examples/anthropic.mdx @@ -35,10 +35,10 @@ SUPERFACE_USER_ID = "sfclaudedemo|" + str(SUPERFACE_USER_ID_CONSTANT) SUPERFACE_BASE_URL = "https://pod.superface.ai/api/hub" # Set the Superface authentication token -SUPERFACE_API_TOKEN="