forked from digitalocean/gradient-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi_knowledge_base.py
More file actions
47 lines (30 loc) · 1.21 KB
/
api_knowledge_base.py
File metadata and controls
47 lines (30 loc) · 1.21 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
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Optional
from datetime import datetime
from .._models import BaseModel
from .knowledge_bases.api_indexing_job import APIIndexingJob
__all__ = ["APIKnowledgeBase"]
class APIKnowledgeBase(BaseModel):
added_to_agent_at: Optional[datetime] = None
"""Time when the knowledge base was added to the agent"""
created_at: Optional[datetime] = None
"""Creation date / time"""
database_id: Optional[str] = None
embedding_model_uuid: Optional[str] = None
is_public: Optional[bool] = None
"""Whether the knowledge base is public or not"""
last_indexing_job: Optional[APIIndexingJob] = None
"""IndexingJob description"""
name: Optional[str] = None
"""Name of knowledge base"""
project_id: Optional[str] = None
region: Optional[str] = None
"""Region code"""
tags: Optional[List[str]] = None
"""Tags to organize related resources"""
updated_at: Optional[datetime] = None
"""Last modified"""
user_id: Optional[str] = None
"""Id of user that created the knowledge base"""
uuid: Optional[str] = None
"""Unique id for knowledge base"""