Learn how to evaluate Oracle OCI Generative AI models with Openlayer
OCI_USER_ID
, OCI_FINGERPRINT
, OCI_TENANCY_ID
, OCI_REGION
, and OCI_KEY_FILE
or configure your OCI config file appropriately.
trace_oci_genai()
function accepts an optional estimate_tokens
parameter:estimate_tokens=True
(default): Estimates token counts when not provided by OCI responseestimate_tokens=False
: Returns None
for token fields when not available in the response