@@ -653,6 +653,8 @@ class ChatRequest(google.protobuf.message.Message):
653
653
CONVERSATION_UID_FIELD_NUMBER : builtins .int
654
654
MESSAGE_FIELD_NUMBER : builtins .int
655
655
TOP_K_FIELD_NUMBER : builtins .int
656
+ LLM_MODEL_FIELD_NUMBER : builtins .int
657
+ USER_INSTRUCTION_FIELD_NUMBER : builtins .int
656
658
namespace_id : builtins .str
657
659
"""Namespace ID"""
658
660
app_id : builtins .str
@@ -665,6 +667,10 @@ class ChatRequest(google.protobuf.message.Message):
665
667
"""User message"""
666
668
top_k : builtins .int
667
669
"""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.`"""
668
674
def __init__ (
669
675
self ,
670
676
* ,
@@ -674,10 +680,17 @@ class ChatRequest(google.protobuf.message.Message):
674
680
conversation_uid : builtins .str = ...,
675
681
message : builtins .str = ...,
676
682
top_k : builtins .int | None = ...,
683
+ llm_model : builtins .str | None = ...,
684
+ user_instruction : builtins .str | None = ...,
677
685
) -> 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
680
691
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 : ...
681
694
682
695
global___ChatRequest = ChatRequest
683
696
0 commit comments