Skip to content

Commit 4e370bd

Browse files
committed
chore: auto-gen by protobufs
triggered by commit: instill-ai/protobufs@67d3fb5
1 parent bcdc673 commit 4e370bd

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

app/app/v1alpha/conversation_pb2.py

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

app/app/v1alpha/conversation_pb2.pyi

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,8 @@ class ChatRequest(google.protobuf.message.Message):
653653
CONVERSATION_UID_FIELD_NUMBER: builtins.int
654654
MESSAGE_FIELD_NUMBER: builtins.int
655655
TOP_K_FIELD_NUMBER: builtins.int
656+
LLM_MODEL_FIELD_NUMBER: builtins.int
657+
USER_INSTRUCTION_FIELD_NUMBER: builtins.int
656658
namespace_id: builtins.str
657659
"""Namespace ID"""
658660
app_id: builtins.str
@@ -665,6 +667,10 @@ class ChatRequest(google.protobuf.message.Message):
665667
"""User message"""
666668
top_k: builtins.int
667669
"""top k, defaults to 5"""
670+
llm_model: builtins.str
671+
"""LLM model name, defaults to `gpt-4o`"""
672+
user_instruction: builtins.str
673+
"""Instruction for the model to follow, defaults to `Please answer user question accurately and in the same language as the Follow-up Question.`"""
668674
def __init__(
669675
self,
670676
*,
@@ -674,10 +680,17 @@ class ChatRequest(google.protobuf.message.Message):
674680
conversation_uid: builtins.str = ...,
675681
message: builtins.str = ...,
676682
top_k: builtins.int | None = ...,
683+
llm_model: builtins.str | None = ...,
684+
user_instruction: builtins.str | None = ...,
677685
) -> None: ...
678-
def HasField(self, field_name: typing_extensions.Literal["_top_k", b"_top_k", "top_k", b"top_k"]) -> builtins.bool: ...
679-
def ClearField(self, field_name: typing_extensions.Literal["_top_k", b"_top_k", "app_id", b"app_id", "catalog_id", b"catalog_id", "conversation_uid", b"conversation_uid", "message", b"message", "namespace_id", b"namespace_id", "top_k", b"top_k"]) -> None: ...
686+
def HasField(self, field_name: typing_extensions.Literal["_llm_model", b"_llm_model", "_top_k", b"_top_k", "_user_instruction", b"_user_instruction", "llm_model", b"llm_model", "top_k", b"top_k", "user_instruction", b"user_instruction"]) -> builtins.bool: ...
687+
def ClearField(self, field_name: typing_extensions.Literal["_llm_model", b"_llm_model", "_top_k", b"_top_k", "_user_instruction", b"_user_instruction", "app_id", b"app_id", "catalog_id", b"catalog_id", "conversation_uid", b"conversation_uid", "llm_model", b"llm_model", "message", b"message", "namespace_id", b"namespace_id", "top_k", b"top_k", "user_instruction", b"user_instruction"]) -> None: ...
688+
@typing.overload
689+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_llm_model", b"_llm_model"]) -> typing_extensions.Literal["llm_model"] | None: ...
690+
@typing.overload
680691
def WhichOneof(self, oneof_group: typing_extensions.Literal["_top_k", b"_top_k"]) -> typing_extensions.Literal["top_k"] | None: ...
692+
@typing.overload
693+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_user_instruction", b"_user_instruction"]) -> typing_extensions.Literal["user_instruction"] | None: ...
681694

682695
global___ChatRequest = ChatRequest
683696

0 commit comments

Comments
 (0)