Skip to content

Commit

Permalink
Removing Hegel API key references
Browse files Browse the repository at this point in the history
  • Loading branch information
NivekT committed Jul 20, 2023
1 parent eebc92e commit 06735ac
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 34 deletions.
3 changes: 1 addition & 2 deletions examples/notebooks/AutoEval.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"id": "28f1521a",
"metadata": {},
"source": [
"First, we'll need to set our API keys. If we are in DEBUG mode, we don't need to use real OpenAI or Hegel AI API keys, so for now we'll set them to empty strings."
"First, we'll need to set our API keys. If we are in DEBUG mode, we don't need to use a real OpenAI key, so for now we'll set them to empty strings."
]
},
{
Expand All @@ -55,7 +55,6 @@
"source": [
"import os\n",
"os.environ['DEBUG'] = \"\" # Set to \"1\" if you want to use debug mode.\n",
"os.environ['HEGELAI_API_KEY'] = \"\" # Optional, it will be needed to use with `HegelScribe` to persist/visualize your experiments\n",
"os.environ['OPENAI_API_KEY'] = \"\""
]
},
Expand Down
3 changes: 1 addition & 2 deletions examples/notebooks/HuggingFaceHub.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"id": "5edba05a",
"metadata": {},
"source": [
"First, we'll need to set our API keys. If we are in DEBUG mode, we don't need to use real HuggingFaceHub or Hegel AI API keys, so for now we'll set them to empty strings."
"First, we'll need to set our API keys. If we are in DEBUG mode, we don't need to use a real HuggingFaceHub key, so for now we'll set them to empty strings."
]
},
{
Expand All @@ -51,7 +51,6 @@
"source": [
"import os\n",
"os.environ['DEBUG'] = \"\" # Set to \"1\" if you want to use debug mode.\n",
"os.environ['HEGELAI_API_KEY'] = \"\" # Optional, it will be needed to use with `HegelScribe` to persist/visualize your experiments\n",
"os.environ['HUGGINGFACEHUB_API_TOKEN'] = \"\""
]
},
Expand Down
3 changes: 1 addition & 2 deletions examples/notebooks/HumanFeedback.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"id": "d899afc2",
"metadata": {},
"source": [
"First, we'll need to set our API keys. If we are in DEBUG mode, we don't need to use real OpenAI or Hegel AI API keys, so for now we'll set them to empty strings."
"First, we'll need to set our API keys. If we are in DEBUG mode, we don't need to use a real OpenAI key, so for now we'll set them to empty strings."
]
},
{
Expand All @@ -55,7 +55,6 @@
"source": [
"import os\n",
"os.environ['DEBUG'] = \"\" # Set to \"1\" if you want to use debug mode.\n",
"os.environ['HEGELAI_API_KEY'] = \"\" # Optional, it will be needed to use with `HegelScribe` to persist/visualize your experiments\n",
"os.environ['OPENAI_API_KEY'] = \"\""
]
},
Expand Down
21 changes: 1 addition & 20 deletions examples/notebooks/LlamaCppExperiment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,31 +34,12 @@
"## Setup imports and API keys"
]
},
{
"cell_type": "markdown",
"id": "5edba05a",
"metadata": {},
"source": [
"First, we'll need to set our API keys. If we are in DEBUG mode, we don't need to use real Hegel AI API key, so for now we'll set them to empty strings."
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "ed4e635e",
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"os.environ['HEGELAI_API_KEY'] = \"\" # Optional, it will be needed to use with `HegelScribe` to persist/visualize your experiments"
]
},
{
"cell_type": "markdown",
"id": "842f1e47",
"metadata": {},
"source": [
"Then we'll import the relevant `prompttools` modules to setup our experiment."
"We'll import the relevant `prompttools` modules to setup our experiment."
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions examples/notebooks/LlamaHeadToHead.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"id": "5edba05a",
"metadata": {},
"source": [
"Next, we'll need to set our API keys. Since we want to use GPT-4 for auto-eval, we need to set that one. We won't be using the Hegel AI API key for this example."
"Next, we'll need to set our API keys. Since we want to use GPT-4 for auto-eval, we need to set that one."
]
},
{
Expand All @@ -68,7 +68,6 @@
"outputs": [],
"source": [
"import os\n",
"os.environ['HEGELAI_API_KEY'] = \"\"\n",
"os.environ['OPENAI_API_KEY'] = \"\""
]
},
Expand Down
3 changes: 1 addition & 2 deletions examples/notebooks/OpenAIChatExperiment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"id": "5edba05a",
"metadata": {},
"source": [
"First, we'll need to set our API keys. If we are in DEBUG mode, we don't need to use real OpenAI or Hegel AI API keys, so for now we'll set them to empty strings."
"First, we'll need to set our API keys. If we are in DEBUG mode, we don't need to use a real OpenAI key, so for now we'll set them to empty strings."
]
},
{
Expand All @@ -51,7 +51,6 @@
"source": [
"import os\n",
"os.environ['DEBUG']=\"1\"\n",
"os.environ['HEGELAI_API_KEY'] = \"\" # Optional, it will be needed to use with `HegelScribe` to persist/visualize your experiments\n",
"os.environ['OPENAI_API_KEY'] = \"\""
]
},
Expand Down
3 changes: 1 addition & 2 deletions examples/notebooks/SemanticSimilarity.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"id": "5edba05a",
"metadata": {},
"source": [
"First, we'll need to set our API keys. If we are in DEBUG mode, we don't need to use real OpenAI or Hegel AI API keys, so for now we'll set them to empty strings."
"First, we'll need to set our API keys. If we are in DEBUG mode, we don't need to use a real OpenAI key, so for now we'll set them to empty strings."
]
},
{
Expand All @@ -55,7 +55,6 @@
"source": [
"import os\n",
"os.environ['DEBUG'] = \"1\" # Set to \"1\" if you want to use debug mode.\n",
"os.environ['HEGELAI_API_KEY'] = \"\" # Optional, it will be needed to use with `HegelScribe` to persist/visualize your experiments\n",
"os.environ['OPENAI_API_KEY'] = \"\""
]
},
Expand Down
3 changes: 1 addition & 2 deletions examples/notebooks/StructuredOutput.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"id": "5edba05a",
"metadata": {},
"source": [
"First, we'll need to set our API keys. If we are in DEBUG mode, we don't need to use real OpenAI or Hegel AI API keys, so for now we'll set them to empty strings."
"First, we'll need to set our API keys. If we are in DEBUG mode, we don't need to use a real OpenAI key, so for now we'll set them to empty strings."
]
},
{
Expand All @@ -55,7 +55,6 @@
"source": [
"import os\n",
"os.environ['DEBUG'] = \"1\" # Set to \"1\" if you want to use debug mode.\n",
"os.environ['HEGELAI_API_KEY'] = \"\" # Optional, it will be needed to use with `HegelScribe` to persist/visualize your experiments\n",
"os.environ['OPENAI_API_KEY'] = \"\""
]
},
Expand Down

0 comments on commit 06735ac

Please sign in to comment.