We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 576550b commit c02f0b4Copy full SHA for c02f0b4
docs/getting_started.md
@@ -37,6 +37,13 @@ export SCALE_API_KEY="[Your API key]"
37
38
You can also add in the line above to your `.zshrc` or `.bash_profile` so it's automatically set for future sessions.
39
40
+Alternatively, you can also set your API key using either of the following patterns:
41
+```
42
+llmengine.api_engine.api_key = "abc"
43
+llmengine.api_engine.set_api_key("abc")
44
45
+These patterns are useful for Jupyter Notebook users to set API keys without the need for using `os.environ`.
46
+
47
## Example Code
48
49
### Sample Completion
0 commit comments