-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathagentsusagebydepartmentinsight.py
More file actions
55 lines (43 loc) · 2.58 KB
/
agentsusagebydepartmentinsight.py
File metadata and controls
55 lines (43 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from __future__ import annotations
from .iconconfig import IconConfig, IconConfigTypedDict
from glean.api_client.types import BaseModel
import pydantic
from typing import Optional
from typing_extensions import Annotated, NotRequired, TypedDict
class AgentsUsageByDepartmentInsightTypedDict(TypedDict):
department: NotRequired[str]
r"""Name of the department"""
agent_adoption_rate: NotRequired[float]
r"""Percentage of employees in the department who have used agents at least once over the specified time period."""
user_count: NotRequired[int]
r"""Total number of users in this department who have used any agent over the specified time period."""
run_count: NotRequired[int]
r"""Total number of runs in this department over the specified time period."""
agent_id: NotRequired[str]
r"""ID of the agent to be shown in the agent column in this department over the specified time period."""
agent_name: NotRequired[str]
r"""Name of the agent to be shown in the agent column in this department over the specified time period."""
icon: NotRequired[IconConfigTypedDict]
r"""Defines how to render an icon"""
is_deleted: NotRequired[bool]
r"""Indicates whether the agent has been deleted"""
class AgentsUsageByDepartmentInsight(BaseModel):
department: Optional[str] = None
r"""Name of the department"""
agent_adoption_rate: Annotated[
Optional[float], pydantic.Field(alias="agentAdoptionRate")
] = None
r"""Percentage of employees in the department who have used agents at least once over the specified time period."""
user_count: Annotated[Optional[int], pydantic.Field(alias="userCount")] = None
r"""Total number of users in this department who have used any agent over the specified time period."""
run_count: Annotated[Optional[int], pydantic.Field(alias="runCount")] = None
r"""Total number of runs in this department over the specified time period."""
agent_id: Annotated[Optional[str], pydantic.Field(alias="agentId")] = None
r"""ID of the agent to be shown in the agent column in this department over the specified time period."""
agent_name: Annotated[Optional[str], pydantic.Field(alias="agentName")] = None
r"""Name of the agent to be shown in the agent column in this department over the specified time period."""
icon: Optional[IconConfig] = None
r"""Defines how to render an icon"""
is_deleted: Annotated[Optional[bool], pydantic.Field(alias="isDeleted")] = None
r"""Indicates whether the agent has been deleted"""