rapida-python 0.1.13__py3-none-any.whl → 0.1.15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rapida/__init__.py +0 -2
- rapida/clients/protos/assistant_api_pb2.py +9 -15
- rapida/clients/protos/assistant_api_pb2.pyi +4 -30
- rapida_python-0.1.15.dist-info/METADATA +120 -0
- {rapida_python-0.1.13.dist-info → rapida_python-0.1.15.dist-info}/RECORD +7 -7
- rapida_python-0.1.13.dist-info/METADATA +0 -78
- {rapida_python-0.1.13.dist-info → rapida_python-0.1.15.dist-info}/WHEEL +0 -0
- {rapida_python-0.1.13.dist-info → rapida_python-0.1.15.dist-info}/top_level.txt +0 -0
rapida/__init__.py
CHANGED
|
@@ -988,8 +988,6 @@ __all__ = [
|
|
|
988
988
|
"GetAllMessageResponse",
|
|
989
989
|
"UpdateAssistantVersionRequest",
|
|
990
990
|
"UpdateAssistantDetailRequest",
|
|
991
|
-
"GetAllAssistantUserConversationRequest",
|
|
992
|
-
"GetAllAssistantUserConversationResponse",
|
|
993
991
|
"GetAssistantConversationRequest",
|
|
994
992
|
"GetAssistantConversationResponse",
|
|
995
993
|
]
|
|
@@ -31,7 +31,7 @@ import rapida.clients.protos.assistant_webhook_pb2 as assistant__webhook__pb2
|
|
|
31
31
|
import rapida.clients.protos.assistant_knowledge_pb2 as assistant__knowledge__pb2
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13\x61ssistant-api.proto\x12\rassistant_api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x0c\x63ommon.proto\x1a\x1a\x61ssistant-deployment.proto\x1a\x14\x61ssistant-tool.proto\x1a\x18\x61ssistant-analysis.proto\x1a\x17\x61ssistant-webhook.proto\x1a\x19\x61ssistant-knowledge.proto\"\xcf\x08\n\tAssistant\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x12\n\nvisibility\x18\x03 \x01(\t\x12\x0e\n\x06source\x18\x04 \x01(\t\x12\x1c\n\x10sourceIdentifier\x18\x05 \x01(\x04\x42\x02\x30\x01\x12\x34\n\x0e\x61ssistantTools\x18\x06 \x03(\x0b\x32\x1c.assistant_api.AssistantTool\x12\x15\n\tprojectId\x18\x07 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0eorganizationId\x18\x08 \x01(\x04\x42\x02\x30\x01\x12$\n\x18\x61ssistantProviderModelId\x18\t \x01(\x04\x42\x02\x30\x01\x12\x45\n\x16\x61ssistantProviderModel\x18\n \x01(\x0b\x32%.assistant_api.AssistantProviderModel\x12\x0c\n\x04name\x18\x0b \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0c \x01(\t\x12\x1a\n\x0c\x61ssistantTag\x18\x0e \x01(\x0b\x32\x04.Tag\x12\x10\n\x08language\x18\x10 \x01(\t\x12#\n\x0corganization\x18\x11 \x01(\x0b\x32\r.Organization\x12\x15\n\tcreatedBy\x18\x16 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0b\x63reatedUser\x18\x17 \x01(\x0b\x32\x05.User\x12\x15\n\tupdatedBy\x18\x18 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0bupdatedUser\x18\x19 \x01(\x0b\x32\x05.User\x12/\n\x0b\x63reatedDate\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdatedDate\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x12\x64\x65\x62uggerDeployment\x18\x1e \x01(\x0b\x32*.assistant_api.AssistantDebuggerDeployment\x12@\n\x0fphoneDeployment\x18\x1f \x01(\x0b\x32\'.assistant_api.AssistantPhoneDeployment\x12\x46\n\x12whatsappDeployment\x18 \x01(\x0b\x32*.assistant_api.AssistantWhatsappDeployment\x12H\n\x13webPluginDeployment\x18! \x01(\x0b\x32+.assistant_api.AssistantWebpluginDeployment\x12<\n\rapiDeployment\x18\" \x01(\x0b\x32%.assistant_api.AssistantApiDeployment\x12\x36\n\x16\x61ssistantConversations\x18# \x03(\x0b\x32\x16.AssistantConversation\x12:\n\x11\x61ssistantWebhooks\x18$ \x03(\x0b\x32\x1f.assistant_api.AssistantWebhook\"\xa2\x03\n\x16\x41ssistantProviderModel\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12)\n\x08template\x18\x02 \x01(\x0b\x32\x17.TextChatCompletePrompt\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1b\n\x0fmodelProviderId\x18\x06 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11modelProviderName\x18\x07 \x01(\t\x12(\n\x15\x61ssistantModelOptions\x18\t \x03(\x0b\x32\t.Metadata\x12\x0e\n\x06status\x18\x0c \x01(\t\x12\x15\n\tcreatedBy\x18\r \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0b\x63reatedUser\x18\x0e \x01(\x0b\x32\x05.User\x12\x15\n\tupdatedBy\x18\x0f \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0bupdatedUser\x18\x10 \x01(\x0b\x32\x05.User\x12/\n\x0b\x63reatedDate\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdatedDate\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x81\x03\n\x16\x43reateAssistantRequest\x12R\n\x16\x61ssistantProviderModel\x18\x01 \x01(\x0b\x32\x32.assistant_api.CreateAssistantProviderModelRequest\x12K\n\x13\x61ssistantKnowledges\x18\x02 \x03(\x0b\x32..assistant_api.CreateAssistantKnowledgeRequest\x12\x41\n\x0e\x61ssistantTools\x18\x03 \x03(\x0b\x32).assistant_api.CreateAssistantToolRequest\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x12\n\nvisibility\x18\x05 \x01(\t\x12\x10\n\x08language\x18\x06 \x01(\t\x12\x0e\n\x06source\x18\x07 \x01(\t\x12\x1c\n\x10sourceIdentifier\x18\x08 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04tags\x18\t \x03(\t\x12\x0c\n\x04name\x18\n \x01(\t\"\xe0\x01\n#CreateAssistantProviderModelRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12)\n\x08template\x18\x03 \x01(\x0b\x32\x17.TextChatCompletePrompt\x12\x1b\n\x0fmodelProviderId\x18\x06 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11modelProviderName\x18\x07 \x01(\t\x12(\n\x15\x61ssistantModelOptions\x18\x08 \x03(\x0b\x32\t.Metadata\"\x8e\x01\n!GetAssistantProviderModelResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x33\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32%.assistant_api.AssistantProviderModel\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\"B\n\x19\x43reateAssistantTagRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04tags\x18\x02 \x03(\t\"m\n\x13GetAssistantRequest\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12)\n\x18\x61ssistantProviderModelId\x18\x04 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x42\x1b\n\x19_assistantProviderModelId\"(\n\x16\x44\x65leteAssistantRequest\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\"t\n\x14GetAssistantResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12&\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x18.assistant_api.Assistant\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\"S\n\x16GetAllAssistantRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\"\x96\x01\n\x17GetAllAssistantResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12&\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x18.assistant_api.Assistant\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"y\n#GetAllAssistantProviderModelRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\x12\x17\n\x0b\x61ssistantId\x18\x05 \x01(\x04\x42\x02\x30\x01\"\xb0\x01\n$GetAllAssistantProviderModelResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x33\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32%.assistant_api.AssistantProviderModel\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"\xb0\x01\n\x1dGetAllAssistantMessageRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\x12\x17\n\x0b\x61ssistantId\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x18\n\x05order\x18\x05 \x01(\x0b\x32\t.Ordering\x12!\n\tselectors\x18\x06 \x03(\x0b\x32\x0e.FieldSelector\"\xa2\x01\n\x1eGetAllAssistantMessageResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12+\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x1d.AssistantConversationMessage\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"\x8e\x01\n\x14GetAllMessageRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\x12\x18\n\x05order\x18\x05 \x01(\x0b\x32\t.Ordering\x12!\n\tselectors\x18\x06 \x03(\x0b\x32\x0e.FieldSelector\"\x99\x01\n\x15GetAllMessageResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12+\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x1d.AssistantConversationMessage\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"^\n\x1dUpdateAssistantVersionRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12$\n\x18\x61ssistantProviderModelId\x18\x02 \x01(\x04\x42\x02\x30\x01\"Z\n\x1cUpdateAssistantDetailRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"\x95\x01\n&GetAllAssistantUserConversationRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x1b\n\x08paginate\x18\x02 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x03 \x03(\x0b\x32\t.Criteria\x12\x17\n\x06source\x18\x07 \x01(\x0e\x32\x07.Source\"\xa4\x01\n\'GetAllAssistantUserConversationResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12$\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x16.AssistantConversation\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"\x82\x01\n\x1fGetAssistantConversationRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12#\n\x17\x61ssistantConversationId\x18\x02 \x01(\x04\x42\x02\x30\x01\x12!\n\tselectors\x18\x05 \x03(\x0b\x32\x0e.FieldSelector\"~\n GetAssistantConversationResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12$\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x16.AssistantConversation\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error2\xd7!\n\x10\x41ssistantService\x12W\n\x0cGetAssistant\x12\".assistant_api.GetAssistantRequest\x1a#.assistant_api.GetAssistantResponse\x12`\n\x0fGetAllAssistant\x12%.assistant_api.GetAllAssistantRequest\x1a&.assistant_api.GetAllAssistantResponse\x12]\n\x0f\x43reateAssistant\x12%.assistant_api.CreateAssistantRequest\x1a#.assistant_api.GetAssistantResponse\x12]\n\x0f\x44\x65leteAssistant\x12%.assistant_api.DeleteAssistantRequest\x1a#.assistant_api.GetAssistantResponse\x12\x87\x01\n\x1cGetAllAssistantProviderModel\x12\x32.assistant_api.GetAllAssistantProviderModelRequest\x1a\x33.assistant_api.GetAllAssistantProviderModelResponse\x12\x84\x01\n\x1c\x43reateAssistantProviderModel\x12\x32.assistant_api.CreateAssistantProviderModelRequest\x1a\x30.assistant_api.GetAssistantProviderModelResponse\x12\x63\n\x12\x43reateAssistantTag\x12(.assistant_api.CreateAssistantTagRequest\x1a#.assistant_api.GetAssistantResponse\x12k\n\x16UpdateAssistantVersion\x12,.assistant_api.UpdateAssistantVersionRequest\x1a#.assistant_api.GetAssistantResponse\x12i\n\x15UpdateAssistantDetail\x12+.assistant_api.UpdateAssistantDetailRequest\x1a#.assistant_api.GetAssistantResponse\x12u\n\x16GetAllAssistantMessage\x12,.assistant_api.GetAllAssistantMessageRequest\x1a-.assistant_api.GetAllAssistantMessageResponse\x12\x62\n\x19GetAllConversationMessage\x12!.GetAllConversationMessageRequest\x1a\".GetAllConversationMessageResponse\x12Z\n\rGetAllMessage\x12#.assistant_api.GetAllMessageRequest\x1a$.assistant_api.GetAllMessageResponse\x12h\n\x1bGetAllAssistantConversation\x12#.GetAllAssistantConversationRequest\x1a$.GetAllAssistantConversationResponse\x12{\n\x18GetAssistantConversation\x12..assistant_api.GetAssistantConversationRequest\x1a/.assistant_api.GetAssistantConversationResponse\x12u\n\x16GetAssistantWebhookLog\x12,.assistant_api.GetAssistantWebhookLogRequest\x1a-.assistant_api.GetAssistantWebhookLogResponse\x12~\n\x19GetAllAssistantWebhookLog\x12/.assistant_api.GetAllAssistantWebhookLogRequest\x1a\x30.assistant_api.GetAllAssistantWebhookLogResponse\x12u\n\x16GetAllAssistantWebhook\x12,.assistant_api.GetAllAssistantWebhookRequest\x1a-.assistant_api.GetAllAssistantWebhookResponse\x12l\n\x13GetAssistantWebhook\x12).assistant_api.GetAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12r\n\x16\x43reateAssistantWebhook\x12,.assistant_api.CreateAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12r\n\x16UpdateAssistantWebhook\x12,.assistant_api.UpdateAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12r\n\x16\x44\x65leteAssistantWebhook\x12,.assistant_api.DeleteAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12l\n\x13GetAssistantToolLog\x12).assistant_api.GetAssistantToolLogRequest\x1a*.assistant_api.GetAssistantToolLogResponse\x12u\n\x16GetAllAssistantToolLog\x12,.assistant_api.GetAllAssistantToolLogRequest\x1a-.assistant_api.GetAllAssistantToolLogResponse\x12o\n\x14GetAssistantAnalysis\x12*.assistant_api.GetAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12u\n\x17UpdateAssistantAnalysis\x12-.assistant_api.UpdateAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12u\n\x17\x43reateAssistantAnalysis\x12-.assistant_api.CreateAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12u\n\x17\x44\x65leteAssistantAnalysis\x12-.assistant_api.DeleteAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12x\n\x17GetAllAssistantAnalysis\x12-.assistant_api.GetAllAssistantAnalysisRequest\x1a..assistant_api.GetAllAssistantAnalysisResponse\x12i\n\x13\x43reateAssistantTool\x12).assistant_api.CreateAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12\x63\n\x10GetAssistantTool\x12&.assistant_api.GetAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12l\n\x13GetAllAssistantTool\x12).assistant_api.GetAllAssistantToolRequest\x1a*.assistant_api.GetAllAssistantToolResponse\x12i\n\x13\x44\x65leteAssistantTool\x12).assistant_api.DeleteAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12i\n\x13UpdateAssistantTool\x12).assistant_api.UpdateAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12x\n\x18\x43reateAssistantKnowledge\x12..assistant_api.CreateAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponse\x12r\n\x15GetAssistantKnowledge\x12+.assistant_api.GetAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponse\x12{\n\x18GetAllAssistantKnowledge\x12..assistant_api.GetAllAssistantKnowledgeRequest\x1a/.assistant_api.GetAllAssistantKnowledgeResponse\x12x\n\x18\x44\x65leteAssistantKnowledge\x12..assistant_api.DeleteAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponse\x12x\n\x18UpdateAssistantKnowledge\x12..assistant_api.UpdateAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponseB7Z5github.com/lexatic/web-backend/protos/lexatic-backendb\x06proto3')
|
|
34
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13\x61ssistant-api.proto\x12\rassistant_api\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x0c\x63ommon.proto\x1a\x1a\x61ssistant-deployment.proto\x1a\x14\x61ssistant-tool.proto\x1a\x18\x61ssistant-analysis.proto\x1a\x17\x61ssistant-webhook.proto\x1a\x19\x61ssistant-knowledge.proto\"\xcf\x08\n\tAssistant\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x12\n\nvisibility\x18\x03 \x01(\t\x12\x0e\n\x06source\x18\x04 \x01(\t\x12\x1c\n\x10sourceIdentifier\x18\x05 \x01(\x04\x42\x02\x30\x01\x12\x34\n\x0e\x61ssistantTools\x18\x06 \x03(\x0b\x32\x1c.assistant_api.AssistantTool\x12\x15\n\tprojectId\x18\x07 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0eorganizationId\x18\x08 \x01(\x04\x42\x02\x30\x01\x12$\n\x18\x61ssistantProviderModelId\x18\t \x01(\x04\x42\x02\x30\x01\x12\x45\n\x16\x61ssistantProviderModel\x18\n \x01(\x0b\x32%.assistant_api.AssistantProviderModel\x12\x0c\n\x04name\x18\x0b \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0c \x01(\t\x12\x1a\n\x0c\x61ssistantTag\x18\x0e \x01(\x0b\x32\x04.Tag\x12\x10\n\x08language\x18\x10 \x01(\t\x12#\n\x0corganization\x18\x11 \x01(\x0b\x32\r.Organization\x12\x15\n\tcreatedBy\x18\x16 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0b\x63reatedUser\x18\x17 \x01(\x0b\x32\x05.User\x12\x15\n\tupdatedBy\x18\x18 \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0bupdatedUser\x18\x19 \x01(\x0b\x32\x05.User\x12/\n\x0b\x63reatedDate\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdatedDate\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x12\x64\x65\x62uggerDeployment\x18\x1e \x01(\x0b\x32*.assistant_api.AssistantDebuggerDeployment\x12@\n\x0fphoneDeployment\x18\x1f \x01(\x0b\x32\'.assistant_api.AssistantPhoneDeployment\x12\x46\n\x12whatsappDeployment\x18 \x01(\x0b\x32*.assistant_api.AssistantWhatsappDeployment\x12H\n\x13webPluginDeployment\x18! \x01(\x0b\x32+.assistant_api.AssistantWebpluginDeployment\x12<\n\rapiDeployment\x18\" \x01(\x0b\x32%.assistant_api.AssistantApiDeployment\x12\x36\n\x16\x61ssistantConversations\x18# \x03(\x0b\x32\x16.AssistantConversation\x12:\n\x11\x61ssistantWebhooks\x18$ \x03(\x0b\x32\x1f.assistant_api.AssistantWebhook\"\xa2\x03\n\x16\x41ssistantProviderModel\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12)\n\x08template\x18\x02 \x01(\x0b\x32\x17.TextChatCompletePrompt\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1b\n\x0fmodelProviderId\x18\x06 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11modelProviderName\x18\x07 \x01(\t\x12(\n\x15\x61ssistantModelOptions\x18\t \x03(\x0b\x32\t.Metadata\x12\x0e\n\x06status\x18\x0c \x01(\t\x12\x15\n\tcreatedBy\x18\r \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0b\x63reatedUser\x18\x0e \x01(\x0b\x32\x05.User\x12\x15\n\tupdatedBy\x18\x0f \x01(\x04\x42\x02\x30\x01\x12\x1a\n\x0bupdatedUser\x18\x10 \x01(\x0b\x32\x05.User\x12/\n\x0b\x63reatedDate\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdatedDate\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x81\x03\n\x16\x43reateAssistantRequest\x12R\n\x16\x61ssistantProviderModel\x18\x01 \x01(\x0b\x32\x32.assistant_api.CreateAssistantProviderModelRequest\x12K\n\x13\x61ssistantKnowledges\x18\x02 \x03(\x0b\x32..assistant_api.CreateAssistantKnowledgeRequest\x12\x41\n\x0e\x61ssistantTools\x18\x03 \x03(\x0b\x32).assistant_api.CreateAssistantToolRequest\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x12\n\nvisibility\x18\x05 \x01(\t\x12\x10\n\x08language\x18\x06 \x01(\t\x12\x0e\n\x06source\x18\x07 \x01(\t\x12\x1c\n\x10sourceIdentifier\x18\x08 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04tags\x18\t \x03(\t\x12\x0c\n\x04name\x18\n \x01(\t\"\xe0\x01\n#CreateAssistantProviderModelRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12)\n\x08template\x18\x03 \x01(\x0b\x32\x17.TextChatCompletePrompt\x12\x1b\n\x0fmodelProviderId\x18\x06 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11modelProviderName\x18\x07 \x01(\t\x12(\n\x15\x61ssistantModelOptions\x18\x08 \x03(\x0b\x32\t.Metadata\"\x8e\x01\n!GetAssistantProviderModelResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x33\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32%.assistant_api.AssistantProviderModel\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\"B\n\x19\x43reateAssistantTagRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04tags\x18\x02 \x03(\t\"m\n\x13GetAssistantRequest\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12)\n\x18\x61ssistantProviderModelId\x18\x04 \x01(\x04\x42\x02\x30\x01H\x00\x88\x01\x01\x42\x1b\n\x19_assistantProviderModelId\"(\n\x16\x44\x65leteAssistantRequest\x12\x0e\n\x02id\x18\x01 \x01(\x04\x42\x02\x30\x01\"t\n\x14GetAssistantResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12&\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x18.assistant_api.Assistant\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\"S\n\x16GetAllAssistantRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\"\x96\x01\n\x17GetAllAssistantResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12&\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x18.assistant_api.Assistant\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"y\n#GetAllAssistantProviderModelRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\x12\x17\n\x0b\x61ssistantId\x18\x05 \x01(\x04\x42\x02\x30\x01\"\xb0\x01\n$GetAllAssistantProviderModelResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x33\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32%.assistant_api.AssistantProviderModel\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"\xb0\x01\n\x1dGetAllAssistantMessageRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\x12\x17\n\x0b\x61ssistantId\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x18\n\x05order\x18\x05 \x01(\x0b\x32\t.Ordering\x12!\n\tselectors\x18\x06 \x03(\x0b\x32\x0e.FieldSelector\"\xa2\x01\n\x1eGetAllAssistantMessageResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12+\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x1d.AssistantConversationMessage\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"\x8e\x01\n\x14GetAllMessageRequest\x12\x1b\n\x08paginate\x18\x01 \x01(\x0b\x32\t.Paginate\x12\x1c\n\tcriterias\x18\x02 \x03(\x0b\x32\t.Criteria\x12\x18\n\x05order\x18\x05 \x01(\x0b\x32\t.Ordering\x12!\n\tselectors\x18\x06 \x03(\x0b\x32\x0e.FieldSelector\"\x99\x01\n\x15GetAllMessageResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12+\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x1d.AssistantConversationMessage\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error\x12\x1d\n\tpaginated\x18\x05 \x01(\x0b\x32\n.Paginated\"^\n\x1dUpdateAssistantVersionRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12$\n\x18\x61ssistantProviderModelId\x18\x02 \x01(\x04\x42\x02\x30\x01\"Z\n\x1cUpdateAssistantDetailRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"m\n\x1fGetAssistantConversationRequest\x12\x17\n\x0b\x61ssistantId\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x0e\n\x02id\x18\x02 \x01(\x04\x42\x02\x30\x01\x12!\n\tselectors\x18\x05 \x03(\x0b\x32\x0e.FieldSelector\"~\n GetAssistantConversationResponse\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12$\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x16.AssistantConversation\x12\x15\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x06.Error2\xd7!\n\x10\x41ssistantService\x12W\n\x0cGetAssistant\x12\".assistant_api.GetAssistantRequest\x1a#.assistant_api.GetAssistantResponse\x12`\n\x0fGetAllAssistant\x12%.assistant_api.GetAllAssistantRequest\x1a&.assistant_api.GetAllAssistantResponse\x12]\n\x0f\x43reateAssistant\x12%.assistant_api.CreateAssistantRequest\x1a#.assistant_api.GetAssistantResponse\x12]\n\x0f\x44\x65leteAssistant\x12%.assistant_api.DeleteAssistantRequest\x1a#.assistant_api.GetAssistantResponse\x12\x87\x01\n\x1cGetAllAssistantProviderModel\x12\x32.assistant_api.GetAllAssistantProviderModelRequest\x1a\x33.assistant_api.GetAllAssistantProviderModelResponse\x12\x84\x01\n\x1c\x43reateAssistantProviderModel\x12\x32.assistant_api.CreateAssistantProviderModelRequest\x1a\x30.assistant_api.GetAssistantProviderModelResponse\x12\x63\n\x12\x43reateAssistantTag\x12(.assistant_api.CreateAssistantTagRequest\x1a#.assistant_api.GetAssistantResponse\x12k\n\x16UpdateAssistantVersion\x12,.assistant_api.UpdateAssistantVersionRequest\x1a#.assistant_api.GetAssistantResponse\x12i\n\x15UpdateAssistantDetail\x12+.assistant_api.UpdateAssistantDetailRequest\x1a#.assistant_api.GetAssistantResponse\x12u\n\x16GetAllAssistantMessage\x12,.assistant_api.GetAllAssistantMessageRequest\x1a-.assistant_api.GetAllAssistantMessageResponse\x12\x62\n\x19GetAllConversationMessage\x12!.GetAllConversationMessageRequest\x1a\".GetAllConversationMessageResponse\x12Z\n\rGetAllMessage\x12#.assistant_api.GetAllMessageRequest\x1a$.assistant_api.GetAllMessageResponse\x12h\n\x1bGetAllAssistantConversation\x12#.GetAllAssistantConversationRequest\x1a$.GetAllAssistantConversationResponse\x12{\n\x18GetAssistantConversation\x12..assistant_api.GetAssistantConversationRequest\x1a/.assistant_api.GetAssistantConversationResponse\x12u\n\x16GetAssistantWebhookLog\x12,.assistant_api.GetAssistantWebhookLogRequest\x1a-.assistant_api.GetAssistantWebhookLogResponse\x12~\n\x19GetAllAssistantWebhookLog\x12/.assistant_api.GetAllAssistantWebhookLogRequest\x1a\x30.assistant_api.GetAllAssistantWebhookLogResponse\x12u\n\x16GetAllAssistantWebhook\x12,.assistant_api.GetAllAssistantWebhookRequest\x1a-.assistant_api.GetAllAssistantWebhookResponse\x12l\n\x13GetAssistantWebhook\x12).assistant_api.GetAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12r\n\x16\x43reateAssistantWebhook\x12,.assistant_api.CreateAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12r\n\x16UpdateAssistantWebhook\x12,.assistant_api.UpdateAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12r\n\x16\x44\x65leteAssistantWebhook\x12,.assistant_api.DeleteAssistantWebhookRequest\x1a*.assistant_api.GetAssistantWebhookResponse\x12l\n\x13GetAssistantToolLog\x12).assistant_api.GetAssistantToolLogRequest\x1a*.assistant_api.GetAssistantToolLogResponse\x12u\n\x16GetAllAssistantToolLog\x12,.assistant_api.GetAllAssistantToolLogRequest\x1a-.assistant_api.GetAllAssistantToolLogResponse\x12o\n\x14GetAssistantAnalysis\x12*.assistant_api.GetAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12u\n\x17UpdateAssistantAnalysis\x12-.assistant_api.UpdateAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12u\n\x17\x43reateAssistantAnalysis\x12-.assistant_api.CreateAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12u\n\x17\x44\x65leteAssistantAnalysis\x12-.assistant_api.DeleteAssistantAnalysisRequest\x1a+.assistant_api.GetAssistantAnalysisResponse\x12x\n\x17GetAllAssistantAnalysis\x12-.assistant_api.GetAllAssistantAnalysisRequest\x1a..assistant_api.GetAllAssistantAnalysisResponse\x12i\n\x13\x43reateAssistantTool\x12).assistant_api.CreateAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12\x63\n\x10GetAssistantTool\x12&.assistant_api.GetAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12l\n\x13GetAllAssistantTool\x12).assistant_api.GetAllAssistantToolRequest\x1a*.assistant_api.GetAllAssistantToolResponse\x12i\n\x13\x44\x65leteAssistantTool\x12).assistant_api.DeleteAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12i\n\x13UpdateAssistantTool\x12).assistant_api.UpdateAssistantToolRequest\x1a\'.assistant_api.GetAssistantToolResponse\x12x\n\x18\x43reateAssistantKnowledge\x12..assistant_api.CreateAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponse\x12r\n\x15GetAssistantKnowledge\x12+.assistant_api.GetAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponse\x12{\n\x18GetAllAssistantKnowledge\x12..assistant_api.GetAllAssistantKnowledgeRequest\x1a/.assistant_api.GetAllAssistantKnowledgeResponse\x12x\n\x18\x44\x65leteAssistantKnowledge\x12..assistant_api.DeleteAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponse\x12x\n\x18UpdateAssistantKnowledge\x12..assistant_api.UpdateAssistantKnowledgeRequest\x1a,.assistant_api.GetAssistantKnowledgeResponseB7Z5github.com/lexatic/web-backend/protos/lexatic-backendb\x06proto3')
|
|
35
35
|
|
|
36
36
|
_globals = globals()
|
|
37
37
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -85,12 +85,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
85
85
|
_globals['_UPDATEASSISTANTVERSIONREQUEST'].fields_by_name['assistantProviderModelId']._serialized_options = b'0\001'
|
|
86
86
|
_globals['_UPDATEASSISTANTDETAILREQUEST'].fields_by_name['assistantId']._loaded_options = None
|
|
87
87
|
_globals['_UPDATEASSISTANTDETAILREQUEST'].fields_by_name['assistantId']._serialized_options = b'0\001'
|
|
88
|
-
_globals['_GETALLASSISTANTUSERCONVERSATIONREQUEST'].fields_by_name['assistantId']._loaded_options = None
|
|
89
|
-
_globals['_GETALLASSISTANTUSERCONVERSATIONREQUEST'].fields_by_name['assistantId']._serialized_options = b'0\001'
|
|
90
88
|
_globals['_GETASSISTANTCONVERSATIONREQUEST'].fields_by_name['assistantId']._loaded_options = None
|
|
91
89
|
_globals['_GETASSISTANTCONVERSATIONREQUEST'].fields_by_name['assistantId']._serialized_options = b'0\001'
|
|
92
|
-
_globals['_GETASSISTANTCONVERSATIONREQUEST'].fields_by_name['
|
|
93
|
-
_globals['_GETASSISTANTCONVERSATIONREQUEST'].fields_by_name['
|
|
90
|
+
_globals['_GETASSISTANTCONVERSATIONREQUEST'].fields_by_name['id']._loaded_options = None
|
|
91
|
+
_globals['_GETASSISTANTCONVERSATIONREQUEST'].fields_by_name['id']._serialized_options = b'0\001'
|
|
94
92
|
_globals['_ASSISTANT']._serialized_start=214
|
|
95
93
|
_globals['_ASSISTANT']._serialized_end=1317
|
|
96
94
|
_globals['_ASSISTANTPROVIDERMODEL']._serialized_start=1320
|
|
@@ -129,14 +127,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
129
127
|
_globals['_UPDATEASSISTANTVERSIONREQUEST']._serialized_end=4118
|
|
130
128
|
_globals['_UPDATEASSISTANTDETAILREQUEST']._serialized_start=4120
|
|
131
129
|
_globals['_UPDATEASSISTANTDETAILREQUEST']._serialized_end=4210
|
|
132
|
-
_globals['
|
|
133
|
-
_globals['
|
|
134
|
-
_globals['
|
|
135
|
-
_globals['
|
|
136
|
-
_globals['
|
|
137
|
-
_globals['
|
|
138
|
-
_globals['_GETASSISTANTCONVERSATIONRESPONSE']._serialized_start=4664
|
|
139
|
-
_globals['_GETASSISTANTCONVERSATIONRESPONSE']._serialized_end=4790
|
|
140
|
-
_globals['_ASSISTANTSERVICE']._serialized_start=4793
|
|
141
|
-
_globals['_ASSISTANTSERVICE']._serialized_end=9104
|
|
130
|
+
_globals['_GETASSISTANTCONVERSATIONREQUEST']._serialized_start=4212
|
|
131
|
+
_globals['_GETASSISTANTCONVERSATIONREQUEST']._serialized_end=4321
|
|
132
|
+
_globals['_GETASSISTANTCONVERSATIONRESPONSE']._serialized_start=4323
|
|
133
|
+
_globals['_GETASSISTANTCONVERSATIONRESPONSE']._serialized_end=4449
|
|
134
|
+
_globals['_ASSISTANTSERVICE']._serialized_start=4452
|
|
135
|
+
_globals['_ASSISTANTSERVICE']._serialized_end=8763
|
|
142
136
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -307,41 +307,15 @@ class UpdateAssistantDetailRequest(_message.Message):
|
|
|
307
307
|
description: str
|
|
308
308
|
def __init__(self, assistantId: _Optional[int] = ..., name: _Optional[str] = ..., description: _Optional[str] = ...) -> None: ...
|
|
309
309
|
|
|
310
|
-
class GetAllAssistantUserConversationRequest(_message.Message):
|
|
311
|
-
__slots__ = ("assistantId", "paginate", "criterias", "source")
|
|
312
|
-
ASSISTANTID_FIELD_NUMBER: _ClassVar[int]
|
|
313
|
-
PAGINATE_FIELD_NUMBER: _ClassVar[int]
|
|
314
|
-
CRITERIAS_FIELD_NUMBER: _ClassVar[int]
|
|
315
|
-
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
316
|
-
assistantId: int
|
|
317
|
-
paginate: _common_pb2.Paginate
|
|
318
|
-
criterias: _containers.RepeatedCompositeFieldContainer[_common_pb2.Criteria]
|
|
319
|
-
source: _common_pb2.Source
|
|
320
|
-
def __init__(self, assistantId: _Optional[int] = ..., paginate: _Optional[_Union[_common_pb2.Paginate, _Mapping]] = ..., criterias: _Optional[_Iterable[_Union[_common_pb2.Criteria, _Mapping]]] = ..., source: _Optional[_Union[_common_pb2.Source, str]] = ...) -> None: ...
|
|
321
|
-
|
|
322
|
-
class GetAllAssistantUserConversationResponse(_message.Message):
|
|
323
|
-
__slots__ = ("code", "success", "data", "error", "paginated")
|
|
324
|
-
CODE_FIELD_NUMBER: _ClassVar[int]
|
|
325
|
-
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
326
|
-
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
327
|
-
ERROR_FIELD_NUMBER: _ClassVar[int]
|
|
328
|
-
PAGINATED_FIELD_NUMBER: _ClassVar[int]
|
|
329
|
-
code: int
|
|
330
|
-
success: bool
|
|
331
|
-
data: _containers.RepeatedCompositeFieldContainer[_common_pb2.AssistantConversation]
|
|
332
|
-
error: _common_pb2.Error
|
|
333
|
-
paginated: _common_pb2.Paginated
|
|
334
|
-
def __init__(self, code: _Optional[int] = ..., success: bool = ..., data: _Optional[_Iterable[_Union[_common_pb2.AssistantConversation, _Mapping]]] = ..., error: _Optional[_Union[_common_pb2.Error, _Mapping]] = ..., paginated: _Optional[_Union[_common_pb2.Paginated, _Mapping]] = ...) -> None: ...
|
|
335
|
-
|
|
336
310
|
class GetAssistantConversationRequest(_message.Message):
|
|
337
|
-
__slots__ = ("assistantId", "
|
|
311
|
+
__slots__ = ("assistantId", "id", "selectors")
|
|
338
312
|
ASSISTANTID_FIELD_NUMBER: _ClassVar[int]
|
|
339
|
-
|
|
313
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
340
314
|
SELECTORS_FIELD_NUMBER: _ClassVar[int]
|
|
341
315
|
assistantId: int
|
|
342
|
-
|
|
316
|
+
id: int
|
|
343
317
|
selectors: _containers.RepeatedCompositeFieldContainer[_common_pb2.FieldSelector]
|
|
344
|
-
def __init__(self, assistantId: _Optional[int] = ...,
|
|
318
|
+
def __init__(self, assistantId: _Optional[int] = ..., id: _Optional[int] = ..., selectors: _Optional[_Iterable[_Union[_common_pb2.FieldSelector, _Mapping]]] = ...) -> None: ...
|
|
345
319
|
|
|
346
320
|
class GetAssistantConversationResponse(_message.Message):
|
|
347
321
|
__slots__ = ("code", "success", "data", "error")
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: rapida-python
|
|
3
|
+
Version: 0.1.15
|
|
4
|
+
Summary: RapidaAI SDK to integrate rapida.ai APIs
|
|
5
|
+
Author-email: RapidaAI <code@rapida.ai>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/rapidaai/rapida-python
|
|
8
|
+
Project-URL: Bug Reports, https://github.com/rapidaai/rapida-python/issues
|
|
9
|
+
Project-URL: Documentation, https://rapida.ai/docs
|
|
10
|
+
Project-URL: Source, https://github.com/rapidaai/rapida-python
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
+
Requires-Python: >=3.9
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
Requires-Dist: protobuf
|
|
23
|
+
Requires-Dist: grpcio
|
|
24
|
+
Requires-Dist: grpcio-tools
|
|
25
|
+
Provides-Extra: dev
|
|
26
|
+
Requires-Dist: pytest; extra == "dev"
|
|
27
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
28
|
+
Requires-Dist: flake8; extra == "dev"
|
|
29
|
+
Requires-Dist: black; extra == "dev"
|
|
30
|
+
Requires-Dist: mypy; extra == "dev"
|
|
31
|
+
|
|
32
|
+
# Rapida Python SDK
|
|
33
|
+
|
|
34
|
+
[](https://github.com/rapidaai/rapida-python/actions/workflows/build.yml)
|
|
35
|
+
|
|
36
|
+
The Rapida Python SDK provides a powerful interface for interacting with Rapida AI services. This SDK simplifies the process of making API calls, handling authentication, and managing responses from Rapida endpoints.
|
|
37
|
+
|
|
38
|
+
## Installation
|
|
39
|
+
|
|
40
|
+
To install the Rapida Python SDK, use the following command:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
pip install rapida-python
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Quick Start
|
|
47
|
+
|
|
48
|
+
Here's how to get started with the Rapida Python SDK:
|
|
49
|
+
|
|
50
|
+
```python
|
|
51
|
+
from rapida import (
|
|
52
|
+
ConnectionConfig,
|
|
53
|
+
)
|
|
54
|
+
from pprint import pprint
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
connection_config = ConnectionConfig.default_connection_config(
|
|
58
|
+
ConnectionConfig.with_sdk(
|
|
59
|
+
"{your-api-key-here}" # Replace with your actual API key
|
|
60
|
+
)
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Authentication
|
|
66
|
+
|
|
67
|
+
You can configure the Rapida SDK to authenticate using your **API Key** or **Personal Token**:
|
|
68
|
+
|
|
69
|
+
### Authenticating with API Key
|
|
70
|
+
|
|
71
|
+
```python
|
|
72
|
+
import os
|
|
73
|
+
from rapida.connections import ConnectionConfig
|
|
74
|
+
connection_config = ConnectionConfig.with_sdk(
|
|
75
|
+
os.environ["RAPIDA_API_KEY"] # API Key from environment variables
|
|
76
|
+
)
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Authenticating with Personal Token
|
|
80
|
+
|
|
81
|
+
```python
|
|
82
|
+
import os
|
|
83
|
+
from rapida.connections import ConnectionConfig
|
|
84
|
+
|
|
85
|
+
connection_config = ConnectionConfig.with_personal_token(
|
|
86
|
+
os.environ["RAPIDA_AUTHORIZATION_TOKEN"], # Authorization Token
|
|
87
|
+
os.environ["RAPIDA_AUTH_ID"], # Authentication ID
|
|
88
|
+
os.environ["RAPIDA_PROJECT_ID"], # Project ID
|
|
89
|
+
)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Configuration Options
|
|
93
|
+
|
|
94
|
+
The `DefaultConnectionConfig` accepts multiple options for configuring the SDK. Key options include:
|
|
95
|
+
|
|
96
|
+
- `with_sdk(api_key: str)`: Sets the API key for authentication.
|
|
97
|
+
- `with_personal_token(auth_token: str, auth_id: str, project_id: str)`: Configures the connection for personal tokens.
|
|
98
|
+
- `with_endpoint_url(url: str)`: Overrides the default API endpoint URL.
|
|
99
|
+
- `with_timeout(timeout: float)`: Sets the timeout for API requests (in seconds).
|
|
100
|
+
|
|
101
|
+
## Compatibility
|
|
102
|
+
|
|
103
|
+
This SDK requires **Python 3.8 or later**. Ensure your system meets this requirement:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
python --version
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
To upgrade or specify a version, use the following command:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
pip install --upgrade rapida-python
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Conclusion
|
|
118
|
+
|
|
119
|
+
The Rapida Python SDK provides everything necessary to integrate seamlessly with Rapida AI services, offering flexible configuration and authentication options. With the examples provided, you should be able to get started quickly and make advanced API calls as needed.
|
|
120
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
rapida/__init__.py,sha256=
|
|
1
|
+
rapida/__init__.py,sha256=Wwu0pdKbvYqLtQ7dOW5H40Ey5k9ipYfNL2-lc2xN6VQ,29205
|
|
2
2
|
rapida/version.py,sha256=viGOWqdZKnddhX3OaC8ukCMltj9eQG53LVDTj-Pha3o,1269
|
|
3
3
|
rapida/clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
rapida/clients/assistant.py,sha256=H4yQ6NFqcAbNXu-EEFmgmnmEBqkqPJaTVbRRwceSNWA,5542
|
|
@@ -8,8 +8,8 @@ rapida/clients/invoke.py,sha256=jeCdFThHQIcGQ7rVqwKTzJLS-NRrR8yI20AzdWnJy9c,500
|
|
|
8
8
|
rapida/clients/protos/assistant_analysis_pb2.py,sha256=JgPAQIR09OnnnDo4FawosOpVIhQ9nQn65fTGDGCuSIY,9862
|
|
9
9
|
rapida/clients/protos/assistant_analysis_pb2.pyi,sha256=Mw1I2iuM4vHhnZa-qEhhp4RBmuTytZvvZR3-TGrt1LQ,8070
|
|
10
10
|
rapida/clients/protos/assistant_analysis_pb2_grpc.py,sha256=y3iidcsQd04zHdGeqzI8A1PCypx_nhiu59WszCfgdQM,899
|
|
11
|
-
rapida/clients/protos/assistant_api_pb2.py,sha256=
|
|
12
|
-
rapida/clients/protos/assistant_api_pb2.pyi,sha256=
|
|
11
|
+
rapida/clients/protos/assistant_api_pb2.py,sha256=A4kegxtneNyTLtjqtM8UfNOLcK8Yp6UG5ktzcJJ-0BM,22102
|
|
12
|
+
rapida/clients/protos/assistant_api_pb2.pyi,sha256=OXPmeAXChzimupYUfTE7HoOCvLj_HBgGpYjtDdmnIGM,20590
|
|
13
13
|
rapida/clients/protos/assistant_api_pb2_grpc.py,sha256=KCaEyUs9N4A2x5BzKm-icJnwxpoek3OLWyS_CL5W64I,74294
|
|
14
14
|
rapida/clients/protos/assistant_deployment_pb2.py,sha256=TGlfnApJVW_Cnhb4-gEXOnz-L399WsvpN4GyX5hrK6A,14615
|
|
15
15
|
rapida/clients/protos/assistant_deployment_pb2.pyi,sha256=cpsMK6K4lObJ5K1QgerT-hQjX5eupjiRfYP7-uO5HvI,14647
|
|
@@ -73,7 +73,7 @@ rapida/utils/rapida_header.py,sha256=LdqZsRHfXpcT4YCC8Ag_eoNYa6WQx6PVfRyfH12Ey3A
|
|
|
73
73
|
rapida/utils/rapida_region.py,sha256=ZO6_VGTlawtM2G_XOPVQldupOlMRRS__A97KGu8TQkE,1788
|
|
74
74
|
rapida/utils/rapida_source.py,sha256=ZHfYUSgtzv3Jpj-4PCjdZXyhbWPWbY-JZMCM1jYk5Fw,2828
|
|
75
75
|
rapida/utils/rapida_value.py,sha256=4TFIbPmMqcR0RB-381rWTqrxgBLY5doTsPXihOA1-Dc,6091
|
|
76
|
-
rapida_python-0.1.
|
|
77
|
-
rapida_python-0.1.
|
|
78
|
-
rapida_python-0.1.
|
|
79
|
-
rapida_python-0.1.
|
|
76
|
+
rapida_python-0.1.15.dist-info/METADATA,sha256=WHFTk9IDQoTcB4QiojV4dg0mt3k0nFWvYSCJBY8IHH4,3840
|
|
77
|
+
rapida_python-0.1.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
78
|
+
rapida_python-0.1.15.dist-info/top_level.txt,sha256=1OJt64VrZ3n2N8GBqlUSoQ3qvPv30QBYD--xOZv3R2g,7
|
|
79
|
+
rapida_python-0.1.15.dist-info/RECORD,,
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: rapida-python
|
|
3
|
-
Version: 0.1.13
|
|
4
|
-
Summary: RapidaAI SDK to integrate rapida.ai APIs
|
|
5
|
-
Author-email: RapidaAI <code@rapida.ai>
|
|
6
|
-
License-Expression: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/rapidaai/rapida-python
|
|
8
|
-
Project-URL: Bug Reports, https://github.com/rapidaai/rapida-python/issues
|
|
9
|
-
Project-URL: Documentation, https://rapida.ai/docs
|
|
10
|
-
Project-URL: Source, https://github.com/rapidaai/rapida-python
|
|
11
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
-
Classifier: Intended Audience :: Developers
|
|
13
|
-
Classifier: Operating System :: OS Independent
|
|
14
|
-
Classifier: Programming Language :: Python
|
|
15
|
-
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
-
Requires-Python: >=3.9
|
|
21
|
-
Description-Content-Type: text/markdown
|
|
22
|
-
Requires-Dist: protobuf
|
|
23
|
-
Requires-Dist: grpcio
|
|
24
|
-
Requires-Dist: grpcio-tools
|
|
25
|
-
Provides-Extra: dev
|
|
26
|
-
Requires-Dist: pytest; extra == "dev"
|
|
27
|
-
Requires-Dist: pytest-cov; extra == "dev"
|
|
28
|
-
Requires-Dist: flake8; extra == "dev"
|
|
29
|
-
Requires-Dist: black; extra == "dev"
|
|
30
|
-
Requires-Dist: mypy; extra == "dev"
|
|
31
|
-
|
|
32
|
-
## Table Of Contents
|
|
33
|
-
|
|
34
|
-
* [About the Project](#about-the-project)
|
|
35
|
-
* [Getting Started](#getting-started)
|
|
36
|
-
* [Prerequisites](#prerequisites)
|
|
37
|
-
* [Installation](#installation)
|
|
38
|
-
* [Usage](#usage)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
## About The Project
|
|
42
|
-
|
|
43
|
-

|
|
44
|
-
|
|
45
|
-
rapida-python sdk to Experiment, Test and Deploy LLM Applications 10X faster and cheaper
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
## Getting Started
|
|
49
|
-
|
|
50
|
-
This is an example of how you may give instructions on setting up your project locally.
|
|
51
|
-
To get a local copy up and running follow these simple example steps.
|
|
52
|
-
|
|
53
|
-
### Prerequisites
|
|
54
|
-
|
|
55
|
-
This is an example of how to list things you need to use the software and how to install them.
|
|
56
|
-
|
|
57
|
-
* python 3.9
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### Installation
|
|
61
|
-
|
|
62
|
-
1. Get a free API Key at [rapida.ai](https://www.rapida.ai/)
|
|
63
|
-
|
|
64
|
-
2. pip install rapida-python
|
|
65
|
-
|
|
66
|
-
```
|
|
67
|
-
pip install rapida-python
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
3. Refer to [Documentation](https://docs.rapida.ai/api-reference/introduction) on how to use the API Key
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
## Usage
|
|
74
|
-
|
|
75
|
-
Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
|
|
76
|
-
|
|
77
|
-
_For more examples, please refer to the [Documentation](https://docs.rapida.ai/api-reference/introduction)
|
|
78
|
-
# gxs-demo
|
|
File without changes
|
|
File without changes
|