The SDK transparently governs calls made through the officialDocumentation Index
Fetch the complete documentation index at: https://docs.egisai.co/llms.txt
Use this file to discover all available pages before exploring further.
google-generativeai Python package. After egisai.init() runs, calls made
through GenerativeModel are policy-checked, audited, and (where applicable)
sanitized before reaching the provider.
Supported surface
| Method | Sync | Async | Streaming |
|---|---|---|---|
GenerativeModel.generate_content | ✅ | ✅ | ✅ |
Minimum version
google-generativeai>=0.8 is recommended.
Install
Use
Streaming
System instructions
When you pass asystem_instruction= to GenerativeModel(...), the SDK reads
it for sub-agent fingerprinting. To override identity explicitly, use
set_context().
When a call is blocked
By default a blocked call raisesPermissionError. Switch modes at init if
you’d rather receive a refusal-shaped response: