API Setup
Colab users
If you plan to run the examples within Google Colab, there's no need to do anything here. Just keep your secrets ready, for each notebook will ask you to enter them in order to proceed.
Credentials file
In the repo root directory, create file .api_keys
by copying
.api_keys.template
and insert your valid credentials.
Note
Depending on which API Key you define in the file, you will be able to use certain providers for your LLM services.
Currently, OpenAI and Google VertexAI are supported.
The notebooks use a simple utility to choose the provider automatically based on the credentials available, but you can override this choice at any time. The (few) lines of code that actually instantiate the LLM objects are in the notebooks for maximum clarity.
API Setup completed.
Your basic setup is all done now. Feel free to browse the code examples right away!