1208 lines
37 KiB
Go
1208 lines
37 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v7.34.0
|
||
// source: memory.proto
|
||
|
||
package proto
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
unsafe "unsafe"
|
||
)
|
||
|
||
const (
|
||
// Verify that this generated code is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
)
|
||
|
||
// Memory представляет воспоминание о пользователе
|
||
type Memory struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
|
||
Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` // Уникальный ключ факта
|
||
Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // Значение факта
|
||
Category string `protobuf:"bytes,6,opt,name=category,proto3" json:"category,omitempty"` // preference, fact, personality, relationship
|
||
Priority string `protobuf:"bytes,7,opt,name=priority,proto3" json:"priority,omitempty"` // core, normal
|
||
Confidence float64 `protobuf:"fixed64,8,opt,name=confidence,proto3" json:"confidence,omitempty"` // 0.0 - 1.0
|
||
Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"`
|
||
Source string `protobuf:"bytes,10,opt,name=source,proto3" json:"source,omitempty"`
|
||
CreatedAt int64 `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
||
UpdatedAt int64 `protobuf:"varint,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *Memory) Reset() {
|
||
*x = Memory{}
|
||
mi := &file_memory_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *Memory) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Memory) ProtoMessage() {}
|
||
|
||
func (x *Memory) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[0]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use Memory.ProtoReflect.Descriptor instead.
|
||
func (*Memory) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *Memory) GetId() int64 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Memory) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Memory) GetUsername() string {
|
||
if x != nil {
|
||
return x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Memory) GetKey() string {
|
||
if x != nil {
|
||
return x.Key
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Memory) GetValue() string {
|
||
if x != nil {
|
||
return x.Value
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Memory) GetCategory() string {
|
||
if x != nil {
|
||
return x.Category
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Memory) GetPriority() string {
|
||
if x != nil {
|
||
return x.Priority
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Memory) GetConfidence() float64 {
|
||
if x != nil {
|
||
return x.Confidence
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Memory) GetTags() []string {
|
||
if x != nil {
|
||
return x.Tags
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Memory) GetSource() string {
|
||
if x != nil {
|
||
return x.Source
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *Memory) GetCreatedAt() int64 {
|
||
if x != nil {
|
||
return x.CreatedAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *Memory) GetUpdatedAt() int64 {
|
||
if x != nil {
|
||
return x.UpdatedAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// StoreMemoryRequest запрос на сохранение воспоминания
|
||
type StoreMemoryRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
||
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
||
Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
|
||
Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
|
||
Category string `protobuf:"bytes,6,opt,name=category,proto3" json:"category,omitempty"`
|
||
Priority string `protobuf:"bytes,7,opt,name=priority,proto3" json:"priority,omitempty"`
|
||
Confidence float64 `protobuf:"fixed64,8,opt,name=confidence,proto3" json:"confidence,omitempty"`
|
||
Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"`
|
||
Source string `protobuf:"bytes,10,opt,name=source,proto3" json:"source,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *StoreMemoryRequest) Reset() {
|
||
*x = StoreMemoryRequest{}
|
||
mi := &file_memory_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *StoreMemoryRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*StoreMemoryRequest) ProtoMessage() {}
|
||
|
||
func (x *StoreMemoryRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[1]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use StoreMemoryRequest.ProtoReflect.Descriptor instead.
|
||
func (*StoreMemoryRequest) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *StoreMemoryRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *StoreMemoryRequest) GetUsername() string {
|
||
if x != nil {
|
||
return x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreMemoryRequest) GetMessage() string {
|
||
if x != nil {
|
||
return x.Message
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreMemoryRequest) GetKey() string {
|
||
if x != nil {
|
||
return x.Key
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreMemoryRequest) GetValue() string {
|
||
if x != nil {
|
||
return x.Value
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreMemoryRequest) GetCategory() string {
|
||
if x != nil {
|
||
return x.Category
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreMemoryRequest) GetPriority() string {
|
||
if x != nil {
|
||
return x.Priority
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreMemoryRequest) GetConfidence() float64 {
|
||
if x != nil {
|
||
return x.Confidence
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *StoreMemoryRequest) GetTags() []string {
|
||
if x != nil {
|
||
return x.Tags
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *StoreMemoryRequest) GetSource() string {
|
||
if x != nil {
|
||
return x.Source
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// StoreMemoryResponse ответ на сохранение воспоминания
|
||
type StoreMemoryResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
||
MemoryId int64 `protobuf:"varint,3,opt,name=memory_id,json=memoryId,proto3" json:"memory_id,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *StoreMemoryResponse) Reset() {
|
||
*x = StoreMemoryResponse{}
|
||
mi := &file_memory_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *StoreMemoryResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*StoreMemoryResponse) ProtoMessage() {}
|
||
|
||
func (x *StoreMemoryResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[2]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use StoreMemoryResponse.ProtoReflect.Descriptor instead.
|
||
func (*StoreMemoryResponse) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *StoreMemoryResponse) GetSuccess() bool {
|
||
if x != nil {
|
||
return x.Success
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *StoreMemoryResponse) GetError() string {
|
||
if x != nil {
|
||
return x.Error
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreMemoryResponse) GetMemoryId() int64 {
|
||
if x != nil {
|
||
return x.MemoryId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// GetMemoriesRequest запрос на получение воспоминаний
|
||
type GetMemoriesRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
||
Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
|
||
SearchQuery string `protobuf:"bytes,4,opt,name=search_query,json=searchQuery,proto3" json:"search_query,omitempty"`
|
||
Limit int32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetMemoriesRequest) Reset() {
|
||
*x = GetMemoriesRequest{}
|
||
mi := &file_memory_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetMemoriesRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetMemoriesRequest) ProtoMessage() {}
|
||
|
||
func (x *GetMemoriesRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[3]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use GetMemoriesRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetMemoriesRequest) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *GetMemoriesRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetMemoriesRequest) GetUsername() string {
|
||
if x != nil {
|
||
return x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetMemoriesRequest) GetTags() []string {
|
||
if x != nil {
|
||
return x.Tags
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetMemoriesRequest) GetSearchQuery() string {
|
||
if x != nil {
|
||
return x.SearchQuery
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetMemoriesRequest) GetLimit() int32 {
|
||
if x != nil {
|
||
return x.Limit
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// GetMemoriesResponse ответ с воспоминаниями
|
||
type GetMemoriesResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Memories []*Memory `protobuf:"bytes,1,rep,name=memories,proto3" json:"memories,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetMemoriesResponse) Reset() {
|
||
*x = GetMemoriesResponse{}
|
||
mi := &file_memory_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetMemoriesResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetMemoriesResponse) ProtoMessage() {}
|
||
|
||
func (x *GetMemoriesResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[4]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use GetMemoriesResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetMemoriesResponse) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *GetMemoriesResponse) GetMemories() []*Memory {
|
||
if x != nil {
|
||
return x.Memories
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ProcessMessageRequest запрос на обработку сообщения для извлечения фактов
|
||
type ProcessMessageRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
||
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
||
Context string `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ProcessMessageRequest) Reset() {
|
||
*x = ProcessMessageRequest{}
|
||
mi := &file_memory_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ProcessMessageRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ProcessMessageRequest) ProtoMessage() {}
|
||
|
||
func (x *ProcessMessageRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[5]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ProcessMessageRequest.ProtoReflect.Descriptor instead.
|
||
func (*ProcessMessageRequest) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *ProcessMessageRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ProcessMessageRequest) GetUsername() string {
|
||
if x != nil {
|
||
return x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ProcessMessageRequest) GetMessage() string {
|
||
if x != nil {
|
||
return x.Message
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ProcessMessageRequest) GetContext() string {
|
||
if x != nil {
|
||
return x.Context
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// ProcessMessageResponse ответ с извлечёнными фактами
|
||
type ProcessMessageResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
||
FactsExtracted int32 `protobuf:"varint,3,opt,name=facts_extracted,json=factsExtracted,proto3" json:"facts_extracted,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ProcessMessageResponse) Reset() {
|
||
*x = ProcessMessageResponse{}
|
||
mi := &file_memory_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ProcessMessageResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ProcessMessageResponse) ProtoMessage() {}
|
||
|
||
func (x *ProcessMessageResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[6]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ProcessMessageResponse.ProtoReflect.Descriptor instead.
|
||
func (*ProcessMessageResponse) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *ProcessMessageResponse) GetSuccess() bool {
|
||
if x != nil {
|
||
return x.Success
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ProcessMessageResponse) GetError() string {
|
||
if x != nil {
|
||
return x.Error
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ProcessMessageResponse) GetFactsExtracted() int32 {
|
||
if x != nil {
|
||
return x.FactsExtracted
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// HealthCheckRequest для проверки здоровья сервиса
|
||
type HealthCheckRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *HealthCheckRequest) Reset() {
|
||
*x = HealthCheckRequest{}
|
||
mi := &file_memory_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *HealthCheckRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*HealthCheckRequest) ProtoMessage() {}
|
||
|
||
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[7]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
|
||
func (*HealthCheckRequest) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
// HealthCheckResponse для ответа на проверку здоровья
|
||
type HealthCheckResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Serving bool `protobuf:"varint,1,opt,name=serving,proto3" json:"serving,omitempty"`
|
||
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *HealthCheckResponse) Reset() {
|
||
*x = HealthCheckResponse{}
|
||
mi := &file_memory_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *HealthCheckResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*HealthCheckResponse) ProtoMessage() {}
|
||
|
||
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[8]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
|
||
func (*HealthCheckResponse) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *HealthCheckResponse) GetServing() bool {
|
||
if x != nil {
|
||
return x.Serving
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *HealthCheckResponse) GetVersion() string {
|
||
if x != nil {
|
||
return x.Version
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// GetRelevantMemoriesRequest запрос на получение релевантных воспоминаний
|
||
type GetRelevantMemoriesRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
||
CurrentMessage string `protobuf:"bytes,3,opt,name=current_message,json=currentMessage,proto3" json:"current_message,omitempty"` // Для генерации тегов
|
||
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetRelevantMemoriesRequest) Reset() {
|
||
*x = GetRelevantMemoriesRequest{}
|
||
mi := &file_memory_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetRelevantMemoriesRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetRelevantMemoriesRequest) ProtoMessage() {}
|
||
|
||
func (x *GetRelevantMemoriesRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[9]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use GetRelevantMemoriesRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetRelevantMemoriesRequest) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *GetRelevantMemoriesRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetRelevantMemoriesRequest) GetUsername() string {
|
||
if x != nil {
|
||
return x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetRelevantMemoriesRequest) GetCurrentMessage() string {
|
||
if x != nil {
|
||
return x.CurrentMessage
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *GetRelevantMemoriesRequest) GetLimit() int32 {
|
||
if x != nil {
|
||
return x.Limit
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// GetRelevantMemoriesResponse ответ с релевантными воспоминаниями
|
||
type GetRelevantMemoriesResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Memories []*Memory `protobuf:"bytes,1,rep,name=memories,proto3" json:"memories,omitempty"`
|
||
FormattedPrompt string `protobuf:"bytes,2,opt,name=formatted_prompt,json=formattedPrompt,proto3" json:"formatted_prompt,omitempty"` // Готовый блок для вставки в промпт
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetRelevantMemoriesResponse) Reset() {
|
||
*x = GetRelevantMemoriesResponse{}
|
||
mi := &file_memory_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetRelevantMemoriesResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetRelevantMemoriesResponse) ProtoMessage() {}
|
||
|
||
func (x *GetRelevantMemoriesResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[10]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use GetRelevantMemoriesResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetRelevantMemoriesResponse) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *GetRelevantMemoriesResponse) GetMemories() []*Memory {
|
||
if x != nil {
|
||
return x.Memories
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *GetRelevantMemoriesResponse) GetFormattedPrompt() string {
|
||
if x != nil {
|
||
return x.FormattedPrompt
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// GetMemoriesByUserRequest запрос на получение всех воспоминаний пользователя
|
||
type GetMemoriesByUserRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetMemoriesByUserRequest) Reset() {
|
||
*x = GetMemoriesByUserRequest{}
|
||
mi := &file_memory_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetMemoriesByUserRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetMemoriesByUserRequest) ProtoMessage() {}
|
||
|
||
func (x *GetMemoriesByUserRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[11]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use GetMemoriesByUserRequest.ProtoReflect.Descriptor instead.
|
||
func (*GetMemoriesByUserRequest) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *GetMemoriesByUserRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *GetMemoriesByUserRequest) GetUsername() string {
|
||
if x != nil {
|
||
return x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// GetMemoriesByUserResponse ответ с воспоминаниями пользователя
|
||
type GetMemoriesByUserResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Memories []*Memory `protobuf:"bytes,1,rep,name=memories,proto3" json:"memories,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *GetMemoriesByUserResponse) Reset() {
|
||
*x = GetMemoriesByUserResponse{}
|
||
mi := &file_memory_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *GetMemoriesByUserResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*GetMemoriesByUserResponse) ProtoMessage() {}
|
||
|
||
func (x *GetMemoriesByUserResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[12]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use GetMemoriesByUserResponse.ProtoReflect.Descriptor instead.
|
||
func (*GetMemoriesByUserResponse) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *GetMemoriesByUserResponse) GetMemories() []*Memory {
|
||
if x != nil {
|
||
return x.Memories
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// BulkRefreshRequest запрос на массовую обработку сообщений
|
||
type BulkRefreshRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
||
Messages []string `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"` // Список сообщений для обработки
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *BulkRefreshRequest) Reset() {
|
||
*x = BulkRefreshRequest{}
|
||
mi := &file_memory_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *BulkRefreshRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BulkRefreshRequest) ProtoMessage() {}
|
||
|
||
func (x *BulkRefreshRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[13]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use BulkRefreshRequest.ProtoReflect.Descriptor instead.
|
||
func (*BulkRefreshRequest) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *BulkRefreshRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *BulkRefreshRequest) GetUsername() string {
|
||
if x != nil {
|
||
return x.Username
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BulkRefreshRequest) GetMessages() []string {
|
||
if x != nil {
|
||
return x.Messages
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// BulkRefreshResponse ответ с результатами массовой обработки
|
||
type BulkRefreshResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
||
MessagesProcessed int32 `protobuf:"varint,3,opt,name=messages_processed,json=messagesProcessed,proto3" json:"messages_processed,omitempty"`
|
||
FactsExtracted int32 `protobuf:"varint,4,opt,name=facts_extracted,json=factsExtracted,proto3" json:"facts_extracted,omitempty"`
|
||
BatchCount int32 `protobuf:"varint,5,opt,name=batch_count,json=batchCount,proto3" json:"batch_count,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *BulkRefreshResponse) Reset() {
|
||
*x = BulkRefreshResponse{}
|
||
mi := &file_memory_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *BulkRefreshResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BulkRefreshResponse) ProtoMessage() {}
|
||
|
||
func (x *BulkRefreshResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_memory_proto_msgTypes[14]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use BulkRefreshResponse.ProtoReflect.Descriptor instead.
|
||
func (*BulkRefreshResponse) Descriptor() ([]byte, []int) {
|
||
return file_memory_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *BulkRefreshResponse) GetSuccess() bool {
|
||
if x != nil {
|
||
return x.Success
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *BulkRefreshResponse) GetError() string {
|
||
if x != nil {
|
||
return x.Error
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BulkRefreshResponse) GetMessagesProcessed() int32 {
|
||
if x != nil {
|
||
return x.MessagesProcessed
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *BulkRefreshResponse) GetFactsExtracted() int32 {
|
||
if x != nil {
|
||
return x.FactsExtracted
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *BulkRefreshResponse) GetBatchCount() int32 {
|
||
if x != nil {
|
||
return x.BatchCount
|
||
}
|
||
return 0
|
||
}
|
||
|
||
var File_memory_proto protoreflect.FileDescriptor
|
||
|
||
const file_memory_proto_rawDesc = "" +
|
||
"\n" +
|
||
"\fmemory.proto\x12\x06memory\"\xb7\x02\n" +
|
||
"\x06Memory\x12\x0e\n" +
|
||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x17\n" +
|
||
"\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1a\n" +
|
||
"\busername\x18\x03 \x01(\tR\busername\x12\x10\n" +
|
||
"\x03key\x18\x04 \x01(\tR\x03key\x12\x14\n" +
|
||
"\x05value\x18\x05 \x01(\tR\x05value\x12\x1a\n" +
|
||
"\bcategory\x18\x06 \x01(\tR\bcategory\x12\x1a\n" +
|
||
"\bpriority\x18\a \x01(\tR\bpriority\x12\x1e\n" +
|
||
"\n" +
|
||
"confidence\x18\b \x01(\x01R\n" +
|
||
"confidence\x12\x12\n" +
|
||
"\x04tags\x18\t \x03(\tR\x04tags\x12\x16\n" +
|
||
"\x06source\x18\n" +
|
||
" \x01(\tR\x06source\x12\x1d\n" +
|
||
"\n" +
|
||
"created_at\x18\v \x01(\x03R\tcreatedAt\x12\x1d\n" +
|
||
"\n" +
|
||
"updated_at\x18\f \x01(\x03R\tupdatedAt\"\x8f\x02\n" +
|
||
"\x12StoreMemoryRequest\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x1a\n" +
|
||
"\busername\x18\x02 \x01(\tR\busername\x12\x18\n" +
|
||
"\amessage\x18\x03 \x01(\tR\amessage\x12\x10\n" +
|
||
"\x03key\x18\x04 \x01(\tR\x03key\x12\x14\n" +
|
||
"\x05value\x18\x05 \x01(\tR\x05value\x12\x1a\n" +
|
||
"\bcategory\x18\x06 \x01(\tR\bcategory\x12\x1a\n" +
|
||
"\bpriority\x18\a \x01(\tR\bpriority\x12\x1e\n" +
|
||
"\n" +
|
||
"confidence\x18\b \x01(\x01R\n" +
|
||
"confidence\x12\x12\n" +
|
||
"\x04tags\x18\t \x03(\tR\x04tags\x12\x16\n" +
|
||
"\x06source\x18\n" +
|
||
" \x01(\tR\x06source\"b\n" +
|
||
"\x13StoreMemoryResponse\x12\x18\n" +
|
||
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x14\n" +
|
||
"\x05error\x18\x02 \x01(\tR\x05error\x12\x1b\n" +
|
||
"\tmemory_id\x18\x03 \x01(\x03R\bmemoryId\"\x96\x01\n" +
|
||
"\x12GetMemoriesRequest\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x1a\n" +
|
||
"\busername\x18\x02 \x01(\tR\busername\x12\x12\n" +
|
||
"\x04tags\x18\x03 \x03(\tR\x04tags\x12!\n" +
|
||
"\fsearch_query\x18\x04 \x01(\tR\vsearchQuery\x12\x14\n" +
|
||
"\x05limit\x18\x05 \x01(\x05R\x05limit\"A\n" +
|
||
"\x13GetMemoriesResponse\x12*\n" +
|
||
"\bmemories\x18\x01 \x03(\v2\x0e.memory.MemoryR\bmemories\"\x80\x01\n" +
|
||
"\x15ProcessMessageRequest\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x1a\n" +
|
||
"\busername\x18\x02 \x01(\tR\busername\x12\x18\n" +
|
||
"\amessage\x18\x03 \x01(\tR\amessage\x12\x18\n" +
|
||
"\acontext\x18\x04 \x01(\tR\acontext\"q\n" +
|
||
"\x16ProcessMessageResponse\x12\x18\n" +
|
||
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x14\n" +
|
||
"\x05error\x18\x02 \x01(\tR\x05error\x12'\n" +
|
||
"\x0ffacts_extracted\x18\x03 \x01(\x05R\x0efactsExtracted\"\x14\n" +
|
||
"\x12HealthCheckRequest\"I\n" +
|
||
"\x13HealthCheckResponse\x12\x18\n" +
|
||
"\aserving\x18\x01 \x01(\bR\aserving\x12\x18\n" +
|
||
"\aversion\x18\x02 \x01(\tR\aversion\"\x90\x01\n" +
|
||
"\x1aGetRelevantMemoriesRequest\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x1a\n" +
|
||
"\busername\x18\x02 \x01(\tR\busername\x12'\n" +
|
||
"\x0fcurrent_message\x18\x03 \x01(\tR\x0ecurrentMessage\x12\x14\n" +
|
||
"\x05limit\x18\x04 \x01(\x05R\x05limit\"t\n" +
|
||
"\x1bGetRelevantMemoriesResponse\x12*\n" +
|
||
"\bmemories\x18\x01 \x03(\v2\x0e.memory.MemoryR\bmemories\x12)\n" +
|
||
"\x10formatted_prompt\x18\x02 \x01(\tR\x0fformattedPrompt\"O\n" +
|
||
"\x18GetMemoriesByUserRequest\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x1a\n" +
|
||
"\busername\x18\x02 \x01(\tR\busername\"G\n" +
|
||
"\x19GetMemoriesByUserResponse\x12*\n" +
|
||
"\bmemories\x18\x01 \x03(\v2\x0e.memory.MemoryR\bmemories\"e\n" +
|
||
"\x12BulkRefreshRequest\x12\x17\n" +
|
||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x1a\n" +
|
||
"\busername\x18\x02 \x01(\tR\busername\x12\x1a\n" +
|
||
"\bmessages\x18\x03 \x03(\tR\bmessages\"\xbe\x01\n" +
|
||
"\x13BulkRefreshResponse\x12\x18\n" +
|
||
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x14\n" +
|
||
"\x05error\x18\x02 \x01(\tR\x05error\x12-\n" +
|
||
"\x12messages_processed\x18\x03 \x01(\x05R\x11messagesProcessed\x12'\n" +
|
||
"\x0ffacts_extracted\x18\x04 \x01(\x05R\x0efactsExtracted\x12\x1f\n" +
|
||
"\vbatch_count\x18\x05 \x01(\x05R\n" +
|
||
"batchCount2\xba\x04\n" +
|
||
"\rMemoryService\x12F\n" +
|
||
"\vStoreMemory\x12\x1a.memory.StoreMemoryRequest\x1a\x1b.memory.StoreMemoryResponse\x12F\n" +
|
||
"\vGetMemories\x12\x1a.memory.GetMemoriesRequest\x1a\x1b.memory.GetMemoriesResponse\x12O\n" +
|
||
"\x0eProcessMessage\x12\x1d.memory.ProcessMessageRequest\x1a\x1e.memory.ProcessMessageResponse\x12^\n" +
|
||
"\x13GetRelevantMemories\x12\".memory.GetRelevantMemoriesRequest\x1a#.memory.GetRelevantMemoriesResponse\x12X\n" +
|
||
"\x11GetMemoriesByUser\x12 .memory.GetMemoriesByUserRequest\x1a!.memory.GetMemoriesByUserResponse\x12F\n" +
|
||
"\vBulkRefresh\x12\x1a.memory.BulkRefreshRequest\x1a\x1b.memory.BulkRefreshResponse\x12F\n" +
|
||
"\vHealthCheck\x12\x1a.memory.HealthCheckRequest\x1a\x1b.memory.HealthCheckResponseB*Z(git.be.kaien.ru/l-ai/l-ai-memories/protob\x06proto3"
|
||
|
||
var (
|
||
file_memory_proto_rawDescOnce sync.Once
|
||
file_memory_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_memory_proto_rawDescGZIP() []byte {
|
||
file_memory_proto_rawDescOnce.Do(func() {
|
||
file_memory_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_memory_proto_rawDesc), len(file_memory_proto_rawDesc)))
|
||
})
|
||
return file_memory_proto_rawDescData
|
||
}
|
||
|
||
var file_memory_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
||
var file_memory_proto_goTypes = []any{
|
||
(*Memory)(nil), // 0: memory.Memory
|
||
(*StoreMemoryRequest)(nil), // 1: memory.StoreMemoryRequest
|
||
(*StoreMemoryResponse)(nil), // 2: memory.StoreMemoryResponse
|
||
(*GetMemoriesRequest)(nil), // 3: memory.GetMemoriesRequest
|
||
(*GetMemoriesResponse)(nil), // 4: memory.GetMemoriesResponse
|
||
(*ProcessMessageRequest)(nil), // 5: memory.ProcessMessageRequest
|
||
(*ProcessMessageResponse)(nil), // 6: memory.ProcessMessageResponse
|
||
(*HealthCheckRequest)(nil), // 7: memory.HealthCheckRequest
|
||
(*HealthCheckResponse)(nil), // 8: memory.HealthCheckResponse
|
||
(*GetRelevantMemoriesRequest)(nil), // 9: memory.GetRelevantMemoriesRequest
|
||
(*GetRelevantMemoriesResponse)(nil), // 10: memory.GetRelevantMemoriesResponse
|
||
(*GetMemoriesByUserRequest)(nil), // 11: memory.GetMemoriesByUserRequest
|
||
(*GetMemoriesByUserResponse)(nil), // 12: memory.GetMemoriesByUserResponse
|
||
(*BulkRefreshRequest)(nil), // 13: memory.BulkRefreshRequest
|
||
(*BulkRefreshResponse)(nil), // 14: memory.BulkRefreshResponse
|
||
}
|
||
var file_memory_proto_depIdxs = []int32{
|
||
0, // 0: memory.GetMemoriesResponse.memories:type_name -> memory.Memory
|
||
0, // 1: memory.GetRelevantMemoriesResponse.memories:type_name -> memory.Memory
|
||
0, // 2: memory.GetMemoriesByUserResponse.memories:type_name -> memory.Memory
|
||
1, // 3: memory.MemoryService.StoreMemory:input_type -> memory.StoreMemoryRequest
|
||
3, // 4: memory.MemoryService.GetMemories:input_type -> memory.GetMemoriesRequest
|
||
5, // 5: memory.MemoryService.ProcessMessage:input_type -> memory.ProcessMessageRequest
|
||
9, // 6: memory.MemoryService.GetRelevantMemories:input_type -> memory.GetRelevantMemoriesRequest
|
||
11, // 7: memory.MemoryService.GetMemoriesByUser:input_type -> memory.GetMemoriesByUserRequest
|
||
13, // 8: memory.MemoryService.BulkRefresh:input_type -> memory.BulkRefreshRequest
|
||
7, // 9: memory.MemoryService.HealthCheck:input_type -> memory.HealthCheckRequest
|
||
2, // 10: memory.MemoryService.StoreMemory:output_type -> memory.StoreMemoryResponse
|
||
4, // 11: memory.MemoryService.GetMemories:output_type -> memory.GetMemoriesResponse
|
||
6, // 12: memory.MemoryService.ProcessMessage:output_type -> memory.ProcessMessageResponse
|
||
10, // 13: memory.MemoryService.GetRelevantMemories:output_type -> memory.GetRelevantMemoriesResponse
|
||
12, // 14: memory.MemoryService.GetMemoriesByUser:output_type -> memory.GetMemoriesByUserResponse
|
||
14, // 15: memory.MemoryService.BulkRefresh:output_type -> memory.BulkRefreshResponse
|
||
8, // 16: memory.MemoryService.HealthCheck:output_type -> memory.HealthCheckResponse
|
||
10, // [10:17] is the sub-list for method output_type
|
||
3, // [3:10] is the sub-list for method input_type
|
||
3, // [3:3] is the sub-list for extension type_name
|
||
3, // [3:3] is the sub-list for extension extendee
|
||
0, // [0:3] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_memory_proto_init() }
|
||
func file_memory_proto_init() {
|
||
if File_memory_proto != nil {
|
||
return
|
||
}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_memory_proto_rawDesc), len(file_memory_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 15,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_memory_proto_goTypes,
|
||
DependencyIndexes: file_memory_proto_depIdxs,
|
||
MessageInfos: file_memory_proto_msgTypes,
|
||
}.Build()
|
||
File_memory_proto = out.File
|
||
file_memory_proto_goTypes = nil
|
||
file_memory_proto_depIdxs = nil
|
||
}
|