forked from openai/openai-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconversation.py
More file actions
30 lines (21 loc) · 886 Bytes
/
Copy pathconversation.py
File metadata and controls
30 lines (21 loc) · 886 Bytes
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
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing_extensions import Literal
from ..._models import BaseModel
__all__ = ["Conversation"]
class Conversation(BaseModel):
id: str
"""The unique ID of the conversation."""
created_at: int
"""
The time at which the conversation was created, measured in seconds since the
Unix epoch.
"""
metadata: object
"""Set of 16 key-value pairs that can be attached to an object.
This can be useful for storing additional information about the object in a
structured format, and querying for objects via API or the dashboard. Keys are
strings with a maximum length of 64 characters. Values are strings with a
maximum length of 512 characters.
"""
object: Literal["conversation"]
"""The object type, which is always `conversation`."""