Initialization
This section explains how to initialize the library after installation. It covers the initial setup steps, configuration options, and any necessary initializations to get started with the to
To initialize the Fi AI Client, you need to provide your api_key and secret_key, which are associated with your Fi AI account. Here is a step-by-step guide to help you get started:
1. Obtain Your API Keys:
When you create an account with Future aGI, a service keys are generated for you. This key, along with your Space Key, is essential for logging in and authenticating your actions.
2. Set Up Your Environment:
Ensure you have your API keys and other necessary configurations stored as environment variables for security and convenience. You can do this by adding the following lines to your shell configuration file (e.g., .bashrc or .zshrc):
Then, reload your shell configuration:
3. Instrument Your Code:
If you are using the Future Agi Python client, you can initialize the client in your code as follows:
Hereβs a breakdown of the parameters used to initialize the Fi Client:
Note: It is strongly suggested to store the API key and other sensitive information as secrets or environment variables to maintain security and prevent accidental exposure of your credentials.
Last updated