Skip to content

Commit 4e4721d

Browse files
committed
chore: auto-gen by protobufs
triggered by commit: instill-ai/protobufs@d75a1db
1 parent 9c3e7e8 commit 4e4721d

22 files changed

+761
-179
lines changed

common/task/v1alpha/task_pb2.py

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/task/v1alpha/task_pb2.pyi

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,15 @@ class _TaskEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeW
3939
"""Task: TEXT TO IMAGE"""
4040
TASK_TEXT_GENERATION: _Task.ValueType # 8
4141
"""Task: TEXT GENERATION"""
42-
TASK_IMAGE_TO_IMAGE: _Task.ValueType # 9
42+
TASK_TEXT_GENERATION_CHAT: _Task.ValueType # 9
43+
"""Task: TEXT GENERATION CHAT"""
44+
TASK_VISUAL_QUESTION_ANSWERING: _Task.ValueType # 10
45+
"""Task: VISUAL QUESTION ANSWERING"""
46+
TASK_IMAGE_TO_IMAGE: _Task.ValueType # 11
4347
"""Task: IMAGE TO IMAGE"""
44-
TASK_TEXT_EMBEDDINGS: _Task.ValueType # 10
48+
TASK_TEXT_EMBEDDINGS: _Task.ValueType # 12
4549
"""Task: TEXT EMBEDDINGS"""
46-
TASK_SPEECH_RECOGNITION: _Task.ValueType # 11
50+
TASK_SPEECH_RECOGNITION: _Task.ValueType # 13
4751
"""Task: SPEECH RECOGNITION"""
4852

4953
class Task(_Task, metaclass=_TaskEnumTypeWrapper):
@@ -67,10 +71,14 @@ TASK_TEXT_TO_IMAGE: Task.ValueType # 7
6771
"""Task: TEXT TO IMAGE"""
6872
TASK_TEXT_GENERATION: Task.ValueType # 8
6973
"""Task: TEXT GENERATION"""
70-
TASK_IMAGE_TO_IMAGE: Task.ValueType # 9
74+
TASK_TEXT_GENERATION_CHAT: Task.ValueType # 9
75+
"""Task: TEXT GENERATION CHAT"""
76+
TASK_VISUAL_QUESTION_ANSWERING: Task.ValueType # 10
77+
"""Task: VISUAL QUESTION ANSWERING"""
78+
TASK_IMAGE_TO_IMAGE: Task.ValueType # 11
7179
"""Task: IMAGE TO IMAGE"""
72-
TASK_TEXT_EMBEDDINGS: Task.ValueType # 10
80+
TASK_TEXT_EMBEDDINGS: Task.ValueType # 12
7381
"""Task: TEXT EMBEDDINGS"""
74-
TASK_SPEECH_RECOGNITION: Task.ValueType # 11
82+
TASK_SPEECH_RECOGNITION: Task.ValueType # 13
7583
"""Task: SPEECH RECOGNITION"""
7684
global___Task = Task

model/model/v1alpha/common_pb2.py

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

model/model/v1alpha/common_pb2.pyi

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,49 @@ class BoundingBox(google.protobuf.message.Message):
4343
def ClearField(self, field_name: typing_extensions.Literal["height", b"height", "left", b"left", "top", b"top", "width", b"width"]) -> None: ...
4444

4545
global___BoundingBox = BoundingBox
46+
47+
@typing_extensions.final
48+
class ExtraParamObject(google.protobuf.message.Message):
49+
"""Additional hyperparameters for model inferences
50+
or other configuration not listsed in protobuf
51+
"""
52+
53+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
54+
55+
PARAM_NAME_FIELD_NUMBER: builtins.int
56+
PARAM_VALUE_FIELD_NUMBER: builtins.int
57+
param_name: builtins.str
58+
"""Name of the hyperparameter"""
59+
param_value: builtins.str
60+
"""Value of the hyperparameter"""
61+
def __init__(
62+
self,
63+
*,
64+
param_name: builtins.str = ...,
65+
param_value: builtins.str = ...,
66+
) -> None: ...
67+
def ClearField(self, field_name: typing_extensions.Literal["param_name", b"param_name", "param_value", b"param_value"]) -> None: ...
68+
69+
global___ExtraParamObject = ExtraParamObject
70+
71+
@typing_extensions.final
72+
class ConversationObject(google.protobuf.message.Message):
73+
"""Conversation based prompt for text generation model"""
74+
75+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
76+
77+
ROLE_FIELD_NUMBER: builtins.int
78+
CONTENT_FIELD_NUMBER: builtins.int
79+
role: builtins.str
80+
"""Role name of the conversation"""
81+
content: builtins.str
82+
"""Content of the conversation"""
83+
def __init__(
84+
self,
85+
*,
86+
role: builtins.str = ...,
87+
content: builtins.str = ...,
88+
) -> None: ...
89+
def ClearField(self, field_name: typing_extensions.Literal["content", b"content", "role", b"role"]) -> None: ...
90+
91+
global___ConversationObject = ConversationObject

model/model/v1alpha/model_pb2.py

Lines changed: 132 additions & 123 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)