Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDeploymentServer(s grpc.ServiceRegistrar, srv DeploymentServer)
- func RegisterTalkServiceServer(s grpc.ServiceRegistrar, srv TalkServiceServer)
- type AssistantConversation
- func (*AssistantConversation) Descriptor() ([]byte, []int)deprecated
- func (x *AssistantConversation) GetAssistantConversationMessage() []*AssistantConversationMessage
- func (x *AssistantConversation) GetAssistantId() uint64
- func (x *AssistantConversation) GetAssistantProviderModelId() uint64
- func (x *AssistantConversation) GetCreatedBy() uint64
- func (x *AssistantConversation) GetCreatedDate() *timestamppb.Timestamp
- func (x *AssistantConversation) GetId() uint64
- func (x *AssistantConversation) GetName() string
- func (x *AssistantConversation) GetOrganizationId() uint64
- func (x *AssistantConversation) GetProjectId() uint64
- func (x *AssistantConversation) GetSource() string
- func (x *AssistantConversation) GetUpdatedBy() uint64
- func (x *AssistantConversation) GetUpdatedDate() *timestamppb.Timestamp
- func (x *AssistantConversation) GetUser() *User
- func (x *AssistantConversation) GetUserId() uint64
- func (*AssistantConversation) ProtoMessage()
- func (x *AssistantConversation) ProtoReflect() protoreflect.Message
- func (x *AssistantConversation) Reset()
- func (x *AssistantConversation) String() string
- type AssistantConversationMessage
- func (*AssistantConversationMessage) Descriptor() ([]byte, []int)deprecated
- func (x *AssistantConversationMessage) GetAssistantConversationId() uint64
- func (x *AssistantConversationMessage) GetCreatedBy() uint64
- func (x *AssistantConversationMessage) GetCreatedDate() *timestamppb.Timestamp
- func (x *AssistantConversationMessage) GetExternalAuditId() uint64
- func (x *AssistantConversationMessage) GetId() uint64
- func (x *AssistantConversationMessage) GetMetrics() []*Metric
- func (x *AssistantConversationMessage) GetRequest() *Message
- func (x *AssistantConversationMessage) GetRequestRole() string
- func (x *AssistantConversationMessage) GetResponse() *Message
- func (x *AssistantConversationMessage) GetResponseRole() string
- func (x *AssistantConversationMessage) GetSource() string
- func (x *AssistantConversationMessage) GetStages() []*AssistantMessageStage
- func (x *AssistantConversationMessage) GetStatus() string
- func (x *AssistantConversationMessage) GetSuggestedQuestions() []string
- func (x *AssistantConversationMessage) GetUpdatedBy() uint64
- func (x *AssistantConversationMessage) GetUpdatedDate() *timestamppb.Timestamp
- func (*AssistantConversationMessage) ProtoMessage()
- func (x *AssistantConversationMessage) ProtoReflect() protoreflect.Message
- func (x *AssistantConversationMessage) Reset()
- func (x *AssistantConversationMessage) String() string
- type AssistantMessageStage
- func (*AssistantMessageStage) Descriptor() ([]byte, []int)deprecated
- func (x *AssistantMessageStage) GetAdditionalData() map[string]string
- func (x *AssistantMessageStage) GetStage() RAGStage
- func (x *AssistantMessageStage) GetTimetaken() uint64
- func (*AssistantMessageStage) ProtoMessage()
- func (x *AssistantMessageStage) ProtoReflect() protoreflect.Message
- func (x *AssistantMessageStage) Reset()
- func (x *AssistantMessageStage) String() string
- type BaseResponse
- func (*BaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BaseResponse) GetCode() int32
- func (x *BaseResponse) GetData() map[string]string
- func (x *BaseResponse) GetError() *Error
- func (x *BaseResponse) GetSuccess() bool
- func (*BaseResponse) ProtoMessage()
- func (x *BaseResponse) ProtoReflect() protoreflect.Message
- func (x *BaseResponse) Reset()
- func (x *BaseResponse) String() string
- type CallerResponse
- func (*CallerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallerResponse) GetError() *InvokerError
- func (x *CallerResponse) GetMeta() *structpb.Struct
- func (x *CallerResponse) GetMetrics() []*Metric
- func (x *CallerResponse) GetRequestId() uint64
- func (x *CallerResponse) GetResponse() string
- func (x *CallerResponse) GetResponses() []*Content
- func (x *CallerResponse) GetTimeTaken() uint64
- func (*CallerResponse) ProtoMessage()
- func (x *CallerResponse) ProtoReflect() protoreflect.Message
- func (x *CallerResponse) Reset()
- func (x *CallerResponse) String() string
- type Content
- func (*Content) Descriptor() ([]byte, []int)deprecated
- func (x *Content) GetContent() []byte
- func (x *Content) GetContentFormat() string
- func (x *Content) GetContentType() string
- func (x *Content) GetMeta() *structpb.Struct
- func (x *Content) GetName() string
- func (*Content) ProtoMessage()
- func (x *Content) ProtoReflect() protoreflect.Message
- func (x *Content) Reset()
- func (x *Content) String() string
- type CreateAssistantMessageRequest
- func (*CreateAssistantMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAssistantMessageRequest) GetAssistantConversationId() uint64
- func (x *CreateAssistantMessageRequest) GetAssistantId() uint64
- func (x *CreateAssistantMessageRequest) GetAssistantProviderModelId() uint64
- func (x *CreateAssistantMessageRequest) GetIdentifier() *ResourceIdentifier
- func (x *CreateAssistantMessageRequest) GetMessage() *Message
- func (x *CreateAssistantMessageRequest) GetMetadata() map[string]*anypb.Any
- func (x *CreateAssistantMessageRequest) GetSource() Source
- func (*CreateAssistantMessageRequest) ProtoMessage()
- func (x *CreateAssistantMessageRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAssistantMessageRequest) Reset()
- func (x *CreateAssistantMessageRequest) String() string
- type CreateAssistantMessageResponse
- func (*CreateAssistantMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAssistantMessageResponse) GetCode() int32
- func (x *CreateAssistantMessageResponse) GetData() *AssistantConversationMessage
- func (x *CreateAssistantMessageResponse) GetError() *Error
- func (x *CreateAssistantMessageResponse) GetSuccess() bool
- func (*CreateAssistantMessageResponse) ProtoMessage()
- func (x *CreateAssistantMessageResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAssistantMessageResponse) Reset()
- func (x *CreateAssistantMessageResponse) String() string
- type Criteria
- func (*Criteria) Descriptor() ([]byte, []int)deprecated
- func (x *Criteria) GetKey() string
- func (x *Criteria) GetLogic() string
- func (x *Criteria) GetValue() string
- func (*Criteria) ProtoMessage()
- func (x *Criteria) ProtoReflect() protoreflect.Message
- func (x *Criteria) Reset()
- func (x *Criteria) String() string
- type DeploymentClient
- type DeploymentServer
- type EndpointDefinition
- func (*EndpointDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *EndpointDefinition) GetEndpointId() uint64
- func (x *EndpointDefinition) GetVersion() string
- func (*EndpointDefinition) ProtoMessage()
- func (x *EndpointDefinition) ProtoReflect() protoreflect.Message
- func (x *EndpointDefinition) Reset()
- func (x *EndpointDefinition) String() string
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetErrorCode() uint64
- func (x *Error) GetErrorMessage() string
- func (x *Error) GetHumanMessage() string
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
- type GetAllAssistantConversationRequest
- func (*GetAllAssistantConversationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllAssistantConversationRequest) GetAssistantId() uint64
- func (x *GetAllAssistantConversationRequest) GetCriterias() []*Criteria
- func (x *GetAllAssistantConversationRequest) GetIdentifier() *ResourceIdentifier
- func (x *GetAllAssistantConversationRequest) GetPaginate() *Paginate
- func (x *GetAllAssistantConversationRequest) GetSource() Source
- func (*GetAllAssistantConversationRequest) ProtoMessage()
- func (x *GetAllAssistantConversationRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllAssistantConversationRequest) Reset()
- func (x *GetAllAssistantConversationRequest) String() string
- type GetAllAssistantConversationResponse
- func (*GetAllAssistantConversationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllAssistantConversationResponse) GetCode() int32
- func (x *GetAllAssistantConversationResponse) GetData() []*AssistantConversation
- func (x *GetAllAssistantConversationResponse) GetError() *Error
- func (x *GetAllAssistantConversationResponse) GetPaginated() *Paginated
- func (x *GetAllAssistantConversationResponse) GetSuccess() bool
- func (*GetAllAssistantConversationResponse) ProtoMessage()
- func (x *GetAllAssistantConversationResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllAssistantConversationResponse) Reset()
- func (x *GetAllAssistantConversationResponse) String() string
- type GetAllConversationMessageRequest
- func (*GetAllConversationMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllConversationMessageRequest) GetAssistantConversationId() uint64
- func (x *GetAllConversationMessageRequest) GetAssistantId() uint64
- func (x *GetAllConversationMessageRequest) GetCriterias() []*Criteria
- func (x *GetAllConversationMessageRequest) GetIdentifier() *ResourceIdentifier
- func (x *GetAllConversationMessageRequest) GetOrder() *Ordering
- func (x *GetAllConversationMessageRequest) GetPaginate() *Paginate
- func (x *GetAllConversationMessageRequest) GetSource() Source
- func (*GetAllConversationMessageRequest) ProtoMessage()
- func (x *GetAllConversationMessageRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllConversationMessageRequest) Reset()
- func (x *GetAllConversationMessageRequest) String() string
- type GetAllConversationMessageResponse
- func (*GetAllConversationMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllConversationMessageResponse) GetCode() int32
- func (x *GetAllConversationMessageResponse) GetData() []*AssistantConversationMessage
- func (x *GetAllConversationMessageResponse) GetError() *Error
- func (x *GetAllConversationMessageResponse) GetPaginated() *Paginated
- func (x *GetAllConversationMessageResponse) GetSuccess() bool
- func (*GetAllConversationMessageResponse) ProtoMessage()
- func (x *GetAllConversationMessageResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllConversationMessageResponse) Reset()
- func (x *GetAllConversationMessageResponse) String() string
- type InvokeRequest
- func (*InvokeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeRequest) GetArgs() map[string]*anypb.Any
- func (x *InvokeRequest) GetEndpoint() *EndpointDefinition
- func (x *InvokeRequest) GetMetadata() map[string]*anypb.Any
- func (x *InvokeRequest) GetOptions() map[string]*anypb.Any
- func (*InvokeRequest) ProtoMessage()
- func (x *InvokeRequest) ProtoReflect() protoreflect.Message
- func (x *InvokeRequest) Reset()
- func (x *InvokeRequest) String() string
- type InvokeResponse
- func (*InvokeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeResponse) GetCode() int32
- func (x *InvokeResponse) GetData() *CallerResponse
- func (x *InvokeResponse) GetError() *InvokerError
- func (x *InvokeResponse) GetSuccess() bool
- func (*InvokeResponse) ProtoMessage()
- func (x *InvokeResponse) ProtoReflect() protoreflect.Message
- func (x *InvokeResponse) Reset()
- func (x *InvokeResponse) String() string
- type InvokerError
- func (*InvokerError) Descriptor() ([]byte, []int)deprecated
- func (x *InvokerError) GetErrorCode() uint64
- func (x *InvokerError) GetErrorMessage() string
- func (x *InvokerError) GetHumanMessage() string
- func (*InvokerError) ProtoMessage()
- func (x *InvokerError) ProtoReflect() protoreflect.Message
- func (x *InvokerError) Reset()
- func (x *InvokerError) String() string
- type Knowledge
- func (*Knowledge) Descriptor() ([]byte, []int)deprecated
- func (x *Knowledge) GetCreatedBy() uint64
- func (x *Knowledge) GetCreatedDate() *timestamppb.Timestamp
- func (x *Knowledge) GetCreatedUser() *User
- func (x *Knowledge) GetDescription() string
- func (x *Knowledge) GetDocumentCount() uint32
- func (x *Knowledge) GetEmbeddingProviderId() uint64
- func (x *Knowledge) GetEmbeddingProviderModel() *ProviderModel
- func (x *Knowledge) GetEmbeddingProviderModelId() uint64
- func (x *Knowledge) GetId() uint64
- func (x *Knowledge) GetKnowledgeTag() *Tag
- func (x *Knowledge) GetLanguage() string
- func (x *Knowledge) GetName() string
- func (x *Knowledge) GetOrganization() *Organization
- func (x *Knowledge) GetOrganizationId() uint64
- func (x *Knowledge) GetProjectId() uint64
- func (x *Knowledge) GetStatus() string
- func (x *Knowledge) GetTokenCount() uint32
- func (x *Knowledge) GetUpdatedBy() uint64
- func (x *Knowledge) GetUpdatedDate() *timestamppb.Timestamp
- func (x *Knowledge) GetUpdatedUser() *User
- func (x *Knowledge) GetVisibility() string
- func (x *Knowledge) GetWordCount() uint32
- func (*Knowledge) ProtoMessage()
- func (x *Knowledge) ProtoReflect() protoreflect.Message
- func (x *Knowledge) Reset()
- func (x *Knowledge) String() string
- type Message
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetId() uint64
- func (x *Metadata) GetKey() string
- func (x *Metadata) GetValue() string
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)deprecated
- func (x *Metric) GetDescription() string
- func (x *Metric) GetName() string
- func (x *Metric) GetValue() string
- func (*Metric) ProtoMessage()
- func (x *Metric) ProtoReflect() protoreflect.Message
- func (x *Metric) Reset()
- func (x *Metric) String() string
- type ModelEndpoint
- type Ordering
- type Organization
- func (*Organization) Descriptor() ([]byte, []int)deprecated
- func (x *Organization) GetContact() string
- func (x *Organization) GetDescription() string
- func (x *Organization) GetId() uint64
- func (x *Organization) GetIndustry() string
- func (x *Organization) GetName() string
- func (x *Organization) GetSize() string
- func (*Organization) ProtoMessage()
- func (x *Organization) ProtoReflect() protoreflect.Message
- func (x *Organization) Reset()
- func (x *Organization) String() string
- type Owner
- type Paginate
- type Paginated
- type ProbeRequest
- type ProbeResponse
- func (*ProbeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProbeResponse) GetCode() int32
- func (x *ProbeResponse) GetData() *structpb.Struct
- func (x *ProbeResponse) GetError() *InvokerError
- func (x *ProbeResponse) GetSuccess() bool
- func (*ProbeResponse) ProtoMessage()
- func (x *ProbeResponse) ProtoReflect() protoreflect.Message
- func (x *ProbeResponse) Reset()
- func (x *ProbeResponse) String() string
- type Provider
- func (*Provider) Descriptor() ([]byte, []int)deprecated
- func (x *Provider) GetConnectConfiguration() []*Variable
- func (x *Provider) GetDescription() string
- func (x *Provider) GetHumanName() string
- func (x *Provider) GetId() uint64
- func (x *Provider) GetImage() string
- func (x *Provider) GetName() string
- func (x *Provider) GetStatus() string
- func (x *Provider) GetWebsite() string
- func (*Provider) ProtoMessage()
- func (x *Provider) ProtoReflect() protoreflect.Message
- func (x *Provider) Reset()
- func (x *Provider) String() string
- type ProviderModel
- func (*ProviderModel) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderModel) GetCategory() string
- func (x *ProviderModel) GetDescription() string
- func (x *ProviderModel) GetEndpoints() []*ModelEndpoint
- func (x *ProviderModel) GetHumanName() string
- func (x *ProviderModel) GetId() uint64
- func (x *ProviderModel) GetMetadatas() []*Metadata
- func (x *ProviderModel) GetName() string
- func (x *ProviderModel) GetOwner() string
- func (x *ProviderModel) GetParameters() []*ProviderModelVariable
- func (x *ProviderModel) GetProvider() *Provider
- func (x *ProviderModel) GetProviderId() uint64
- func (x *ProviderModel) GetStatus() string
- func (*ProviderModel) ProtoMessage()
- func (x *ProviderModel) ProtoReflect() protoreflect.Message
- func (x *ProviderModel) Reset()
- func (x *ProviderModel) String() string
- type ProviderModelParameter
- func (*ProviderModelParameter) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderModelParameter) GetId() uint64
- func (x *ProviderModelParameter) GetProviderModelVariableId() uint64
- func (x *ProviderModelParameter) GetValue() string
- func (*ProviderModelParameter) ProtoMessage()
- func (x *ProviderModelParameter) ProtoReflect() protoreflect.Message
- func (x *ProviderModelParameter) Reset()
- func (x *ProviderModelParameter) String() string
- type ProviderModelVariable
- func (*ProviderModelVariable) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderModelVariable) GetDefaultValue() string
- func (x *ProviderModelVariable) GetDescription() string
- func (x *ProviderModelVariable) GetId() uint64
- func (x *ProviderModelVariable) GetKey() string
- func (x *ProviderModelVariable) GetMetadatas() []*Metadata
- func (x *ProviderModelVariable) GetName() string
- func (x *ProviderModelVariable) GetPlace() string
- func (x *ProviderModelVariable) GetProviderModelId() uint64
- func (x *ProviderModelVariable) GetType() string
- func (*ProviderModelVariable) ProtoMessage()
- func (x *ProviderModelVariable) ProtoReflect() protoreflect.Message
- func (x *ProviderModelVariable) Reset()
- func (x *ProviderModelVariable) String() string
- type RAGStage
- type ResourceIdentifier
- func (*ResourceIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceIdentifier) GetIdentifier() string
- func (x *ResourceIdentifier) GetOwner() Owner
- func (x *ResourceIdentifier) GetSource() Source
- func (*ResourceIdentifier) ProtoMessage()
- func (x *ResourceIdentifier) ProtoReflect() protoreflect.Message
- func (x *ResourceIdentifier) Reset()
- func (x *ResourceIdentifier) String() string
- type Source
- type Tag
- type TalkServiceClient
- type TalkServiceServer
- type TalkService_CreateAssistantMessageClient
- type TalkService_CreateAssistantMessageServer
- type UnimplementedDeploymentServer
- func (UnimplementedDeploymentServer) Invoke(context.Context, *InvokeRequest) (*InvokeResponse, error)
- func (UnimplementedDeploymentServer) Probe(context.Context, *ProbeRequest) (*ProbeResponse, error)
- func (UnimplementedDeploymentServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- type UnimplementedTalkServiceServer
- func (UnimplementedTalkServiceServer) CreateAssistantMessage(*CreateAssistantMessageRequest, TalkService_CreateAssistantMessageServer) error
- func (UnimplementedTalkServiceServer) GetAllAssistantConversation(context.Context, *GetAllAssistantConversationRequest) (*GetAllAssistantConversationResponse, error)
- func (UnimplementedTalkServiceServer) GetAllConversationMessage(context.Context, *GetAllConversationMessageRequest) (*GetAllConversationMessageResponse, error)
- type UnsafeDeploymentServer
- type UnsafeTalkServiceServer
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetMetadata() *structpb.Struct
- func (x *UpdateRequest) GetRequestId() uint64
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- type UpdateResponse
- func (*UpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResponse) GetCode() int32
- func (x *UpdateResponse) GetError() *InvokerError
- func (x *UpdateResponse) GetSuccess() bool
- func (*UpdateResponse) ProtoMessage()
- func (x *UpdateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResponse) Reset()
- func (x *UpdateResponse) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreatedDate() *timestamppb.Timestamp
- func (x *User) GetEmail() string
- func (x *User) GetId() uint64
- func (x *User) GetName() string
- func (x *User) GetRole() string
- func (x *User) GetStatus() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type Variable
- func (*Variable) Descriptor() ([]byte, []int)deprecated
- func (x *Variable) GetDefaultValue() string
- func (x *Variable) GetId() uint64
- func (x *Variable) GetIn() string
- func (x *Variable) GetLabel() string
- func (x *Variable) GetName() string
- func (x *Variable) GetRequired() bool
- func (x *Variable) GetType() string
- func (*Variable) ProtoMessage()
- func (x *Variable) ProtoReflect() protoreflect.Message
- func (x *Variable) Reset()
- func (x *Variable) String() string
Constants ¶
const ( Deployment_Invoke_FullMethodName = "/endpoint_api.Deployment/Invoke" Deployment_Update_FullMethodName = "/endpoint_api.Deployment/Update" Deployment_Probe_FullMethodName = "/endpoint_api.Deployment/Probe" )
const ( TalkService_CreateAssistantMessage_FullMethodName = "/talk_api.TalkService/CreateAssistantMessage" TalkService_GetAllAssistantConversation_FullMethodName = "/talk_api.TalkService/GetAllAssistantConversation" TalkService_GetAllConversationMessage_FullMethodName = "/talk_api.TalkService/GetAllConversationMessage" )
Variables ¶
var ( Source_name = map[int32]string{ 0: "WEB_PLUGIN", 1: "RAPIDA_APP", 2: "PYTHON_SDK", 3: "NODE_SDK", } Source_value = map[string]int32{ "WEB_PLUGIN": 0, "RAPIDA_APP": 1, "PYTHON_SDK": 2, "NODE_SDK": 3, } )
Enum value maps for Source.
var ( Owner_name = map[int32]string{ 0: "RAPIDA", 1: "UNKNOWN", 2: "CLIENT", } Owner_value = map[string]int32{ "RAPIDA": 0, "UNKNOWN": 1, "CLIENT": 2, } )
Enum value maps for Owner.
var ( RAGStage_name = map[int32]string{ 0: "UNDEFINED_STAGE", 1: "QUERY_FORMULATION", 2: "INFORMATION_RETRIEVAL", 3: "DOCUMENT_RETRIEVAL", 4: "CONTEXT_AUGMENTATION", 5: "TEXT_GENERATION", 6: "OUTPUT_EVALUATION", } RAGStage_value = map[string]int32{ "UNDEFINED_STAGE": 0, "QUERY_FORMULATION": 1, "INFORMATION_RETRIEVAL": 2, "DOCUMENT_RETRIEVAL": 3, "CONTEXT_AUGMENTATION": 4, "TEXT_GENERATION": 5, "OUTPUT_EVALUATION": 6, } )
Enum value maps for RAGStage.
var Deployment_ServiceDesc = grpc.ServiceDesc{ ServiceName: "endpoint_api.Deployment", HandlerType: (*DeploymentServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Invoke", Handler: _Deployment_Invoke_Handler, }, { MethodName: "Update", Handler: _Deployment_Update_Handler, }, { MethodName: "Probe", Handler: _Deployment_Probe_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "invoker-api.proto", }
Deployment_ServiceDesc is the grpc.ServiceDesc for Deployment service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_common_proto protoreflect.FileDescriptor
var File_invoker_api_proto protoreflect.FileDescriptor
var File_talk_api_proto protoreflect.FileDescriptor
var TalkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "talk_api.TalkService", HandlerType: (*TalkServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAllAssistantConversation", Handler: _TalkService_GetAllAssistantConversation_Handler, }, { MethodName: "GetAllConversationMessage", Handler: _TalkService_GetAllConversationMessage_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "CreateAssistantMessage", Handler: _TalkService_CreateAssistantMessage_Handler, ServerStreams: true, }, }, Metadata: "talk-api.proto", }
TalkService_ServiceDesc is the grpc.ServiceDesc for TalkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDeploymentServer ¶
func RegisterDeploymentServer(s grpc.ServiceRegistrar, srv DeploymentServer)
func RegisterTalkServiceServer ¶
func RegisterTalkServiceServer(s grpc.ServiceRegistrar, srv TalkServiceServer)
Types ¶
type AssistantConversation ¶
type AssistantConversation struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId uint64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` AssistantId uint64 `protobuf:"varint,3,opt,name=assistantId,proto3" json:"assistantId,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` ProjectId uint64 `protobuf:"varint,5,opt,name=projectId,proto3" json:"projectId,omitempty"` OrganizationId uint64 `protobuf:"varint,6,opt,name=organizationId,proto3" json:"organizationId,omitempty"` Source string `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty"` CreatedBy uint64 `protobuf:"varint,8,opt,name=createdBy,proto3" json:"createdBy,omitempty"` UpdatedBy uint64 `protobuf:"varint,9,opt,name=updatedBy,proto3" json:"updatedBy,omitempty"` User *User `protobuf:"bytes,10,opt,name=user,proto3" json:"user,omitempty"` AssistantProviderModelId uint64 `protobuf:"varint,12,opt,name=assistantProviderModelId,proto3" json:"assistantProviderModelId,omitempty"` AssistantConversationMessage []*AssistantConversationMessage `protobuf:"bytes,13,rep,name=assistantConversationMessage,proto3" json:"assistantConversationMessage,omitempty"` CreatedDate *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=createdDate,proto3" json:"createdDate,omitempty"` UpdatedDate *timestamppb.Timestamp `protobuf:"bytes,27,opt,name=updatedDate,proto3" json:"updatedDate,omitempty"` // contains filtered or unexported fields }
func (*AssistantConversation) Descriptor
deprecated
func (*AssistantConversation) Descriptor() ([]byte, []int)
Deprecated: Use AssistantConversation.ProtoReflect.Descriptor instead.
func (*AssistantConversation) GetAssistantConversationMessage ¶
func (x *AssistantConversation) GetAssistantConversationMessage() []*AssistantConversationMessage
func (*AssistantConversation) GetAssistantId ¶
func (x *AssistantConversation) GetAssistantId() uint64
func (*AssistantConversation) GetAssistantProviderModelId ¶
func (x *AssistantConversation) GetAssistantProviderModelId() uint64
func (*AssistantConversation) GetCreatedBy ¶
func (x *AssistantConversation) GetCreatedBy() uint64
func (*AssistantConversation) GetCreatedDate ¶
func (x *AssistantConversation) GetCreatedDate() *timestamppb.Timestamp
func (*AssistantConversation) GetId ¶
func (x *AssistantConversation) GetId() uint64
func (*AssistantConversation) GetName ¶
func (x *AssistantConversation) GetName() string
func (*AssistantConversation) GetOrganizationId ¶
func (x *AssistantConversation) GetOrganizationId() uint64
func (*AssistantConversation) GetProjectId ¶
func (x *AssistantConversation) GetProjectId() uint64
func (*AssistantConversation) GetSource ¶
func (x *AssistantConversation) GetSource() string
func (*AssistantConversation) GetUpdatedBy ¶
func (x *AssistantConversation) GetUpdatedBy() uint64
func (*AssistantConversation) GetUpdatedDate ¶
func (x *AssistantConversation) GetUpdatedDate() *timestamppb.Timestamp
func (*AssistantConversation) GetUser ¶
func (x *AssistantConversation) GetUser() *User
func (*AssistantConversation) GetUserId ¶
func (x *AssistantConversation) GetUserId() uint64
func (*AssistantConversation) ProtoMessage ¶
func (*AssistantConversation) ProtoMessage()
func (*AssistantConversation) ProtoReflect ¶
func (x *AssistantConversation) ProtoReflect() protoreflect.Message
func (*AssistantConversation) Reset ¶
func (x *AssistantConversation) Reset()
func (*AssistantConversation) String ¶
func (x *AssistantConversation) String() string
type AssistantConversationMessage ¶
type AssistantConversationMessage struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` AssistantConversationId uint64 `protobuf:"varint,2,opt,name=assistantConversationId,proto3" json:"assistantConversationId,omitempty"` RequestRole string `protobuf:"bytes,4,opt,name=requestRole,proto3" json:"requestRole,omitempty"` Request *Message `protobuf:"bytes,5,opt,name=request,proto3" json:"request,omitempty"` ResponseRole string `protobuf:"bytes,6,opt,name=responseRole,proto3" json:"responseRole,omitempty"` Response *Message `protobuf:"bytes,7,opt,name=response,proto3" json:"response,omitempty"` ExternalAuditId uint64 `protobuf:"varint,8,opt,name=externalAuditId,proto3" json:"externalAuditId,omitempty"` Source string `protobuf:"bytes,9,opt,name=source,proto3" json:"source,omitempty"` Metrics []*Metric `protobuf:"bytes,10,rep,name=metrics,proto3" json:"metrics,omitempty"` Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"` CreatedBy uint64 `protobuf:"varint,12,opt,name=createdBy,proto3" json:"createdBy,omitempty"` UpdatedBy uint64 `protobuf:"varint,13,opt,name=updatedBy,proto3" json:"updatedBy,omitempty"` SuggestedQuestions []string `protobuf:"bytes,14,rep,name=suggestedQuestions,proto3" json:"suggestedQuestions,omitempty"` Stages []*AssistantMessageStage `protobuf:"bytes,15,rep,name=stages,proto3" json:"stages,omitempty"` CreatedDate *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=createdDate,proto3" json:"createdDate,omitempty"` UpdatedDate *timestamppb.Timestamp `protobuf:"bytes,27,opt,name=updatedDate,proto3" json:"updatedDate,omitempty"` // contains filtered or unexported fields }
func (*AssistantConversationMessage) Descriptor
deprecated
func (*AssistantConversationMessage) Descriptor() ([]byte, []int)
Deprecated: Use AssistantConversationMessage.ProtoReflect.Descriptor instead.
func (*AssistantConversationMessage) GetAssistantConversationId ¶
func (x *AssistantConversationMessage) GetAssistantConversationId() uint64
func (*AssistantConversationMessage) GetCreatedBy ¶
func (x *AssistantConversationMessage) GetCreatedBy() uint64
func (*AssistantConversationMessage) GetCreatedDate ¶
func (x *AssistantConversationMessage) GetCreatedDate() *timestamppb.Timestamp
func (*AssistantConversationMessage) GetExternalAuditId ¶
func (x *AssistantConversationMessage) GetExternalAuditId() uint64
func (*AssistantConversationMessage) GetId ¶
func (x *AssistantConversationMessage) GetId() uint64
func (*AssistantConversationMessage) GetMetrics ¶
func (x *AssistantConversationMessage) GetMetrics() []*Metric
func (*AssistantConversationMessage) GetRequest ¶
func (x *AssistantConversationMessage) GetRequest() *Message
func (*AssistantConversationMessage) GetRequestRole ¶
func (x *AssistantConversationMessage) GetRequestRole() string
func (*AssistantConversationMessage) GetResponse ¶
func (x *AssistantConversationMessage) GetResponse() *Message
func (*AssistantConversationMessage) GetResponseRole ¶
func (x *AssistantConversationMessage) GetResponseRole() string
func (*AssistantConversationMessage) GetSource ¶
func (x *AssistantConversationMessage) GetSource() string
func (*AssistantConversationMessage) GetStages ¶
func (x *AssistantConversationMessage) GetStages() []*AssistantMessageStage
func (*AssistantConversationMessage) GetStatus ¶
func (x *AssistantConversationMessage) GetStatus() string
func (*AssistantConversationMessage) GetSuggestedQuestions ¶
func (x *AssistantConversationMessage) GetSuggestedQuestions() []string
func (*AssistantConversationMessage) GetUpdatedBy ¶
func (x *AssistantConversationMessage) GetUpdatedBy() uint64
func (*AssistantConversationMessage) GetUpdatedDate ¶
func (x *AssistantConversationMessage) GetUpdatedDate() *timestamppb.Timestamp
func (*AssistantConversationMessage) ProtoMessage ¶
func (*AssistantConversationMessage) ProtoMessage()
func (*AssistantConversationMessage) ProtoReflect ¶
func (x *AssistantConversationMessage) ProtoReflect() protoreflect.Message
func (*AssistantConversationMessage) Reset ¶
func (x *AssistantConversationMessage) Reset()
func (*AssistantConversationMessage) String ¶
func (x *AssistantConversationMessage) String() string
type AssistantMessageStage ¶
type AssistantMessageStage struct { Stage RAGStage `protobuf:"varint,1,opt,name=stage,proto3,enum=talk_api.RAGStage" json:"stage,omitempty"` AdditionalData map[string]string `` /* 169-byte string literal not displayed */ Timetaken uint64 `protobuf:"varint,3,opt,name=timetaken,proto3" json:"timetaken,omitempty"` // contains filtered or unexported fields }
func (*AssistantMessageStage) Descriptor
deprecated
func (*AssistantMessageStage) Descriptor() ([]byte, []int)
Deprecated: Use AssistantMessageStage.ProtoReflect.Descriptor instead.
func (*AssistantMessageStage) GetAdditionalData ¶
func (x *AssistantMessageStage) GetAdditionalData() map[string]string
func (*AssistantMessageStage) GetStage ¶
func (x *AssistantMessageStage) GetStage() RAGStage
func (*AssistantMessageStage) GetTimetaken ¶
func (x *AssistantMessageStage) GetTimetaken() uint64
func (*AssistantMessageStage) ProtoMessage ¶
func (*AssistantMessageStage) ProtoMessage()
func (*AssistantMessageStage) ProtoReflect ¶
func (x *AssistantMessageStage) ProtoReflect() protoreflect.Message
func (*AssistantMessageStage) Reset ¶
func (x *AssistantMessageStage) Reset()
func (*AssistantMessageStage) String ¶
func (x *AssistantMessageStage) String() string
type BaseResponse ¶
type BaseResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` Data map[string]string `` /* 149-byte string literal not displayed */ Error *Error `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*BaseResponse) Descriptor
deprecated
func (*BaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use BaseResponse.ProtoReflect.Descriptor instead.
func (*BaseResponse) GetCode ¶
func (x *BaseResponse) GetCode() int32
func (*BaseResponse) GetData ¶
func (x *BaseResponse) GetData() map[string]string
func (*BaseResponse) GetError ¶
func (x *BaseResponse) GetError() *Error
func (*BaseResponse) GetSuccess ¶
func (x *BaseResponse) GetSuccess() bool
func (*BaseResponse) ProtoMessage ¶
func (*BaseResponse) ProtoMessage()
func (*BaseResponse) ProtoReflect ¶
func (x *BaseResponse) ProtoReflect() protoreflect.Message
func (*BaseResponse) Reset ¶
func (x *BaseResponse) Reset()
func (*BaseResponse) String ¶
func (x *BaseResponse) String() string
type CallerResponse ¶
type CallerResponse struct { RequestId uint64 `protobuf:"varint,1,opt,name=requestId,proto3" json:"requestId,omitempty"` Response string `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` TimeTaken uint64 `protobuf:"varint,3,opt,name=timeTaken,proto3" json:"timeTaken,omitempty"` Responses []*Content `protobuf:"bytes,4,rep,name=responses,proto3" json:"responses,omitempty"` Error *InvokerError `protobuf:"bytes,5,opt,name=error,proto3,oneof" json:"error,omitempty"` Metrics []*Metric `protobuf:"bytes,6,rep,name=metrics,proto3" json:"metrics,omitempty"` Meta *structpb.Struct `protobuf:"bytes,7,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*CallerResponse) Descriptor
deprecated
func (*CallerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallerResponse.ProtoReflect.Descriptor instead.
func (*CallerResponse) GetError ¶
func (x *CallerResponse) GetError() *InvokerError
func (*CallerResponse) GetMeta ¶
func (x *CallerResponse) GetMeta() *structpb.Struct
func (*CallerResponse) GetMetrics ¶
func (x *CallerResponse) GetMetrics() []*Metric
func (*CallerResponse) GetRequestId ¶
func (x *CallerResponse) GetRequestId() uint64
func (*CallerResponse) GetResponse ¶
func (x *CallerResponse) GetResponse() string
func (*CallerResponse) GetResponses ¶
func (x *CallerResponse) GetResponses() []*Content
func (*CallerResponse) GetTimeTaken ¶
func (x *CallerResponse) GetTimeTaken() uint64
func (*CallerResponse) ProtoMessage ¶
func (*CallerResponse) ProtoMessage()
func (*CallerResponse) ProtoReflect ¶
func (x *CallerResponse) ProtoReflect() protoreflect.Message
func (*CallerResponse) Reset ¶
func (x *CallerResponse) Reset()
func (*CallerResponse) String ¶
func (x *CallerResponse) String() string
type Content ¶
type Content struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // audio, image, video, text etc ContentType string `protobuf:"bytes,2,opt,name=contentType,proto3" json:"contentType,omitempty"` // from raw string to url all can be ContentFormat string `protobuf:"bytes,3,opt,name=contentFormat,proto3" json:"contentFormat,omitempty"` // actual content Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` // added meta data incase you want to add something which is not supported in // future Meta *structpb.Struct `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*Content) Descriptor
deprecated
func (*Content) GetContent ¶
func (*Content) GetContentFormat ¶
func (*Content) GetContentType ¶
func (*Content) ProtoMessage ¶
func (*Content) ProtoMessage()
func (*Content) ProtoReflect ¶
func (x *Content) ProtoReflect() protoreflect.Message
type CreateAssistantMessageRequest ¶
type CreateAssistantMessageRequest struct { // assistant parameter AssistantId uint64 `protobuf:"varint,1,opt,name=assistantId,proto3" json:"assistantId,omitempty"` AssistantProviderModelId uint64 `protobuf:"varint,2,opt,name=assistantProviderModelId,proto3" json:"assistantProviderModelId,omitempty"` // actual message Message *Message `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` AssistantConversationId *uint64 `protobuf:"varint,4,opt,name=assistantConversationId,proto3,oneof" json:"assistantConversationId,omitempty"` // metadata Metadata map[string]*anypb.Any `` /* 157-byte string literal not displayed */ // source Source Source `protobuf:"varint,7,opt,name=source,proto3,enum=Source" json:"source,omitempty"` // identifier Identifier *ResourceIdentifier `protobuf:"bytes,5,opt,name=identifier,proto3,oneof" json:"identifier,omitempty"` // contains filtered or unexported fields }
func (*CreateAssistantMessageRequest) Descriptor
deprecated
func (*CreateAssistantMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAssistantMessageRequest.ProtoReflect.Descriptor instead.
func (*CreateAssistantMessageRequest) GetAssistantConversationId ¶
func (x *CreateAssistantMessageRequest) GetAssistantConversationId() uint64
func (*CreateAssistantMessageRequest) GetAssistantId ¶
func (x *CreateAssistantMessageRequest) GetAssistantId() uint64
func (*CreateAssistantMessageRequest) GetAssistantProviderModelId ¶
func (x *CreateAssistantMessageRequest) GetAssistantProviderModelId() uint64
func (*CreateAssistantMessageRequest) GetIdentifier ¶
func (x *CreateAssistantMessageRequest) GetIdentifier() *ResourceIdentifier
func (*CreateAssistantMessageRequest) GetMessage ¶
func (x *CreateAssistantMessageRequest) GetMessage() *Message
func (*CreateAssistantMessageRequest) GetMetadata ¶
func (x *CreateAssistantMessageRequest) GetMetadata() map[string]*anypb.Any
func (*CreateAssistantMessageRequest) GetSource ¶
func (x *CreateAssistantMessageRequest) GetSource() Source
func (*CreateAssistantMessageRequest) ProtoMessage ¶
func (*CreateAssistantMessageRequest) ProtoMessage()
func (*CreateAssistantMessageRequest) ProtoReflect ¶
func (x *CreateAssistantMessageRequest) ProtoReflect() protoreflect.Message
func (*CreateAssistantMessageRequest) Reset ¶
func (x *CreateAssistantMessageRequest) Reset()
func (*CreateAssistantMessageRequest) String ¶
func (x *CreateAssistantMessageRequest) String() string
type CreateAssistantMessageResponse ¶
type CreateAssistantMessageResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` Data *AssistantConversationMessage `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` Error *Error `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*CreateAssistantMessageResponse) Descriptor
deprecated
func (*CreateAssistantMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAssistantMessageResponse.ProtoReflect.Descriptor instead.
func (*CreateAssistantMessageResponse) GetCode ¶
func (x *CreateAssistantMessageResponse) GetCode() int32
func (*CreateAssistantMessageResponse) GetData ¶
func (x *CreateAssistantMessageResponse) GetData() *AssistantConversationMessage
func (*CreateAssistantMessageResponse) GetError ¶
func (x *CreateAssistantMessageResponse) GetError() *Error
func (*CreateAssistantMessageResponse) GetSuccess ¶
func (x *CreateAssistantMessageResponse) GetSuccess() bool
func (*CreateAssistantMessageResponse) ProtoMessage ¶
func (*CreateAssistantMessageResponse) ProtoMessage()
func (*CreateAssistantMessageResponse) ProtoReflect ¶
func (x *CreateAssistantMessageResponse) ProtoReflect() protoreflect.Message
func (*CreateAssistantMessageResponse) Reset ¶
func (x *CreateAssistantMessageResponse) Reset()
func (*CreateAssistantMessageResponse) String ¶
func (x *CreateAssistantMessageResponse) String() string
type Criteria ¶
type Criteria struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Logic string `protobuf:"bytes,3,opt,name=logic,proto3" json:"logic,omitempty"` // contains filtered or unexported fields }
func (*Criteria) Descriptor
deprecated
func (*Criteria) ProtoMessage ¶
func (*Criteria) ProtoMessage()
func (*Criteria) ProtoReflect ¶
func (x *Criteria) ProtoReflect() protoreflect.Message
type DeploymentClient ¶
type DeploymentClient interface { Invoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (*InvokeResponse, error) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) Probe(ctx context.Context, in *ProbeRequest, opts ...grpc.CallOption) (*ProbeResponse, error) }
DeploymentClient is the client API for Deployment service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeploymentClient ¶
func NewDeploymentClient(cc grpc.ClientConnInterface) DeploymentClient
type DeploymentServer ¶
type DeploymentServer interface { Invoke(context.Context, *InvokeRequest) (*InvokeResponse, error) Update(context.Context, *UpdateRequest) (*UpdateResponse, error) Probe(context.Context, *ProbeRequest) (*ProbeResponse, error) }
DeploymentServer is the server API for Deployment service. All implementations should embed UnimplementedDeploymentServer for forward compatibility
type EndpointDefinition ¶
type EndpointDefinition struct { EndpointId uint64 `protobuf:"varint,1,opt,name=endpointId,proto3" json:"endpointId,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*EndpointDefinition) Descriptor
deprecated
func (*EndpointDefinition) Descriptor() ([]byte, []int)
Deprecated: Use EndpointDefinition.ProtoReflect.Descriptor instead.
func (*EndpointDefinition) GetEndpointId ¶
func (x *EndpointDefinition) GetEndpointId() uint64
func (*EndpointDefinition) GetVersion ¶
func (x *EndpointDefinition) GetVersion() string
func (*EndpointDefinition) ProtoMessage ¶
func (*EndpointDefinition) ProtoMessage()
func (*EndpointDefinition) ProtoReflect ¶
func (x *EndpointDefinition) ProtoReflect() protoreflect.Message
func (*EndpointDefinition) Reset ¶
func (x *EndpointDefinition) Reset()
func (*EndpointDefinition) String ¶
func (x *EndpointDefinition) String() string
type Error ¶
type Error struct { ErrorCode uint64 `protobuf:"varint,1,opt,name=errorCode,proto3" json:"errorCode,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` HumanMessage string `protobuf:"bytes,3,opt,name=humanMessage,proto3" json:"humanMessage,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetErrorCode ¶
func (*Error) GetErrorMessage ¶
func (*Error) GetHumanMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type GetAllAssistantConversationRequest ¶
type GetAllAssistantConversationRequest struct { AssistantId uint64 `protobuf:"varint,1,opt,name=assistantId,proto3" json:"assistantId,omitempty"` Paginate *Paginate `protobuf:"bytes,2,opt,name=paginate,proto3" json:"paginate,omitempty"` Criterias []*Criteria `protobuf:"bytes,3,rep,name=criterias,proto3" json:"criterias,omitempty"` // source Source Source `protobuf:"varint,7,opt,name=source,proto3,enum=Source" json:"source,omitempty"` // identifier Identifier *ResourceIdentifier `protobuf:"bytes,8,opt,name=identifier,proto3,oneof" json:"identifier,omitempty"` // contains filtered or unexported fields }
func (*GetAllAssistantConversationRequest) Descriptor
deprecated
func (*GetAllAssistantConversationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllAssistantConversationRequest.ProtoReflect.Descriptor instead.
func (*GetAllAssistantConversationRequest) GetAssistantId ¶
func (x *GetAllAssistantConversationRequest) GetAssistantId() uint64
func (*GetAllAssistantConversationRequest) GetCriterias ¶
func (x *GetAllAssistantConversationRequest) GetCriterias() []*Criteria
func (*GetAllAssistantConversationRequest) GetIdentifier ¶
func (x *GetAllAssistantConversationRequest) GetIdentifier() *ResourceIdentifier
func (*GetAllAssistantConversationRequest) GetPaginate ¶
func (x *GetAllAssistantConversationRequest) GetPaginate() *Paginate
func (*GetAllAssistantConversationRequest) GetSource ¶
func (x *GetAllAssistantConversationRequest) GetSource() Source
func (*GetAllAssistantConversationRequest) ProtoMessage ¶
func (*GetAllAssistantConversationRequest) ProtoMessage()
func (*GetAllAssistantConversationRequest) ProtoReflect ¶
func (x *GetAllAssistantConversationRequest) ProtoReflect() protoreflect.Message
func (*GetAllAssistantConversationRequest) Reset ¶
func (x *GetAllAssistantConversationRequest) Reset()
func (*GetAllAssistantConversationRequest) String ¶
func (x *GetAllAssistantConversationRequest) String() string
type GetAllAssistantConversationResponse ¶
type GetAllAssistantConversationResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` Data []*AssistantConversation `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` Error *Error `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` Paginated *Paginated `protobuf:"bytes,5,opt,name=paginated,proto3" json:"paginated,omitempty"` // contains filtered or unexported fields }
func (*GetAllAssistantConversationResponse) Descriptor
deprecated
func (*GetAllAssistantConversationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllAssistantConversationResponse.ProtoReflect.Descriptor instead.
func (*GetAllAssistantConversationResponse) GetCode ¶
func (x *GetAllAssistantConversationResponse) GetCode() int32
func (*GetAllAssistantConversationResponse) GetData ¶
func (x *GetAllAssistantConversationResponse) GetData() []*AssistantConversation
func (*GetAllAssistantConversationResponse) GetError ¶
func (x *GetAllAssistantConversationResponse) GetError() *Error
func (*GetAllAssistantConversationResponse) GetPaginated ¶
func (x *GetAllAssistantConversationResponse) GetPaginated() *Paginated
func (*GetAllAssistantConversationResponse) GetSuccess ¶
func (x *GetAllAssistantConversationResponse) GetSuccess() bool
func (*GetAllAssistantConversationResponse) ProtoMessage ¶
func (*GetAllAssistantConversationResponse) ProtoMessage()
func (*GetAllAssistantConversationResponse) ProtoReflect ¶
func (x *GetAllAssistantConversationResponse) ProtoReflect() protoreflect.Message
func (*GetAllAssistantConversationResponse) Reset ¶
func (x *GetAllAssistantConversationResponse) Reset()
func (*GetAllAssistantConversationResponse) String ¶
func (x *GetAllAssistantConversationResponse) String() string
type GetAllConversationMessageRequest ¶
type GetAllConversationMessageRequest struct { AssistantId uint64 `protobuf:"varint,1,opt,name=assistantId,proto3" json:"assistantId,omitempty"` AssistantConversationId uint64 `protobuf:"varint,2,opt,name=assistantConversationId,proto3" json:"assistantConversationId,omitempty"` Paginate *Paginate `protobuf:"bytes,3,opt,name=paginate,proto3" json:"paginate,omitempty"` Criterias []*Criteria `protobuf:"bytes,4,rep,name=criterias,proto3" json:"criterias,omitempty"` Order *Ordering `protobuf:"bytes,5,opt,name=order,proto3" json:"order,omitempty"` // source Source Source `protobuf:"varint,7,opt,name=source,proto3,enum=Source" json:"source,omitempty"` // identifier Identifier *ResourceIdentifier `protobuf:"bytes,8,opt,name=identifier,proto3,oneof" json:"identifier,omitempty"` // contains filtered or unexported fields }
func (*GetAllConversationMessageRequest) Descriptor
deprecated
func (*GetAllConversationMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllConversationMessageRequest.ProtoReflect.Descriptor instead.
func (*GetAllConversationMessageRequest) GetAssistantConversationId ¶
func (x *GetAllConversationMessageRequest) GetAssistantConversationId() uint64
func (*GetAllConversationMessageRequest) GetAssistantId ¶
func (x *GetAllConversationMessageRequest) GetAssistantId() uint64
func (*GetAllConversationMessageRequest) GetCriterias ¶
func (x *GetAllConversationMessageRequest) GetCriterias() []*Criteria
func (*GetAllConversationMessageRequest) GetIdentifier ¶
func (x *GetAllConversationMessageRequest) GetIdentifier() *ResourceIdentifier
func (*GetAllConversationMessageRequest) GetOrder ¶
func (x *GetAllConversationMessageRequest) GetOrder() *Ordering
func (*GetAllConversationMessageRequest) GetPaginate ¶
func (x *GetAllConversationMessageRequest) GetPaginate() *Paginate
func (*GetAllConversationMessageRequest) GetSource ¶
func (x *GetAllConversationMessageRequest) GetSource() Source
func (*GetAllConversationMessageRequest) ProtoMessage ¶
func (*GetAllConversationMessageRequest) ProtoMessage()
func (*GetAllConversationMessageRequest) ProtoReflect ¶
func (x *GetAllConversationMessageRequest) ProtoReflect() protoreflect.Message
func (*GetAllConversationMessageRequest) Reset ¶
func (x *GetAllConversationMessageRequest) Reset()
func (*GetAllConversationMessageRequest) String ¶
func (x *GetAllConversationMessageRequest) String() string
type GetAllConversationMessageResponse ¶
type GetAllConversationMessageResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` Data []*AssistantConversationMessage `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` Error *Error `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` Paginated *Paginated `protobuf:"bytes,5,opt,name=paginated,proto3" json:"paginated,omitempty"` // contains filtered or unexported fields }
func (*GetAllConversationMessageResponse) Descriptor
deprecated
func (*GetAllConversationMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllConversationMessageResponse.ProtoReflect.Descriptor instead.
func (*GetAllConversationMessageResponse) GetCode ¶
func (x *GetAllConversationMessageResponse) GetCode() int32
func (*GetAllConversationMessageResponse) GetData ¶
func (x *GetAllConversationMessageResponse) GetData() []*AssistantConversationMessage
func (*GetAllConversationMessageResponse) GetError ¶
func (x *GetAllConversationMessageResponse) GetError() *Error
func (*GetAllConversationMessageResponse) GetPaginated ¶
func (x *GetAllConversationMessageResponse) GetPaginated() *Paginated
func (*GetAllConversationMessageResponse) GetSuccess ¶
func (x *GetAllConversationMessageResponse) GetSuccess() bool
func (*GetAllConversationMessageResponse) ProtoMessage ¶
func (*GetAllConversationMessageResponse) ProtoMessage()
func (*GetAllConversationMessageResponse) ProtoReflect ¶
func (x *GetAllConversationMessageResponse) ProtoReflect() protoreflect.Message
func (*GetAllConversationMessageResponse) Reset ¶
func (x *GetAllConversationMessageResponse) Reset()
func (*GetAllConversationMessageResponse) String ¶
func (x *GetAllConversationMessageResponse) String() string
type InvokeRequest ¶
type InvokeRequest struct { Endpoint *EndpointDefinition `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Metadata map[string]*anypb.Any `` /* 157-byte string literal not displayed */ Options map[string]*anypb.Any `` /* 155-byte string literal not displayed */ Args map[string]*anypb.Any `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*InvokeRequest) Descriptor
deprecated
func (*InvokeRequest) Descriptor() ([]byte, []int)
Deprecated: Use InvokeRequest.ProtoReflect.Descriptor instead.
func (*InvokeRequest) GetEndpoint ¶
func (x *InvokeRequest) GetEndpoint() *EndpointDefinition
func (*InvokeRequest) GetMetadata ¶
func (x *InvokeRequest) GetMetadata() map[string]*anypb.Any
func (*InvokeRequest) GetOptions ¶
func (x *InvokeRequest) GetOptions() map[string]*anypb.Any
func (*InvokeRequest) ProtoMessage ¶
func (*InvokeRequest) ProtoMessage()
func (*InvokeRequest) ProtoReflect ¶
func (x *InvokeRequest) ProtoReflect() protoreflect.Message
func (*InvokeRequest) Reset ¶
func (x *InvokeRequest) Reset()
func (*InvokeRequest) String ¶
func (x *InvokeRequest) String() string
type InvokeResponse ¶
type InvokeResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` Data *CallerResponse `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` Error *InvokerError `protobuf:"bytes,4,opt,name=error,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
func (*InvokeResponse) Descriptor
deprecated
func (*InvokeResponse) Descriptor() ([]byte, []int)
Deprecated: Use InvokeResponse.ProtoReflect.Descriptor instead.
func (*InvokeResponse) GetCode ¶
func (x *InvokeResponse) GetCode() int32
func (*InvokeResponse) GetData ¶
func (x *InvokeResponse) GetData() *CallerResponse
func (*InvokeResponse) GetError ¶
func (x *InvokeResponse) GetError() *InvokerError
func (*InvokeResponse) GetSuccess ¶
func (x *InvokeResponse) GetSuccess() bool
func (*InvokeResponse) ProtoMessage ¶
func (*InvokeResponse) ProtoMessage()
func (*InvokeResponse) ProtoReflect ¶
func (x *InvokeResponse) ProtoReflect() protoreflect.Message
func (*InvokeResponse) Reset ¶
func (x *InvokeResponse) Reset()
func (*InvokeResponse) String ¶
func (x *InvokeResponse) String() string
type InvokerError ¶
type InvokerError struct { ErrorCode uint64 `protobuf:"varint,1,opt,name=errorCode,proto3" json:"errorCode,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"` HumanMessage string `protobuf:"bytes,3,opt,name=humanMessage,proto3" json:"humanMessage,omitempty"` // contains filtered or unexported fields }
func (*InvokerError) Descriptor
deprecated
func (*InvokerError) Descriptor() ([]byte, []int)
Deprecated: Use InvokerError.ProtoReflect.Descriptor instead.
func (*InvokerError) GetErrorCode ¶
func (x *InvokerError) GetErrorCode() uint64
func (*InvokerError) GetErrorMessage ¶
func (x *InvokerError) GetErrorMessage() string
func (*InvokerError) GetHumanMessage ¶
func (x *InvokerError) GetHumanMessage() string
func (*InvokerError) ProtoMessage ¶
func (*InvokerError) ProtoMessage()
func (*InvokerError) ProtoReflect ¶
func (x *InvokerError) ProtoReflect() protoreflect.Message
func (*InvokerError) Reset ¶
func (x *InvokerError) Reset()
func (*InvokerError) String ¶
func (x *InvokerError) String() string
type Knowledge ¶
type Knowledge struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Visibility string `protobuf:"bytes,4,opt,name=visibility,proto3" json:"visibility,omitempty"` Language string `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty"` EmbeddingProviderModelId uint64 `protobuf:"varint,6,opt,name=embeddingProviderModelId,proto3" json:"embeddingProviderModelId,omitempty"` EmbeddingProviderModel *ProviderModel `protobuf:"bytes,7,opt,name=embeddingProviderModel,proto3" json:"embeddingProviderModel,omitempty"` Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"` CreatedBy uint64 `protobuf:"varint,13,opt,name=createdBy,proto3" json:"createdBy,omitempty"` CreatedUser *User `protobuf:"bytes,14,opt,name=createdUser,proto3" json:"createdUser,omitempty"` UpdatedBy uint64 `protobuf:"varint,15,opt,name=updatedBy,proto3" json:"updatedBy,omitempty"` UpdatedUser *User `protobuf:"bytes,16,opt,name=updatedUser,proto3" json:"updatedUser,omitempty"` CreatedDate *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=createdDate,proto3" json:"createdDate,omitempty"` UpdatedDate *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=updatedDate,proto3" json:"updatedDate,omitempty"` OrganizationId uint64 `protobuf:"varint,19,opt,name=organizationId,proto3" json:"organizationId,omitempty"` ProjectId uint64 `protobuf:"varint,20,opt,name=projectId,proto3" json:"projectId,omitempty"` Organization *Organization `protobuf:"bytes,21,opt,name=organization,proto3" json:"organization,omitempty"` KnowledgeTag *Tag `protobuf:"bytes,22,opt,name=knowledgeTag,proto3" json:"knowledgeTag,omitempty"` DocumentCount uint32 `protobuf:"varint,23,opt,name=documentCount,proto3" json:"documentCount,omitempty"` TokenCount uint32 `protobuf:"varint,24,opt,name=tokenCount,proto3" json:"tokenCount,omitempty"` WordCount uint32 `protobuf:"varint,25,opt,name=wordCount,proto3" json:"wordCount,omitempty"` EmbeddingProviderId uint64 `protobuf:"varint,26,opt,name=embeddingProviderId,proto3" json:"embeddingProviderId,omitempty"` // contains filtered or unexported fields }
func (*Knowledge) Descriptor
deprecated
func (*Knowledge) GetCreatedBy ¶
func (*Knowledge) GetCreatedDate ¶
func (x *Knowledge) GetCreatedDate() *timestamppb.Timestamp
func (*Knowledge) GetCreatedUser ¶
func (*Knowledge) GetDescription ¶
func (*Knowledge) GetDocumentCount ¶
func (*Knowledge) GetEmbeddingProviderId ¶
func (*Knowledge) GetEmbeddingProviderModel ¶
func (x *Knowledge) GetEmbeddingProviderModel() *ProviderModel
func (*Knowledge) GetEmbeddingProviderModelId ¶
func (*Knowledge) GetKnowledgeTag ¶
func (*Knowledge) GetLanguage ¶
func (*Knowledge) GetOrganization ¶
func (x *Knowledge) GetOrganization() *Organization
func (*Knowledge) GetOrganizationId ¶
func (*Knowledge) GetProjectId ¶
func (*Knowledge) GetTokenCount ¶
func (*Knowledge) GetUpdatedBy ¶
func (*Knowledge) GetUpdatedDate ¶
func (x *Knowledge) GetUpdatedDate() *timestamppb.Timestamp
func (*Knowledge) GetUpdatedUser ¶
func (*Knowledge) GetVisibility ¶
func (*Knowledge) GetWordCount ¶
func (*Knowledge) ProtoMessage ¶
func (*Knowledge) ProtoMessage()
func (*Knowledge) ProtoReflect ¶
func (x *Knowledge) ProtoReflect() protoreflect.Message
type Message ¶
type Message struct { Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` Contents []*Content `protobuf:"bytes,2,rep,name=contents,proto3" json:"contents,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetContents ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Metadata ¶
type Metadata struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type Metric ¶
type Metric struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Metric) Descriptor
deprecated
func (*Metric) GetDescription ¶
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) ProtoReflect ¶
func (x *Metric) ProtoReflect() protoreflect.Message
type ModelEndpoint ¶
type ModelEndpoint struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*ModelEndpoint) Descriptor
deprecated
func (*ModelEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use ModelEndpoint.ProtoReflect.Descriptor instead.
func (*ModelEndpoint) GetEndpoint ¶
func (x *ModelEndpoint) GetEndpoint() string
func (*ModelEndpoint) ProtoMessage ¶
func (*ModelEndpoint) ProtoMessage()
func (*ModelEndpoint) ProtoReflect ¶
func (x *ModelEndpoint) ProtoReflect() protoreflect.Message
func (*ModelEndpoint) Reset ¶
func (x *ModelEndpoint) Reset()
func (*ModelEndpoint) String ¶
func (x *ModelEndpoint) String() string
type Ordering ¶
type Ordering struct { Column string `protobuf:"bytes,1,opt,name=column,proto3" json:"column,omitempty"` Order string `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"` // contains filtered or unexported fields }
func (*Ordering) Descriptor
deprecated
func (*Ordering) ProtoMessage ¶
func (*Ordering) ProtoMessage()
func (*Ordering) ProtoReflect ¶
func (x *Ordering) ProtoReflect() protoreflect.Message
type Organization ¶
type Organization struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Industry string `protobuf:"bytes,4,opt,name=industry,proto3" json:"industry,omitempty"` Contact string `protobuf:"bytes,5,opt,name=contact,proto3" json:"contact,omitempty"` Size string `protobuf:"bytes,6,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*Organization) Descriptor
deprecated
func (*Organization) Descriptor() ([]byte, []int)
Deprecated: Use Organization.ProtoReflect.Descriptor instead.
func (*Organization) GetContact ¶
func (x *Organization) GetContact() string
func (*Organization) GetDescription ¶
func (x *Organization) GetDescription() string
func (*Organization) GetId ¶
func (x *Organization) GetId() uint64
func (*Organization) GetIndustry ¶
func (x *Organization) GetIndustry() string
func (*Organization) GetName ¶
func (x *Organization) GetName() string
func (*Organization) GetSize ¶
func (x *Organization) GetSize() string
func (*Organization) ProtoMessage ¶
func (*Organization) ProtoMessage()
func (*Organization) ProtoReflect ¶
func (x *Organization) ProtoReflect() protoreflect.Message
func (*Organization) Reset ¶
func (x *Organization) Reset()
func (*Organization) String ¶
func (x *Organization) String() string
type Owner ¶
type Owner int32
func (Owner) Descriptor ¶
func (Owner) Descriptor() protoreflect.EnumDescriptor
func (Owner) EnumDescriptor
deprecated
func (Owner) Number ¶
func (x Owner) Number() protoreflect.EnumNumber
func (Owner) Type ¶
func (Owner) Type() protoreflect.EnumType
type Paginate ¶
type Paginate struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize uint32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // contains filtered or unexported fields }
func (*Paginate) Descriptor
deprecated
func (*Paginate) GetPageSize ¶
func (*Paginate) ProtoMessage ¶
func (*Paginate) ProtoMessage()
func (*Paginate) ProtoReflect ¶
func (x *Paginate) ProtoReflect() protoreflect.Message
type Paginated ¶
type Paginated struct { CurrentPage uint32 `protobuf:"varint,1,opt,name=currentPage,proto3" json:"currentPage,omitempty"` TotalItem uint32 `protobuf:"varint,2,opt,name=totalItem,proto3" json:"totalItem,omitempty"` // contains filtered or unexported fields }
func (*Paginated) Descriptor
deprecated
func (*Paginated) GetCurrentPage ¶
func (*Paginated) GetTotalItem ¶
func (*Paginated) ProtoMessage ¶
func (*Paginated) ProtoMessage()
func (*Paginated) ProtoReflect ¶
func (x *Paginated) ProtoReflect() protoreflect.Message
type ProbeRequest ¶
type ProbeRequest struct { RequestId uint64 `protobuf:"varint,1,opt,name=requestId,proto3" json:"requestId,omitempty"` // contains filtered or unexported fields }
func (*ProbeRequest) Descriptor
deprecated
func (*ProbeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProbeRequest.ProtoReflect.Descriptor instead.
func (*ProbeRequest) GetRequestId ¶
func (x *ProbeRequest) GetRequestId() uint64
func (*ProbeRequest) ProtoMessage ¶
func (*ProbeRequest) ProtoMessage()
func (*ProbeRequest) ProtoReflect ¶
func (x *ProbeRequest) ProtoReflect() protoreflect.Message
func (*ProbeRequest) Reset ¶
func (x *ProbeRequest) Reset()
func (*ProbeRequest) String ¶
func (x *ProbeRequest) String() string
type ProbeResponse ¶
type ProbeResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` Data *structpb.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` Error *InvokerError `protobuf:"bytes,4,opt,name=error,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ProbeResponse) Descriptor
deprecated
func (*ProbeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProbeResponse.ProtoReflect.Descriptor instead.
func (*ProbeResponse) GetCode ¶
func (x *ProbeResponse) GetCode() int32
func (*ProbeResponse) GetData ¶
func (x *ProbeResponse) GetData() *structpb.Struct
func (*ProbeResponse) GetError ¶
func (x *ProbeResponse) GetError() *InvokerError
func (*ProbeResponse) GetSuccess ¶
func (x *ProbeResponse) GetSuccess() bool
func (*ProbeResponse) ProtoMessage ¶
func (*ProbeResponse) ProtoMessage()
func (*ProbeResponse) ProtoReflect ¶
func (x *ProbeResponse) ProtoReflect() protoreflect.Message
func (*ProbeResponse) Reset ¶
func (x *ProbeResponse) Reset()
func (*ProbeResponse) String ¶
func (x *ProbeResponse) String() string
type Provider ¶
type Provider struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` HumanName string `protobuf:"bytes,4,opt,name=humanName,proto3" json:"humanName,omitempty"` Image string `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"` Website string `protobuf:"bytes,6,opt,name=website,proto3" json:"website,omitempty"` Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` ConnectConfiguration []*Variable `protobuf:"bytes,9,rep,name=connectConfiguration,proto3" json:"connectConfiguration,omitempty"` // contains filtered or unexported fields }
func (*Provider) Descriptor
deprecated
func (*Provider) GetConnectConfiguration ¶
func (*Provider) GetDescription ¶
func (*Provider) GetHumanName ¶
func (*Provider) GetWebsite ¶
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
func (*Provider) ProtoReflect ¶
func (x *Provider) ProtoReflect() protoreflect.Message
type ProviderModel ¶
type ProviderModel struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` HumanName string `protobuf:"bytes,4,opt,name=humanName,proto3" json:"humanName,omitempty"` Category string `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"` Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` Provider *Provider `protobuf:"bytes,8,opt,name=provider,proto3" json:"provider,omitempty"` Parameters []*ProviderModelVariable `protobuf:"bytes,9,rep,name=parameters,proto3" json:"parameters,omitempty"` Metadatas []*Metadata `protobuf:"bytes,10,rep,name=metadatas,proto3" json:"metadatas,omitempty"` ProviderId uint64 `protobuf:"varint,11,opt,name=providerId,proto3" json:"providerId,omitempty"` Endpoints []*ModelEndpoint `protobuf:"bytes,12,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // contains filtered or unexported fields }
func (*ProviderModel) Descriptor
deprecated
func (*ProviderModel) Descriptor() ([]byte, []int)
Deprecated: Use ProviderModel.ProtoReflect.Descriptor instead.
func (*ProviderModel) GetCategory ¶
func (x *ProviderModel) GetCategory() string
func (*ProviderModel) GetDescription ¶
func (x *ProviderModel) GetDescription() string
func (*ProviderModel) GetEndpoints ¶
func (x *ProviderModel) GetEndpoints() []*ModelEndpoint
func (*ProviderModel) GetHumanName ¶
func (x *ProviderModel) GetHumanName() string
func (*ProviderModel) GetId ¶
func (x *ProviderModel) GetId() uint64
func (*ProviderModel) GetMetadatas ¶
func (x *ProviderModel) GetMetadatas() []*Metadata
func (*ProviderModel) GetName ¶
func (x *ProviderModel) GetName() string
func (*ProviderModel) GetOwner ¶
func (x *ProviderModel) GetOwner() string
func (*ProviderModel) GetParameters ¶
func (x *ProviderModel) GetParameters() []*ProviderModelVariable
func (*ProviderModel) GetProvider ¶
func (x *ProviderModel) GetProvider() *Provider
func (*ProviderModel) GetProviderId ¶
func (x *ProviderModel) GetProviderId() uint64
func (*ProviderModel) GetStatus ¶
func (x *ProviderModel) GetStatus() string
func (*ProviderModel) ProtoMessage ¶
func (*ProviderModel) ProtoMessage()
func (*ProviderModel) ProtoReflect ¶
func (x *ProviderModel) ProtoReflect() protoreflect.Message
func (*ProviderModel) Reset ¶
func (x *ProviderModel) Reset()
func (*ProviderModel) String ¶
func (x *ProviderModel) String() string
type ProviderModelParameter ¶
type ProviderModelParameter struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ProviderModelVariableId uint64 `protobuf:"varint,2,opt,name=providerModelVariableId,proto3" json:"providerModelVariableId,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ProviderModelParameter) Descriptor
deprecated
func (*ProviderModelParameter) Descriptor() ([]byte, []int)
Deprecated: Use ProviderModelParameter.ProtoReflect.Descriptor instead.
func (*ProviderModelParameter) GetId ¶
func (x *ProviderModelParameter) GetId() uint64
func (*ProviderModelParameter) GetProviderModelVariableId ¶
func (x *ProviderModelParameter) GetProviderModelVariableId() uint64
func (*ProviderModelParameter) GetValue ¶
func (x *ProviderModelParameter) GetValue() string
func (*ProviderModelParameter) ProtoMessage ¶
func (*ProviderModelParameter) ProtoMessage()
func (*ProviderModelParameter) ProtoReflect ¶
func (x *ProviderModelParameter) ProtoReflect() protoreflect.Message
func (*ProviderModelParameter) Reset ¶
func (x *ProviderModelParameter) Reset()
func (*ProviderModelParameter) String ¶
func (x *ProviderModelParameter) String() string
type ProviderModelVariable ¶
type ProviderModelVariable struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ProviderModelId uint64 `protobuf:"varint,2,opt,name=providerModelId,proto3" json:"providerModelId,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` DefaultValue string `protobuf:"bytes,6,opt,name=defaultValue,proto3" json:"defaultValue,omitempty"` Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` Place string `protobuf:"bytes,8,opt,name=place,proto3" json:"place,omitempty"` Metadatas []*Metadata `protobuf:"bytes,9,rep,name=metadatas,proto3" json:"metadatas,omitempty"` // contains filtered or unexported fields }
func (*ProviderModelVariable) Descriptor
deprecated
func (*ProviderModelVariable) Descriptor() ([]byte, []int)
Deprecated: Use ProviderModelVariable.ProtoReflect.Descriptor instead.
func (*ProviderModelVariable) GetDefaultValue ¶
func (x *ProviderModelVariable) GetDefaultValue() string
func (*ProviderModelVariable) GetDescription ¶
func (x *ProviderModelVariable) GetDescription() string
func (*ProviderModelVariable) GetId ¶
func (x *ProviderModelVariable) GetId() uint64
func (*ProviderModelVariable) GetKey ¶
func (x *ProviderModelVariable) GetKey() string
func (*ProviderModelVariable) GetMetadatas ¶
func (x *ProviderModelVariable) GetMetadatas() []*Metadata
func (*ProviderModelVariable) GetName ¶
func (x *ProviderModelVariable) GetName() string
func (*ProviderModelVariable) GetPlace ¶
func (x *ProviderModelVariable) GetPlace() string
func (*ProviderModelVariable) GetProviderModelId ¶
func (x *ProviderModelVariable) GetProviderModelId() uint64
func (*ProviderModelVariable) GetType ¶
func (x *ProviderModelVariable) GetType() string
func (*ProviderModelVariable) ProtoMessage ¶
func (*ProviderModelVariable) ProtoMessage()
func (*ProviderModelVariable) ProtoReflect ¶
func (x *ProviderModelVariable) ProtoReflect() protoreflect.Message
func (*ProviderModelVariable) Reset ¶
func (x *ProviderModelVariable) Reset()
func (*ProviderModelVariable) String ¶
func (x *ProviderModelVariable) String() string
type RAGStage ¶
type RAGStage int32
func (RAGStage) Descriptor ¶
func (RAGStage) Descriptor() protoreflect.EnumDescriptor
func (RAGStage) EnumDescriptor
deprecated
func (RAGStage) Number ¶
func (x RAGStage) Number() protoreflect.EnumNumber
func (RAGStage) Type ¶
func (RAGStage) Type() protoreflect.EnumType
type ResourceIdentifier ¶
type ResourceIdentifier struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` Source Source `protobuf:"varint,2,opt,name=source,proto3,enum=Source" json:"source,omitempty"` Owner Owner `protobuf:"varint,3,opt,name=owner,proto3,enum=Owner" json:"owner,omitempty"` // contains filtered or unexported fields }
func (*ResourceIdentifier) Descriptor
deprecated
func (*ResourceIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use ResourceIdentifier.ProtoReflect.Descriptor instead.
func (*ResourceIdentifier) GetIdentifier ¶
func (x *ResourceIdentifier) GetIdentifier() string
func (*ResourceIdentifier) GetOwner ¶
func (x *ResourceIdentifier) GetOwner() Owner
func (*ResourceIdentifier) GetSource ¶
func (x *ResourceIdentifier) GetSource() Source
func (*ResourceIdentifier) ProtoMessage ¶
func (*ResourceIdentifier) ProtoMessage()
func (*ResourceIdentifier) ProtoReflect ¶
func (x *ResourceIdentifier) ProtoReflect() protoreflect.Message
func (*ResourceIdentifier) Reset ¶
func (x *ResourceIdentifier) Reset()
func (*ResourceIdentifier) String ¶
func (x *ResourceIdentifier) String() string
type Source ¶
type Source int32
func (Source) Descriptor ¶
func (Source) Descriptor() protoreflect.EnumDescriptor
func (Source) EnumDescriptor
deprecated
func (Source) Number ¶
func (x Source) Number() protoreflect.EnumNumber
func (Source) Type ¶
func (Source) Type() protoreflect.EnumType
type Tag ¶
type Tag struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Tag []string `protobuf:"bytes,2,rep,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*Tag) Descriptor
deprecated
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
type TalkServiceClient ¶
type TalkServiceClient interface { CreateAssistantMessage(ctx context.Context, in *CreateAssistantMessageRequest, opts ...grpc.CallOption) (TalkService_CreateAssistantMessageClient, error) GetAllAssistantConversation(ctx context.Context, in *GetAllAssistantConversationRequest, opts ...grpc.CallOption) (*GetAllAssistantConversationResponse, error) GetAllConversationMessage(ctx context.Context, in *GetAllConversationMessageRequest, opts ...grpc.CallOption) (*GetAllConversationMessageResponse, error) }
TalkServiceClient is the client API for TalkService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTalkServiceClient ¶
func NewTalkServiceClient(cc grpc.ClientConnInterface) TalkServiceClient
type TalkServiceServer ¶
type TalkServiceServer interface { CreateAssistantMessage(*CreateAssistantMessageRequest, TalkService_CreateAssistantMessageServer) error GetAllAssistantConversation(context.Context, *GetAllAssistantConversationRequest) (*GetAllAssistantConversationResponse, error) GetAllConversationMessage(context.Context, *GetAllConversationMessageRequest) (*GetAllConversationMessageResponse, error) }
TalkServiceServer is the server API for TalkService service. All implementations should embed UnimplementedTalkServiceServer for forward compatibility
type TalkService_CreateAssistantMessageClient ¶
type TalkService_CreateAssistantMessageClient interface { Recv() (*CreateAssistantMessageResponse, error) grpc.ClientStream }
type TalkService_CreateAssistantMessageServer ¶
type TalkService_CreateAssistantMessageServer interface { Send(*CreateAssistantMessageResponse) error grpc.ServerStream }
type UnimplementedDeploymentServer ¶
type UnimplementedDeploymentServer struct { }
UnimplementedDeploymentServer should be embedded to have forward compatible implementations.
func (UnimplementedDeploymentServer) Invoke ¶
func (UnimplementedDeploymentServer) Invoke(context.Context, *InvokeRequest) (*InvokeResponse, error)
func (UnimplementedDeploymentServer) Probe ¶
func (UnimplementedDeploymentServer) Probe(context.Context, *ProbeRequest) (*ProbeResponse, error)
func (UnimplementedDeploymentServer) Update ¶
func (UnimplementedDeploymentServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
type UnimplementedTalkServiceServer ¶
type UnimplementedTalkServiceServer struct { }
UnimplementedTalkServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedTalkServiceServer) CreateAssistantMessage ¶
func (UnimplementedTalkServiceServer) CreateAssistantMessage(*CreateAssistantMessageRequest, TalkService_CreateAssistantMessageServer) error
func (UnimplementedTalkServiceServer) GetAllAssistantConversation ¶
func (UnimplementedTalkServiceServer) GetAllAssistantConversation(context.Context, *GetAllAssistantConversationRequest) (*GetAllAssistantConversationResponse, error)
func (UnimplementedTalkServiceServer) GetAllConversationMessage ¶
func (UnimplementedTalkServiceServer) GetAllConversationMessage(context.Context, *GetAllConversationMessageRequest) (*GetAllConversationMessageResponse, error)
type UnsafeDeploymentServer ¶
type UnsafeDeploymentServer interface {
// contains filtered or unexported methods
}
UnsafeDeploymentServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeploymentServer will result in compilation errors.
type UnsafeTalkServiceServer ¶
type UnsafeTalkServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTalkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TalkServiceServer will result in compilation errors.
type UpdateRequest ¶
type UpdateRequest struct { RequestId uint64 `protobuf:"varint,1,opt,name=requestId,proto3" json:"requestId,omitempty"` Metadata *structpb.Struct `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetMetadata ¶
func (x *UpdateRequest) GetMetadata() *structpb.Struct
func (*UpdateRequest) GetRequestId ¶
func (x *UpdateRequest) GetRequestId() uint64
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
type UpdateResponse ¶
type UpdateResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` Error *InvokerError `protobuf:"bytes,3,opt,name=error,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetCode ¶
func (x *UpdateResponse) GetCode() int32
func (*UpdateResponse) GetError ¶
func (x *UpdateResponse) GetError() *InvokerError
func (*UpdateResponse) GetSuccess ¶
func (x *UpdateResponse) GetSuccess() bool
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string
type User ¶
type User struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` CreatedDate *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=createdDate,proto3" json:"createdDate,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreatedDate ¶
func (x *User) GetCreatedDate() *timestamppb.Timestamp
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type Variable ¶
type Variable struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` DefaultValue *string `protobuf:"bytes,4,opt,name=defaultValue,proto3,oneof" json:"defaultValue,omitempty"` In *string `protobuf:"bytes,5,opt,name=in,proto3,oneof" json:"in,omitempty"` Required bool `protobuf:"varint,6,opt,name=required,proto3" json:"required,omitempty"` Label *string `protobuf:"bytes,7,opt,name=label,proto3,oneof" json:"label,omitempty"` // contains filtered or unexported fields }
func (*Variable) Descriptor
deprecated
func (*Variable) GetDefaultValue ¶
func (*Variable) GetRequired ¶
func (*Variable) ProtoMessage ¶
func (*Variable) ProtoMessage()
func (*Variable) ProtoReflect ¶
func (x *Variable) ProtoReflect() protoreflect.Message