Ask a question to get started
Enter to sendā¢Shift+Enter new line
OCIGenAIBase()
BaseModel
ABC
Authentication type, could be
API_KEY, SECURITY_TOKEN, INSTANCE_PRINCIPAL, RESOURCE_PRINCIPAL
If not specified, API_KEY will be used
The name of the profile in ~/.oci/config If not specified , DEFAULT will be used
Path to the config file. If not specified, ~/.oci/config will be used
Id of the model to call, e.g., cohere.command
Provider name of the model. Default to None, will try to be derived from the model_id otherwise, requires user input
Keyword arguments to pass to the model
service endpoint url
OCID of compartment
Whether to stream back partial progress
Validate that OCI config and python package exists in environment.
Base class for OCI GenAI models