@google-ai/generativelanguage
Version:
Generative Language API client for Node.js
43 lines (42 loc) • 1.46 kB
JSON
{
"interfaces": {
"google.ai.generativelanguage.v1alpha.TextService": {
"retry_codes": {
"non_idempotent": [],
"idempotent": [
"DEADLINE_EXCEEDED",
"UNAVAILABLE"
]
},
"retry_params": {
"default": {
"initial_retry_delay_millis": 100,
"retry_delay_multiplier": 1.3,
"max_retry_delay_millis": 60000,
"initial_rpc_timeout_millis": 60000,
"rpc_timeout_multiplier": 1,
"max_rpc_timeout_millis": 60000,
"total_timeout_millis": 600000
}
},
"methods": {
"GenerateText": {
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"EmbedText": {
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"BatchEmbedText": {
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"CountTextTokens": {
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
}
}
}
}
}