v1

package
v1.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2025 License: Apache-2.0 Imports: 16 Imported by: 4

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ModelFormat_name = map[int32]string{
		0: "MODEL_FORMAT_UNSPECIFIED",
		1: "MODEL_FORMAT_GGUF",
		2: "MODEL_FORMAT_HUGGING_FACE",
		3: "MODEL_FORMAT_NVIDIA_TRITON",
		4: "MODEL_FORMAT_OLLAMA",
	}
	ModelFormat_value = map[string]int32{
		"MODEL_FORMAT_UNSPECIFIED":   0,
		"MODEL_FORMAT_GGUF":          1,
		"MODEL_FORMAT_HUGGING_FACE":  2,
		"MODEL_FORMAT_NVIDIA_TRITON": 3,
		"MODEL_FORMAT_OLLAMA":        4,
	}
)

Enum value maps for ModelFormat.

View Source
var (
	ModelLoadingStatus_name = map[int32]string{
		0: "MODEL_LOADING_STATUS_UNSPECIFIED",
		1: "MODEL_LOADING_STATUS_REQUESTED",
		2: "MODEL_LOADING_STATUS_LOADING",
		3: "MODEL_LOADING_STATUS_SUCCEEDED",
		4: "MODEL_LOADING_STATUS_FAILED",
	}
	ModelLoadingStatus_value = map[string]int32{
		"MODEL_LOADING_STATUS_UNSPECIFIED": 0,
		"MODEL_LOADING_STATUS_REQUESTED":   1,
		"MODEL_LOADING_STATUS_LOADING":     2,
		"MODEL_LOADING_STATUS_SUCCEEDED":   3,
		"MODEL_LOADING_STATUS_FAILED":      4,
	}
)

Enum value maps for ModelLoadingStatus.

View Source
var (
	SourceRepository_name = map[int32]string{
		0: "SOURCE_REPOSITORY_UNSPECIFIED",
		1: "SOURCE_REPOSITORY_OBJECT_STORE",
		2: "SOURCE_REPOSITORY_HUGGING_FACE",
		3: "SOURCE_REPOSITORY_OLLAMA",
		4: "SOURCE_REPOSITORY_FINE_TUNING",
	}
	SourceRepository_value = map[string]int32{
		"SOURCE_REPOSITORY_UNSPECIFIED":  0,
		"SOURCE_REPOSITORY_OBJECT_STORE": 1,
		"SOURCE_REPOSITORY_HUGGING_FACE": 2,
		"SOURCE_REPOSITORY_OLLAMA":       3,
		"SOURCE_REPOSITORY_FINE_TUNING":  4,
	}
)

Enum value maps for SourceRepository.

View Source
var (
	ActivationStatus_name = map[int32]string{
		0: "ACTIVATION_STATUS_UNSPECIFIED",
		1: "ACTIVATION_STATUS_ACTIVE",
		2: "ACTIVATION_STATUS_INACTIVE",
	}
	ActivationStatus_value = map[string]int32{
		"ACTIVATION_STATUS_UNSPECIFIED": 0,
		"ACTIVATION_STATUS_ACTIVE":      1,
		"ACTIVATION_STATUS_INACTIVE":    2,
	}
)

Enum value maps for ActivationStatus.

View Source
var (
	AdapterType_name = map[int32]string{
		0: "ADAPTER_TYPE_UNSPECIFIED",
		1: "ADAPTER_TYPE_LORA",
		2: "ADAPTER_TYPE_QLORA",
	}
	AdapterType_value = map[string]int32{
		"ADAPTER_TYPE_UNSPECIFIED": 0,
		"ADAPTER_TYPE_LORA":        1,
		"ADAPTER_TYPE_QLORA":       2,
	}
)

Enum value maps for AdapterType.

View Source
var (
	QuantizationType_name = map[int32]string{
		0: "QUANTIZATION_TYPE_UNSPECIFIED",
		1: "QUANTIZATION_TYPE_GGUF",
		2: "QUANTIZATION_TYPE_AWQ",
	}
	QuantizationType_value = map[string]int32{
		"QUANTIZATION_TYPE_UNSPECIFIED": 0,
		"QUANTIZATION_TYPE_GGUF":        1,
		"QUANTIZATION_TYPE_AWQ":         2,
	}
)

Enum value maps for QuantizationType.

View Source
var File_api_v1_model_manager_service_proto protoreflect.FileDescriptor
View Source
var ModelsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "llmariner.models.server.v1.ModelsService",
	HandlerType: (*ModelsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListModels",
			Handler:    _ModelsService_ListModels_Handler,
		},
		{
			MethodName: "GetModel",
			Handler:    _ModelsService_GetModel_Handler,
		},
		{
			MethodName: "DeleteModel",
			Handler:    _ModelsService_DeleteModel_Handler,
		},
		{
			MethodName: "CreateModel",
			Handler:    _ModelsService_CreateModel_Handler,
		},
		{
			MethodName: "ActivateModel",
			Handler:    _ModelsService_ActivateModel_Handler,
		},
		{
			MethodName: "DeactivateModel",
			Handler:    _ModelsService_DeactivateModel_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1/model_manager_service.proto",
}

ModelsService_ServiceDesc is the grpc.ServiceDesc for ModelsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ModelsWorkerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "llmariner.models.server.v1.ModelsWorkerService",
	HandlerType: (*ModelsWorkerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateStorageConfig",
			Handler:    _ModelsWorkerService_CreateStorageConfig_Handler,
		},
		{
			MethodName: "GetStorageConfig",
			Handler:    _ModelsWorkerService_GetStorageConfig_Handler,
		},
		{
			MethodName: "GetModel",
			Handler:    _ModelsWorkerService_GetModel_Handler,
		},
		{
			MethodName: "ListModels",
			Handler:    _ModelsWorkerService_ListModels_Handler,
		},
		{
			MethodName: "RegisterModel",
			Handler:    _ModelsWorkerService_RegisterModel_Handler,
		},
		{
			MethodName: "PublishModel",
			Handler:    _ModelsWorkerService_PublishModel_Handler,
		},
		{
			MethodName: "GetModelPath",
			Handler:    _ModelsWorkerService_GetModelPath_Handler,
		},
		{
			MethodName: "GetModelAttributes",
			Handler:    _ModelsWorkerService_GetModelAttributes_Handler,
		},
		{
			MethodName: "CreateBaseModel",
			Handler:    _ModelsWorkerService_CreateBaseModel_Handler,
		},
		{
			MethodName: "GetBaseModelPath",
			Handler:    _ModelsWorkerService_GetBaseModelPath_Handler,
		},
		{
			MethodName: "CreateHFModelRepo",
			Handler:    _ModelsWorkerService_CreateHFModelRepo_Handler,
		},
		{
			MethodName: "GetHFModelRepo",
			Handler:    _ModelsWorkerService_GetHFModelRepo_Handler,
		},
		{
			MethodName: "AcquireUnloadedBaseModel",
			Handler:    _ModelsWorkerService_AcquireUnloadedBaseModel_Handler,
		},
		{
			MethodName: "AcquireUnloadedModel",
			Handler:    _ModelsWorkerService_AcquireUnloadedModel_Handler,
		},
		{
			MethodName: "UpdateBaseModelLoadingStatus",
			Handler:    _ModelsWorkerService_UpdateBaseModelLoadingStatus_Handler,
		},
		{
			MethodName: "UpdateModelLoadingStatus",
			Handler:    _ModelsWorkerService_UpdateModelLoadingStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1/model_manager_service.proto",
}

ModelsWorkerService_ServiceDesc is the grpc.ServiceDesc for ModelsWorkerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterModelsServiceHandler

func RegisterModelsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterModelsServiceHandler registers the http handlers for service ModelsService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterModelsServiceHandlerClient

func RegisterModelsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ModelsServiceClient) error

RegisterModelsServiceHandlerClient registers the http handlers for service ModelsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ModelsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ModelsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ModelsServiceClient" to call the correct interceptors.

func RegisterModelsServiceHandlerFromEndpoint

func RegisterModelsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterModelsServiceHandlerFromEndpoint is same as RegisterModelsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterModelsServiceHandlerServer

func RegisterModelsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ModelsServiceServer) error

RegisterModelsServiceHandlerServer registers the http handlers for service ModelsService to "mux". UnaryRPC :call ModelsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterModelsServiceHandlerFromEndpoint instead.

func RegisterModelsServiceServer

func RegisterModelsServiceServer(s grpc.ServiceRegistrar, srv ModelsServiceServer)

func RegisterModelsWorkerServiceServer

func RegisterModelsWorkerServiceServer(s grpc.ServiceRegistrar, srv ModelsWorkerServiceServer)

Types

type AcquireUnloadedBaseModelRequest added in v1.10.0

type AcquireUnloadedBaseModelRequest struct {
	// contains filtered or unexported fields
}

func (*AcquireUnloadedBaseModelRequest) Descriptor deprecated added in v1.10.0

func (*AcquireUnloadedBaseModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use AcquireUnloadedBaseModelRequest.ProtoReflect.Descriptor instead.

func (*AcquireUnloadedBaseModelRequest) ProtoMessage added in v1.10.0

func (*AcquireUnloadedBaseModelRequest) ProtoMessage()

func (*AcquireUnloadedBaseModelRequest) ProtoReflect added in v1.10.0

func (*AcquireUnloadedBaseModelRequest) Reset added in v1.10.0

func (*AcquireUnloadedBaseModelRequest) String added in v1.10.0

type AcquireUnloadedBaseModelResponse added in v1.10.0

type AcquireUnloadedBaseModelResponse struct {

	// base_model_id is ID of the acquired base model. Empty if there is no unloaded base model.
	BaseModelId      string           `protobuf:"bytes,1,opt,name=base_model_id,json=baseModelId,proto3" json:"base_model_id,omitempty"`
	SourceRepository SourceRepository `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AcquireUnloadedBaseModelResponse) Descriptor deprecated added in v1.10.0

func (*AcquireUnloadedBaseModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use AcquireUnloadedBaseModelResponse.ProtoReflect.Descriptor instead.

func (*AcquireUnloadedBaseModelResponse) GetBaseModelId added in v1.10.0

func (x *AcquireUnloadedBaseModelResponse) GetBaseModelId() string

func (*AcquireUnloadedBaseModelResponse) GetSourceRepository added in v1.10.0

func (x *AcquireUnloadedBaseModelResponse) GetSourceRepository() SourceRepository

func (*AcquireUnloadedBaseModelResponse) ProtoMessage added in v1.10.0

func (*AcquireUnloadedBaseModelResponse) ProtoMessage()

func (*AcquireUnloadedBaseModelResponse) ProtoReflect added in v1.10.0

func (*AcquireUnloadedBaseModelResponse) Reset added in v1.10.0

func (*AcquireUnloadedBaseModelResponse) String added in v1.10.0

type AcquireUnloadedModelRequest added in v1.14.0

type AcquireUnloadedModelRequest struct {
	// contains filtered or unexported fields
}

func (*AcquireUnloadedModelRequest) Descriptor deprecated added in v1.14.0

func (*AcquireUnloadedModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use AcquireUnloadedModelRequest.ProtoReflect.Descriptor instead.

func (*AcquireUnloadedModelRequest) ProtoMessage added in v1.14.0

func (*AcquireUnloadedModelRequest) ProtoMessage()

func (*AcquireUnloadedModelRequest) ProtoReflect added in v1.14.0

func (*AcquireUnloadedModelRequest) Reset added in v1.14.0

func (x *AcquireUnloadedModelRequest) Reset()

func (*AcquireUnloadedModelRequest) String added in v1.14.0

func (x *AcquireUnloadedModelRequest) String() string

type AcquireUnloadedModelResponse added in v1.14.0

type AcquireUnloadedModelResponse struct {
	ModelId           string           `protobuf:"bytes,1,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
	IsBaseModel       bool             `protobuf:"varint,2,opt,name=is_base_model,json=isBaseModel,proto3" json:"is_base_model,omitempty"`
	SourceRepository  SourceRepository `` /* 159-byte string literal not displayed */
	ModelFileLocation string           `protobuf:"bytes,4,opt,name=model_file_location,json=modelFileLocation,proto3" json:"model_file_location,omitempty"`
	DestPath          string           `protobuf:"bytes,5,opt,name=dest_path,json=destPath,proto3" json:"dest_path,omitempty"`
	// contains filtered or unexported fields
}

func (*AcquireUnloadedModelResponse) Descriptor deprecated added in v1.14.0

func (*AcquireUnloadedModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use AcquireUnloadedModelResponse.ProtoReflect.Descriptor instead.

func (*AcquireUnloadedModelResponse) GetDestPath added in v1.14.0

func (x *AcquireUnloadedModelResponse) GetDestPath() string

func (*AcquireUnloadedModelResponse) GetIsBaseModel added in v1.14.0

func (x *AcquireUnloadedModelResponse) GetIsBaseModel() bool

func (*AcquireUnloadedModelResponse) GetModelFileLocation added in v1.14.0

func (x *AcquireUnloadedModelResponse) GetModelFileLocation() string

func (*AcquireUnloadedModelResponse) GetModelId added in v1.14.0

func (x *AcquireUnloadedModelResponse) GetModelId() string

func (*AcquireUnloadedModelResponse) GetSourceRepository added in v1.14.0

func (x *AcquireUnloadedModelResponse) GetSourceRepository() SourceRepository

func (*AcquireUnloadedModelResponse) ProtoMessage added in v1.14.0

func (*AcquireUnloadedModelResponse) ProtoMessage()

func (*AcquireUnloadedModelResponse) ProtoReflect added in v1.14.0

func (*AcquireUnloadedModelResponse) Reset added in v1.14.0

func (x *AcquireUnloadedModelResponse) Reset()

func (*AcquireUnloadedModelResponse) String added in v1.14.0

type ActivateModelRequest added in v1.17.0

type ActivateModelRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateModelRequest) Descriptor deprecated added in v1.17.0

func (*ActivateModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use ActivateModelRequest.ProtoReflect.Descriptor instead.

func (*ActivateModelRequest) GetId added in v1.17.0

func (x *ActivateModelRequest) GetId() string

func (*ActivateModelRequest) ProtoMessage added in v1.17.0

func (*ActivateModelRequest) ProtoMessage()

func (*ActivateModelRequest) ProtoReflect added in v1.17.0

func (x *ActivateModelRequest) ProtoReflect() protoreflect.Message

func (*ActivateModelRequest) Reset added in v1.17.0

func (x *ActivateModelRequest) Reset()

func (*ActivateModelRequest) String added in v1.17.0

func (x *ActivateModelRequest) String() string

type ActivateModelResponse added in v1.17.0

type ActivateModelResponse struct {
	// contains filtered or unexported fields
}

func (*ActivateModelResponse) Descriptor deprecated added in v1.17.0

func (*ActivateModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use ActivateModelResponse.ProtoReflect.Descriptor instead.

func (*ActivateModelResponse) ProtoMessage added in v1.17.0

func (*ActivateModelResponse) ProtoMessage()

func (*ActivateModelResponse) ProtoReflect added in v1.17.0

func (x *ActivateModelResponse) ProtoReflect() protoreflect.Message

func (*ActivateModelResponse) Reset added in v1.17.0

func (x *ActivateModelResponse) Reset()

func (*ActivateModelResponse) String added in v1.17.0

func (x *ActivateModelResponse) String() string

type ActivationStatus added in v1.17.0

type ActivationStatus int32
const (
	ActivationStatus_ACTIVATION_STATUS_UNSPECIFIED ActivationStatus = 0
	ActivationStatus_ACTIVATION_STATUS_ACTIVE      ActivationStatus = 1
	ActivationStatus_ACTIVATION_STATUS_INACTIVE    ActivationStatus = 2
)

func (ActivationStatus) Descriptor added in v1.17.0

func (ActivationStatus) Enum added in v1.17.0

func (ActivationStatus) EnumDescriptor deprecated added in v1.17.0

func (ActivationStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActivationStatus.Descriptor instead.

func (ActivationStatus) Number added in v1.17.0

func (ActivationStatus) String added in v1.17.0

func (x ActivationStatus) String() string

func (ActivationStatus) Type added in v1.17.0

type AdapterType

type AdapterType int32
const (
	AdapterType_ADAPTER_TYPE_UNSPECIFIED AdapterType = 0
	AdapterType_ADAPTER_TYPE_LORA        AdapterType = 1
	AdapterType_ADAPTER_TYPE_QLORA       AdapterType = 2
)

func (AdapterType) Descriptor

func (AdapterType) Enum

func (x AdapterType) Enum() *AdapterType

func (AdapterType) EnumDescriptor deprecated

func (AdapterType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AdapterType.Descriptor instead.

func (AdapterType) Number

func (x AdapterType) Number() protoreflect.EnumNumber

func (AdapterType) String

func (x AdapterType) String() string

func (AdapterType) Type

type BaseModel

type BaseModel struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Created int64  `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	Object  string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseModel) Descriptor deprecated

func (*BaseModel) Descriptor() ([]byte, []int)

Deprecated: Use BaseModel.ProtoReflect.Descriptor instead.

func (*BaseModel) GetCreated

func (x *BaseModel) GetCreated() int64

func (*BaseModel) GetId

func (x *BaseModel) GetId() string

func (*BaseModel) GetObject

func (x *BaseModel) GetObject() string

func (*BaseModel) ProtoMessage

func (*BaseModel) ProtoMessage()

func (*BaseModel) ProtoReflect

func (x *BaseModel) ProtoReflect() protoreflect.Message

func (*BaseModel) Reset

func (x *BaseModel) Reset()

func (*BaseModel) String

func (x *BaseModel) String() string

type CreateBaseModelRequest

type CreateBaseModelRequest struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// formats is the supported formats of the base model. If not set, the format is considered as GGUF
	// for backward compatibility.
	Formats []ModelFormat `protobuf:"varint,4,rep,packed,name=formats,proto3,enum=llmariner.models.server.v1.ModelFormat" json:"formats,omitempty"`
	// gguf_model_path is the path of the GGUF model. Set if the model suppors the GGUF formta.
	GgufModelPath    string           `protobuf:"bytes,3,opt,name=gguf_model_path,json=ggufModelPath,proto3" json:"gguf_model_path,omitempty"`
	SourceRepository SourceRepository `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateBaseModelRequest) Descriptor deprecated

func (*CreateBaseModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateBaseModelRequest.ProtoReflect.Descriptor instead.

func (*CreateBaseModelRequest) GetFormats

func (x *CreateBaseModelRequest) GetFormats() []ModelFormat

func (*CreateBaseModelRequest) GetGgufModelPath

func (x *CreateBaseModelRequest) GetGgufModelPath() string

func (*CreateBaseModelRequest) GetId

func (x *CreateBaseModelRequest) GetId() string

func (*CreateBaseModelRequest) GetPath

func (x *CreateBaseModelRequest) GetPath() string

func (*CreateBaseModelRequest) GetSourceRepository added in v1.10.0

func (x *CreateBaseModelRequest) GetSourceRepository() SourceRepository

func (*CreateBaseModelRequest) ProtoMessage

func (*CreateBaseModelRequest) ProtoMessage()

func (*CreateBaseModelRequest) ProtoReflect

func (x *CreateBaseModelRequest) ProtoReflect() protoreflect.Message

func (*CreateBaseModelRequest) Reset

func (x *CreateBaseModelRequest) Reset()

func (*CreateBaseModelRequest) String

func (x *CreateBaseModelRequest) String() string

type CreateHFModelRepoRequest added in v1.4.0

type CreateHFModelRepoRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateHFModelRepoRequest) Descriptor deprecated added in v1.4.0

func (*CreateHFModelRepoRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateHFModelRepoRequest.ProtoReflect.Descriptor instead.

func (*CreateHFModelRepoRequest) GetName added in v1.4.0

func (x *CreateHFModelRepoRequest) GetName() string

func (*CreateHFModelRepoRequest) ProtoMessage added in v1.4.0

func (*CreateHFModelRepoRequest) ProtoMessage()

func (*CreateHFModelRepoRequest) ProtoReflect added in v1.4.0

func (x *CreateHFModelRepoRequest) ProtoReflect() protoreflect.Message

func (*CreateHFModelRepoRequest) Reset added in v1.4.0

func (x *CreateHFModelRepoRequest) Reset()

func (*CreateHFModelRepoRequest) String added in v1.4.0

func (x *CreateHFModelRepoRequest) String() string

type CreateModelRequest added in v1.10.0

type CreateModelRequest struct {
	Id               string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SourceRepository SourceRepository `` /* 159-byte string literal not displayed */
	// is_fine_tuned_model is a flag to indicate if the model is a fine-tuned model.
	IsFineTunedModel bool `protobuf:"varint,3,opt,name=is_fine_tuned_model,json=isFineTunedModel,proto3" json:"is_fine_tuned_model,omitempty"`
	// base_model_id is the ID of the base model. Only set if the model is a fine-tuned model.
	BaseModelId string `protobuf:"bytes,4,opt,name=base_model_id,json=baseModelId,proto3" json:"base_model_id,omitempty"`
	// suffix is the suffix of the model. Only set if the model is a fine-tuned model.
	Suffix            string `protobuf:"bytes,5,opt,name=suffix,proto3" json:"suffix,omitempty"`
	ModelFileLocation string `protobuf:"bytes,6,opt,name=model_file_location,json=modelFileLocation,proto3" json:"model_file_location,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateModelRequest) Descriptor deprecated added in v1.10.0

func (*CreateModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateModelRequest.ProtoReflect.Descriptor instead.

func (*CreateModelRequest) GetBaseModelId added in v1.14.0

func (x *CreateModelRequest) GetBaseModelId() string

func (*CreateModelRequest) GetId added in v1.10.0

func (x *CreateModelRequest) GetId() string

func (*CreateModelRequest) GetIsFineTunedModel added in v1.14.0

func (x *CreateModelRequest) GetIsFineTunedModel() bool

func (*CreateModelRequest) GetModelFileLocation added in v1.14.0

func (x *CreateModelRequest) GetModelFileLocation() string

func (*CreateModelRequest) GetSourceRepository added in v1.10.0

func (x *CreateModelRequest) GetSourceRepository() SourceRepository

func (*CreateModelRequest) GetSuffix added in v1.14.0

func (x *CreateModelRequest) GetSuffix() string

func (*CreateModelRequest) ProtoMessage added in v1.10.0

func (*CreateModelRequest) ProtoMessage()

func (*CreateModelRequest) ProtoReflect added in v1.10.0

func (x *CreateModelRequest) ProtoReflect() protoreflect.Message

func (*CreateModelRequest) Reset added in v1.10.0

func (x *CreateModelRequest) Reset()

func (*CreateModelRequest) String added in v1.10.0

func (x *CreateModelRequest) String() string

type CreateStorageConfigRequest

type CreateStorageConfigRequest struct {
	PathPrefix string `protobuf:"bytes,1,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateStorageConfigRequest) Descriptor deprecated

func (*CreateStorageConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateStorageConfigRequest.ProtoReflect.Descriptor instead.

func (*CreateStorageConfigRequest) GetPathPrefix

func (x *CreateStorageConfigRequest) GetPathPrefix() string

func (*CreateStorageConfigRequest) ProtoMessage

func (*CreateStorageConfigRequest) ProtoMessage()

func (*CreateStorageConfigRequest) ProtoReflect

func (*CreateStorageConfigRequest) Reset

func (x *CreateStorageConfigRequest) Reset()

func (*CreateStorageConfigRequest) String

func (x *CreateStorageConfigRequest) String() string

type DeactivateModelRequest added in v1.17.0

type DeactivateModelRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeactivateModelRequest) Descriptor deprecated added in v1.17.0

func (*DeactivateModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeactivateModelRequest.ProtoReflect.Descriptor instead.

func (*DeactivateModelRequest) GetId added in v1.17.0

func (x *DeactivateModelRequest) GetId() string

func (*DeactivateModelRequest) ProtoMessage added in v1.17.0

func (*DeactivateModelRequest) ProtoMessage()

func (*DeactivateModelRequest) ProtoReflect added in v1.17.0

func (x *DeactivateModelRequest) ProtoReflect() protoreflect.Message

func (*DeactivateModelRequest) Reset added in v1.17.0

func (x *DeactivateModelRequest) Reset()

func (*DeactivateModelRequest) String added in v1.17.0

func (x *DeactivateModelRequest) String() string

type DeactivateModelResponse added in v1.17.0

type DeactivateModelResponse struct {
	// contains filtered or unexported fields
}

func (*DeactivateModelResponse) Descriptor deprecated added in v1.17.0

func (*DeactivateModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeactivateModelResponse.ProtoReflect.Descriptor instead.

func (*DeactivateModelResponse) ProtoMessage added in v1.17.0

func (*DeactivateModelResponse) ProtoMessage()

func (*DeactivateModelResponse) ProtoReflect added in v1.17.0

func (x *DeactivateModelResponse) ProtoReflect() protoreflect.Message

func (*DeactivateModelResponse) Reset added in v1.17.0

func (x *DeactivateModelResponse) Reset()

func (*DeactivateModelResponse) String added in v1.17.0

func (x *DeactivateModelResponse) String() string

type DeleteModelRequest

type DeleteModelRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteModelRequest) Descriptor deprecated

func (*DeleteModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteModelRequest.ProtoReflect.Descriptor instead.

func (*DeleteModelRequest) GetId

func (x *DeleteModelRequest) GetId() string

func (*DeleteModelRequest) ProtoMessage

func (*DeleteModelRequest) ProtoMessage()

func (*DeleteModelRequest) ProtoReflect

func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message

func (*DeleteModelRequest) Reset

func (x *DeleteModelRequest) Reset()

func (*DeleteModelRequest) String

func (x *DeleteModelRequest) String() string

type DeleteModelResponse

type DeleteModelResponse struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Object  string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	Deleted bool   `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteModelResponse) Descriptor deprecated

func (*DeleteModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteModelResponse.ProtoReflect.Descriptor instead.

func (*DeleteModelResponse) GetDeleted

func (x *DeleteModelResponse) GetDeleted() bool

func (*DeleteModelResponse) GetId

func (x *DeleteModelResponse) GetId() string

func (*DeleteModelResponse) GetObject

func (x *DeleteModelResponse) GetObject() string

func (*DeleteModelResponse) ProtoMessage

func (*DeleteModelResponse) ProtoMessage()

func (*DeleteModelResponse) ProtoReflect

func (x *DeleteModelResponse) ProtoReflect() protoreflect.Message

func (*DeleteModelResponse) Reset

func (x *DeleteModelResponse) Reset()

func (*DeleteModelResponse) String

func (x *DeleteModelResponse) String() string

type GetBaseModelPathRequest

type GetBaseModelPathRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBaseModelPathRequest) Descriptor deprecated

func (*GetBaseModelPathRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBaseModelPathRequest.ProtoReflect.Descriptor instead.

func (*GetBaseModelPathRequest) GetId

func (x *GetBaseModelPathRequest) GetId() string

func (*GetBaseModelPathRequest) ProtoMessage

func (*GetBaseModelPathRequest) ProtoMessage()

func (*GetBaseModelPathRequest) ProtoReflect

func (x *GetBaseModelPathRequest) ProtoReflect() protoreflect.Message

func (*GetBaseModelPathRequest) Reset

func (x *GetBaseModelPathRequest) Reset()

func (*GetBaseModelPathRequest) String

func (x *GetBaseModelPathRequest) String() string

type GetBaseModelPathResponse

type GetBaseModelPathResponse struct {
	Formats []ModelFormat `protobuf:"varint,3,rep,packed,name=formats,proto3,enum=llmariner.models.server.v1.ModelFormat" json:"formats,omitempty"`
	Path    string        `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// gguf_model_path is the path of the GGUF model. Set if the model suppors the GGUF formta.
	GgufModelPath string `protobuf:"bytes,2,opt,name=gguf_model_path,json=ggufModelPath,proto3" json:"gguf_model_path,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBaseModelPathResponse) Descriptor deprecated

func (*GetBaseModelPathResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBaseModelPathResponse.ProtoReflect.Descriptor instead.

func (*GetBaseModelPathResponse) GetFormats

func (x *GetBaseModelPathResponse) GetFormats() []ModelFormat

func (*GetBaseModelPathResponse) GetGgufModelPath

func (x *GetBaseModelPathResponse) GetGgufModelPath() string

func (*GetBaseModelPathResponse) GetPath

func (x *GetBaseModelPathResponse) GetPath() string

func (*GetBaseModelPathResponse) ProtoMessage

func (*GetBaseModelPathResponse) ProtoMessage()

func (*GetBaseModelPathResponse) ProtoReflect

func (x *GetBaseModelPathResponse) ProtoReflect() protoreflect.Message

func (*GetBaseModelPathResponse) Reset

func (x *GetBaseModelPathResponse) Reset()

func (*GetBaseModelPathResponse) String

func (x *GetBaseModelPathResponse) String() string

type GetHFModelRepoRequest added in v1.4.0

type GetHFModelRepoRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHFModelRepoRequest) Descriptor deprecated added in v1.4.0

func (*GetHFModelRepoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetHFModelRepoRequest.ProtoReflect.Descriptor instead.

func (*GetHFModelRepoRequest) GetName added in v1.4.0

func (x *GetHFModelRepoRequest) GetName() string

func (*GetHFModelRepoRequest) ProtoMessage added in v1.4.0

func (*GetHFModelRepoRequest) ProtoMessage()

func (*GetHFModelRepoRequest) ProtoReflect added in v1.4.0

func (x *GetHFModelRepoRequest) ProtoReflect() protoreflect.Message

func (*GetHFModelRepoRequest) Reset added in v1.4.0

func (x *GetHFModelRepoRequest) Reset()

func (*GetHFModelRepoRequest) String added in v1.4.0

func (x *GetHFModelRepoRequest) String() string

type GetModelAttributesRequest

type GetModelAttributesRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetModelAttributesRequest) Descriptor deprecated

func (*GetModelAttributesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetModelAttributesRequest.ProtoReflect.Descriptor instead.

func (*GetModelAttributesRequest) GetId

func (x *GetModelAttributesRequest) GetId() string

func (*GetModelAttributesRequest) ProtoMessage

func (*GetModelAttributesRequest) ProtoMessage()

func (*GetModelAttributesRequest) ProtoReflect

func (*GetModelAttributesRequest) Reset

func (x *GetModelAttributesRequest) Reset()

func (*GetModelAttributesRequest) String

func (x *GetModelAttributesRequest) String() string

type GetModelPathRequest

type GetModelPathRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

GetModelPathRequest is deprecated, use GetModelAttributesRequest instead.

func (*GetModelPathRequest) Descriptor deprecated

func (*GetModelPathRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetModelPathRequest.ProtoReflect.Descriptor instead.

func (*GetModelPathRequest) GetId

func (x *GetModelPathRequest) GetId() string

func (*GetModelPathRequest) ProtoMessage

func (*GetModelPathRequest) ProtoMessage()

func (*GetModelPathRequest) ProtoReflect

func (x *GetModelPathRequest) ProtoReflect() protoreflect.Message

func (*GetModelPathRequest) Reset

func (x *GetModelPathRequest) Reset()

func (*GetModelPathRequest) String

func (x *GetModelPathRequest) String() string

type GetModelPathResponse

type GetModelPathResponse struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

GetModelPathResponse is deprecated, use GetModelAttributesResponse instead.

func (*GetModelPathResponse) Descriptor deprecated

func (*GetModelPathResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetModelPathResponse.ProtoReflect.Descriptor instead.

func (*GetModelPathResponse) GetPath

func (x *GetModelPathResponse) GetPath() string

func (*GetModelPathResponse) ProtoMessage

func (*GetModelPathResponse) ProtoMessage()

func (*GetModelPathResponse) ProtoReflect

func (x *GetModelPathResponse) ProtoReflect() protoreflect.Message

func (*GetModelPathResponse) Reset

func (x *GetModelPathResponse) Reset()

func (*GetModelPathResponse) String

func (x *GetModelPathResponse) String() string

type GetModelRequest

type GetModelRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// include_loading_model is a flag to include an loading model in the response.
	//
	// This is not in the Open AI API specification.
	IncludeLoadingModel bool `protobuf:"varint,2,opt,name=include_loading_model,json=includeLoadingModel,proto3" json:"include_loading_model,omitempty"`
	// contains filtered or unexported fields
}

func (*GetModelRequest) Descriptor deprecated

func (*GetModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetModelRequest.ProtoReflect.Descriptor instead.

func (*GetModelRequest) GetId

func (x *GetModelRequest) GetId() string

func (*GetModelRequest) GetIncludeLoadingModel added in v1.10.0

func (x *GetModelRequest) GetIncludeLoadingModel() bool

func (*GetModelRequest) ProtoMessage

func (*GetModelRequest) ProtoMessage()

func (*GetModelRequest) ProtoReflect

func (x *GetModelRequest) ProtoReflect() protoreflect.Message

func (*GetModelRequest) Reset

func (x *GetModelRequest) Reset()

func (*GetModelRequest) String

func (x *GetModelRequest) String() string

type GetStorageConfigRequest

type GetStorageConfigRequest struct {
	// contains filtered or unexported fields
}

func (*GetStorageConfigRequest) Descriptor deprecated

func (*GetStorageConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStorageConfigRequest.ProtoReflect.Descriptor instead.

func (*GetStorageConfigRequest) ProtoMessage

func (*GetStorageConfigRequest) ProtoMessage()

func (*GetStorageConfigRequest) ProtoReflect

func (x *GetStorageConfigRequest) ProtoReflect() protoreflect.Message

func (*GetStorageConfigRequest) Reset

func (x *GetStorageConfigRequest) Reset()

func (*GetStorageConfigRequest) String

func (x *GetStorageConfigRequest) String() string

type HFModelRepo added in v1.4.0

type HFModelRepo struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*HFModelRepo) Descriptor deprecated added in v1.4.0

func (*HFModelRepo) Descriptor() ([]byte, []int)

Deprecated: Use HFModelRepo.ProtoReflect.Descriptor instead.

func (*HFModelRepo) GetName added in v1.4.0

func (x *HFModelRepo) GetName() string

func (*HFModelRepo) ProtoMessage added in v1.4.0

func (*HFModelRepo) ProtoMessage()

func (*HFModelRepo) ProtoReflect added in v1.4.0

func (x *HFModelRepo) ProtoReflect() protoreflect.Message

func (*HFModelRepo) Reset added in v1.4.0

func (x *HFModelRepo) Reset()

func (*HFModelRepo) String added in v1.4.0

func (x *HFModelRepo) String() string

type ListModelsRequest

type ListModelsRequest struct {

	// include_loading_models is a flag to include loading models in the response.
	//
	// This is not in the Open AI API specification.
	IncludeLoadingModels bool `protobuf:"varint,1,opt,name=include_loading_models,json=includeLoadingModels,proto3" json:"include_loading_models,omitempty"`
	// after is the identifier for the last model from the previous pagination request.
	// This is not in the Open AI API specification.
	After string `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"`
	// limit is the number of non-base models to retrieve. Defaults to 100.
	// This is not in the Open AI API specification.
	Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListModelsRequest) Descriptor deprecated

func (*ListModelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListModelsRequest.ProtoReflect.Descriptor instead.

func (*ListModelsRequest) GetAfter added in v1.11.0

func (x *ListModelsRequest) GetAfter() string

func (*ListModelsRequest) GetIncludeLoadingModels added in v1.10.0

func (x *ListModelsRequest) GetIncludeLoadingModels() bool

func (*ListModelsRequest) GetLimit added in v1.11.0

func (x *ListModelsRequest) GetLimit() int32

func (*ListModelsRequest) ProtoMessage

func (*ListModelsRequest) ProtoMessage()

func (*ListModelsRequest) ProtoReflect

func (x *ListModelsRequest) ProtoReflect() protoreflect.Message

func (*ListModelsRequest) Reset

func (x *ListModelsRequest) Reset()

func (*ListModelsRequest) String

func (x *ListModelsRequest) String() string

type ListModelsResponse

type ListModelsResponse struct {
	Object string   `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	Data   []*Model `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// This is not in the Open AI API specification.
	HasMore bool `protobuf:"varint,3,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
	// total_items is the total number of non-base models. This is not defined in the
	// OpenAI API spec, but we include here for better UX in the frontend.
	TotalItems int32 `protobuf:"varint,4,opt,name=total_items,json=totalItems,proto3" json:"total_items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListModelsResponse) Descriptor deprecated

func (*ListModelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListModelsResponse.ProtoReflect.Descriptor instead.

func (*ListModelsResponse) GetData

func (x *ListModelsResponse) GetData() []*Model

func (*ListModelsResponse) GetHasMore added in v1.11.0

func (x *ListModelsResponse) GetHasMore() bool

func (*ListModelsResponse) GetObject

func (x *ListModelsResponse) GetObject() string

func (*ListModelsResponse) GetTotalItems added in v1.11.0

func (x *ListModelsResponse) GetTotalItems() int32

func (*ListModelsResponse) ProtoMessage

func (*ListModelsResponse) ProtoMessage()

func (*ListModelsResponse) ProtoReflect

func (x *ListModelsResponse) ProtoReflect() protoreflect.Message

func (*ListModelsResponse) Reset

func (x *ListModelsResponse) Reset()

func (*ListModelsResponse) String

func (x *ListModelsResponse) String() string

type Model

type Model struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Created int64  `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	Object  string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	OwnedBy string `protobuf:"bytes,4,opt,name=owned_by,json=ownedBy,proto3" json:"owned_by,omitempty"`
	// loading_status is set when the model is being loaded.
	// This is not in the Open AI API specification.
	LoadingStatus ModelLoadingStatus `` /* 152-byte string literal not displayed */
	// source_repository is the source repository of the model. Set for base models created from the CreateModel API request.
	// This is not in the Open AI API specification.
	SourceRepository SourceRepository `` /* 159-byte string literal not displayed */
	// loading_failure_reason is set when the model loading is failed to show the failure reason.
	// This is not in the Open AI API specification.
	LoadingFailureReason string `protobuf:"bytes,7,opt,name=loading_failure_reason,json=loadingFailureReason,proto3" json:"loading_failure_reason,omitempty"`
	// formats is the supported formats of the model.
	// This is not in the Open AI API specification.
	Formats []ModelFormat `protobuf:"varint,8,rep,packed,name=formats,proto3,enum=llmariner.models.server.v1.ModelFormat" json:"formats,omitempty"`
	// This is not in the Open AI API specification.
	IsBaseModel bool `protobuf:"varint,9,opt,name=is_base_model,json=isBaseModel,proto3" json:"is_base_model,omitempty"`
	// base_model_id is the ID of the base model. Only set if the model is a fine-tuned model.
	// This is not in the Open AI API specification.
	BaseModelId      string           `protobuf:"bytes,10,opt,name=base_model_id,json=baseModelId,proto3" json:"base_model_id,omitempty"`
	ActivationStatus ActivationStatus `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Model) Descriptor deprecated

func (*Model) Descriptor() ([]byte, []int)

Deprecated: Use Model.ProtoReflect.Descriptor instead.

func (*Model) GetActivationStatus added in v1.17.0

func (x *Model) GetActivationStatus() ActivationStatus

func (*Model) GetBaseModelId added in v1.13.0

func (x *Model) GetBaseModelId() string

func (*Model) GetCreated

func (x *Model) GetCreated() int64

func (*Model) GetFormats added in v1.11.0

func (x *Model) GetFormats() []ModelFormat

func (*Model) GetId

func (x *Model) GetId() string

func (*Model) GetIsBaseModel added in v1.12.0

func (x *Model) GetIsBaseModel() bool

func (*Model) GetLoadingFailureReason added in v1.10.0

func (x *Model) GetLoadingFailureReason() string

func (*Model) GetLoadingStatus added in v1.10.0

func (x *Model) GetLoadingStatus() ModelLoadingStatus

func (*Model) GetObject

func (x *Model) GetObject() string

func (*Model) GetOwnedBy

func (x *Model) GetOwnedBy() string

func (*Model) GetSourceRepository added in v1.10.0

func (x *Model) GetSourceRepository() SourceRepository

func (*Model) ProtoMessage

func (*Model) ProtoMessage()

func (*Model) ProtoReflect

func (x *Model) ProtoReflect() protoreflect.Message

func (*Model) Reset

func (x *Model) Reset()

func (*Model) String

func (x *Model) String() string

type ModelAttributes

type ModelAttributes struct {
	Path         string           `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	BaseModel    string           `protobuf:"bytes,2,opt,name=base_model,json=baseModel,proto3" json:"base_model,omitempty"`
	Adapter      AdapterType      `protobuf:"varint,3,opt,name=adapter,proto3,enum=llmariner.models.server.v1.AdapterType" json:"adapter,omitempty"`
	Quantization QuantizationType `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ModelAttributes) Descriptor deprecated

func (*ModelAttributes) Descriptor() ([]byte, []int)

Deprecated: Use ModelAttributes.ProtoReflect.Descriptor instead.

func (*ModelAttributes) GetAdapter

func (x *ModelAttributes) GetAdapter() AdapterType

func (*ModelAttributes) GetBaseModel

func (x *ModelAttributes) GetBaseModel() string

func (*ModelAttributes) GetPath

func (x *ModelAttributes) GetPath() string

func (*ModelAttributes) GetQuantization

func (x *ModelAttributes) GetQuantization() QuantizationType

func (*ModelAttributes) ProtoMessage

func (*ModelAttributes) ProtoMessage()

func (*ModelAttributes) ProtoReflect

func (x *ModelAttributes) ProtoReflect() protoreflect.Message

func (*ModelAttributes) Reset

func (x *ModelAttributes) Reset()

func (*ModelAttributes) String

func (x *ModelAttributes) String() string

type ModelFormat

type ModelFormat int32
const (
	ModelFormat_MODEL_FORMAT_UNSPECIFIED  ModelFormat = 0
	ModelFormat_MODEL_FORMAT_GGUF         ModelFormat = 1
	ModelFormat_MODEL_FORMAT_HUGGING_FACE ModelFormat = 2
	// Model format for Nvidia Triton Inference Server. This model files include the tokenizer configuration
	// of the original model, compiled model files for TensorRT-LLM backend, and configuration files for
	// Triton Inference Server.
	ModelFormat_MODEL_FORMAT_NVIDIA_TRITON ModelFormat = 3
	ModelFormat_MODEL_FORMAT_OLLAMA        ModelFormat = 4
)

func (ModelFormat) Descriptor

func (ModelFormat) Enum

func (x ModelFormat) Enum() *ModelFormat

func (ModelFormat) EnumDescriptor deprecated

func (ModelFormat) EnumDescriptor() ([]byte, []int)

Deprecated: Use ModelFormat.Descriptor instead.

func (ModelFormat) Number

func (x ModelFormat) Number() protoreflect.EnumNumber

func (ModelFormat) String

func (x ModelFormat) String() string

func (ModelFormat) Type

type ModelFormats

type ModelFormats struct {
	Formats []ModelFormat `protobuf:"varint,1,rep,packed,name=formats,proto3,enum=llmariner.models.server.v1.ModelFormat" json:"formats,omitempty"`
	// contains filtered or unexported fields
}

ModelFormats is a list of model formats. Used to store marshalled data into a store.

func (*ModelFormats) Descriptor deprecated

func (*ModelFormats) Descriptor() ([]byte, []int)

Deprecated: Use ModelFormats.ProtoReflect.Descriptor instead.

func (*ModelFormats) GetFormats

func (x *ModelFormats) GetFormats() []ModelFormat

func (*ModelFormats) ProtoMessage

func (*ModelFormats) ProtoMessage()

func (*ModelFormats) ProtoReflect

func (x *ModelFormats) ProtoReflect() protoreflect.Message

func (*ModelFormats) Reset

func (x *ModelFormats) Reset()

func (*ModelFormats) String

func (x *ModelFormats) String() string

type ModelLoadingStatus added in v1.10.0

type ModelLoadingStatus int32
const (
	ModelLoadingStatus_MODEL_LOADING_STATUS_UNSPECIFIED ModelLoadingStatus = 0
	// Intial status when the model creation is requested.
	ModelLoadingStatus_MODEL_LOADING_STATUS_REQUESTED ModelLoadingStatus = 1
	// Loading status when the model is being loaded.
	ModelLoadingStatus_MODEL_LOADING_STATUS_LOADING ModelLoadingStatus = 2
	// Succeeded status when the model loading is succeeded.
	ModelLoadingStatus_MODEL_LOADING_STATUS_SUCCEEDED ModelLoadingStatus = 3
	// Failed status when the model loading is failed.
	ModelLoadingStatus_MODEL_LOADING_STATUS_FAILED ModelLoadingStatus = 4
)

func (ModelLoadingStatus) Descriptor added in v1.10.0

func (ModelLoadingStatus) Enum added in v1.10.0

func (ModelLoadingStatus) EnumDescriptor deprecated added in v1.10.0

func (ModelLoadingStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ModelLoadingStatus.Descriptor instead.

func (ModelLoadingStatus) Number added in v1.10.0

func (ModelLoadingStatus) String added in v1.10.0

func (x ModelLoadingStatus) String() string

func (ModelLoadingStatus) Type added in v1.10.0

type ModelsServiceClient

type ModelsServiceClient interface {
	ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error)
	GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error)
	DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*DeleteModelResponse, error)
	// CreateModel creates a new model. The model becomes available once
	// its model file is loaded to an object store.
	CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*Model, error)
	ActivateModel(ctx context.Context, in *ActivateModelRequest, opts ...grpc.CallOption) (*ActivateModelResponse, error)
	DeactivateModel(ctx context.Context, in *DeactivateModelRequest, opts ...grpc.CallOption) (*DeactivateModelResponse, error)
}

ModelsServiceClient is the client API for ModelsService 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.

type ModelsServiceServer

type ModelsServiceServer interface {
	ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
	GetModel(context.Context, *GetModelRequest) (*Model, error)
	DeleteModel(context.Context, *DeleteModelRequest) (*DeleteModelResponse, error)
	// CreateModel creates a new model. The model becomes available once
	// its model file is loaded to an object store.
	CreateModel(context.Context, *CreateModelRequest) (*Model, error)
	ActivateModel(context.Context, *ActivateModelRequest) (*ActivateModelResponse, error)
	DeactivateModel(context.Context, *DeactivateModelRequest) (*DeactivateModelResponse, error)
	// contains filtered or unexported methods
}

ModelsServiceServer is the server API for ModelsService service. All implementations must embed UnimplementedModelsServiceServer for forward compatibility

type ModelsWorkerServiceClient

type ModelsWorkerServiceClient interface {
	// CreateStorageConfig creates a new storage config. Used by model-manager-loader.
	CreateStorageConfig(ctx context.Context, in *CreateStorageConfigRequest, opts ...grpc.CallOption) (*StorageConfig, error)
	// GetStorageConfig gets a storage config. Used by model-manager-loader.
	GetStorageConfig(ctx context.Context, in *GetStorageConfigRequest, opts ...grpc.CallOption) (*StorageConfig, error)
	// GetModel gets a model. Used by inference-manager-engine.
	GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error)
	// ListModels lists all models. Used by inference-manager-engine.
	// This RPC does not support pagination.
	ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error)
	// RegisterModel registers a new fine-tuned model. Used by job-manager-dispatcher and model-manager-loader.
	// The model is not published until PublishModel is called.
	RegisterModel(ctx context.Context, in *RegisterModelRequest, opts ...grpc.CallOption) (*RegisterModelResponse, error)
	// PublishModel publishes the fine-tuned model. Used by job-manager-dispatcher and model-manager-loader.
	PublishModel(ctx context.Context, in *PublishModelRequest, opts ...grpc.CallOption) (*PublishModelResponse, error)
	// GetModelPath returns the path of the model. Used by inference-manager-engine and model-manager-loader.
	GetModelPath(ctx context.Context, in *GetModelPathRequest, opts ...grpc.CallOption) (*GetModelPathResponse, error)
	// GetModelAttributes returns the attributes of the model. Used by inference-manager-engine.
	GetModelAttributes(ctx context.Context, in *GetModelAttributesRequest, opts ...grpc.CallOption) (*ModelAttributes, error)
	// CreateBaseModel creates a new base model. Used by model-manager-loader.
	CreateBaseModel(ctx context.Context, in *CreateBaseModelRequest, opts ...grpc.CallOption) (*BaseModel, error)
	// GetBaseModelPath returns the path of the base model. Used by job-manager-dispatcher,
	// inference-manager-engine, and model-manager-loader.
	GetBaseModelPath(ctx context.Context, in *GetBaseModelPathRequest, opts ...grpc.CallOption) (*GetBaseModelPathResponse, error)
	// CreateHFModelRepo creates a HuggingFace model repo.
	CreateHFModelRepo(ctx context.Context, in *CreateHFModelRepoRequest, opts ...grpc.CallOption) (*HFModelRepo, error)
	// GetHFModelRepo returns the HuggingFace model repo that has been downloaded. Used by model-manager-loader.
	GetHFModelRepo(ctx context.Context, in *GetHFModelRepoRequest, opts ...grpc.CallOption) (*HFModelRepo, error)
	// AcquireUnloadedBaseModel checks if there is any unloaded base model. If exists, update the loading status to LOADED,
	// and return it. Used by model-manager-loader.
	AcquireUnloadedBaseModel(ctx context.Context, in *AcquireUnloadedBaseModelRequest, opts ...grpc.CallOption) (*AcquireUnloadedBaseModelResponse, error)
	// AcquireUnloadedModel checks if there is any unloaded model. If exists, update the loading status to LOADED,
	// and return it. Used by model-manager-loader.
	AcquireUnloadedModel(ctx context.Context, in *AcquireUnloadedModelRequest, opts ...grpc.CallOption) (*AcquireUnloadedModelResponse, error)
	// UpdateBaseModelLoadingStatus updates the loading status. When the loading succeeded, it also
	// updates the base model metadata. Used by model-manager-loader.
	UpdateBaseModelLoadingStatus(ctx context.Context, in *UpdateBaseModelLoadingStatusRequest, opts ...grpc.CallOption) (*UpdateBaseModelLoadingStatusResponse, error)
	// UpdateModelLoadingStatus updates the loading status. When the loading succeeded, it also
	// updates the model metadata. Used by model-manager-loader.
	UpdateModelLoadingStatus(ctx context.Context, in *UpdateModelLoadingStatusRequest, opts ...grpc.CallOption) (*UpdateModelLoadingStatusResponse, error)
}

ModelsWorkerServiceClient is the client API for ModelsWorkerService 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.

type ModelsWorkerServiceServer

type ModelsWorkerServiceServer interface {
	// CreateStorageConfig creates a new storage config. Used by model-manager-loader.
	CreateStorageConfig(context.Context, *CreateStorageConfigRequest) (*StorageConfig, error)
	// GetStorageConfig gets a storage config. Used by model-manager-loader.
	GetStorageConfig(context.Context, *GetStorageConfigRequest) (*StorageConfig, error)
	// GetModel gets a model. Used by inference-manager-engine.
	GetModel(context.Context, *GetModelRequest) (*Model, error)
	// ListModels lists all models. Used by inference-manager-engine.
	// This RPC does not support pagination.
	ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
	// RegisterModel registers a new fine-tuned model. Used by job-manager-dispatcher and model-manager-loader.
	// The model is not published until PublishModel is called.
	RegisterModel(context.Context, *RegisterModelRequest) (*RegisterModelResponse, error)
	// PublishModel publishes the fine-tuned model. Used by job-manager-dispatcher and model-manager-loader.
	PublishModel(context.Context, *PublishModelRequest) (*PublishModelResponse, error)
	// GetModelPath returns the path of the model. Used by inference-manager-engine and model-manager-loader.
	GetModelPath(context.Context, *GetModelPathRequest) (*GetModelPathResponse, error)
	// GetModelAttributes returns the attributes of the model. Used by inference-manager-engine.
	GetModelAttributes(context.Context, *GetModelAttributesRequest) (*ModelAttributes, error)
	// CreateBaseModel creates a new base model. Used by model-manager-loader.
	CreateBaseModel(context.Context, *CreateBaseModelRequest) (*BaseModel, error)
	// GetBaseModelPath returns the path of the base model. Used by job-manager-dispatcher,
	// inference-manager-engine, and model-manager-loader.
	GetBaseModelPath(context.Context, *GetBaseModelPathRequest) (*GetBaseModelPathResponse, error)
	// CreateHFModelRepo creates a HuggingFace model repo.
	CreateHFModelRepo(context.Context, *CreateHFModelRepoRequest) (*HFModelRepo, error)
	// GetHFModelRepo returns the HuggingFace model repo that has been downloaded. Used by model-manager-loader.
	GetHFModelRepo(context.Context, *GetHFModelRepoRequest) (*HFModelRepo, error)
	// AcquireUnloadedBaseModel checks if there is any unloaded base model. If exists, update the loading status to LOADED,
	// and return it. Used by model-manager-loader.
	AcquireUnloadedBaseModel(context.Context, *AcquireUnloadedBaseModelRequest) (*AcquireUnloadedBaseModelResponse, error)
	// AcquireUnloadedModel checks if there is any unloaded model. If exists, update the loading status to LOADED,
	// and return it. Used by model-manager-loader.
	AcquireUnloadedModel(context.Context, *AcquireUnloadedModelRequest) (*AcquireUnloadedModelResponse, error)
	// UpdateBaseModelLoadingStatus updates the loading status. When the loading succeeded, it also
	// updates the base model metadata. Used by model-manager-loader.
	UpdateBaseModelLoadingStatus(context.Context, *UpdateBaseModelLoadingStatusRequest) (*UpdateBaseModelLoadingStatusResponse, error)
	// UpdateModelLoadingStatus updates the loading status. When the loading succeeded, it also
	// updates the model metadata. Used by model-manager-loader.
	UpdateModelLoadingStatus(context.Context, *UpdateModelLoadingStatusRequest) (*UpdateModelLoadingStatusResponse, error)
	// contains filtered or unexported methods
}

ModelsWorkerServiceServer is the server API for ModelsWorkerService service. All implementations must embed UnimplementedModelsWorkerServiceServer for forward compatibility

type PublishModelRequest

type PublishModelRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishModelRequest) Descriptor deprecated

func (*PublishModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use PublishModelRequest.ProtoReflect.Descriptor instead.

func (*PublishModelRequest) GetId

func (x *PublishModelRequest) GetId() string

func (*PublishModelRequest) ProtoMessage

func (*PublishModelRequest) ProtoMessage()

func (*PublishModelRequest) ProtoReflect

func (x *PublishModelRequest) ProtoReflect() protoreflect.Message

func (*PublishModelRequest) Reset

func (x *PublishModelRequest) Reset()

func (*PublishModelRequest) String

func (x *PublishModelRequest) String() string

type PublishModelResponse

type PublishModelResponse struct {
	// contains filtered or unexported fields
}

func (*PublishModelResponse) Descriptor deprecated

func (*PublishModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use PublishModelResponse.ProtoReflect.Descriptor instead.

func (*PublishModelResponse) ProtoMessage

func (*PublishModelResponse) ProtoMessage()

func (*PublishModelResponse) ProtoReflect

func (x *PublishModelResponse) ProtoReflect() protoreflect.Message

func (*PublishModelResponse) Reset

func (x *PublishModelResponse) Reset()

func (*PublishModelResponse) String

func (x *PublishModelResponse) String() string

type QuantizationType

type QuantizationType int32
const (
	QuantizationType_QUANTIZATION_TYPE_UNSPECIFIED QuantizationType = 0
	QuantizationType_QUANTIZATION_TYPE_GGUF        QuantizationType = 1
	QuantizationType_QUANTIZATION_TYPE_AWQ         QuantizationType = 2
)

func (QuantizationType) Descriptor

func (QuantizationType) Enum

func (QuantizationType) EnumDescriptor deprecated

func (QuantizationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use QuantizationType.Descriptor instead.

func (QuantizationType) Number

func (QuantizationType) String

func (x QuantizationType) String() string

func (QuantizationType) Type

type RegisterModelRequest

type RegisterModelRequest struct {

	// id is the model name.
	Id             string           `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"`
	BaseModel      string           `protobuf:"bytes,1,opt,name=base_model,json=baseModel,proto3" json:"base_model,omitempty"`
	Suffix         string           `protobuf:"bytes,2,opt,name=suffix,proto3" json:"suffix,omitempty"`
	OrganizationId string           `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	ProjectId      string           `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Adapter        AdapterType      `protobuf:"varint,5,opt,name=adapter,proto3,enum=llmariner.models.server.v1.AdapterType" json:"adapter,omitempty"`
	Quantization   QuantizationType `` /* 127-byte string literal not displayed */
	Path           string           `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterModelRequest) Descriptor deprecated

func (*RegisterModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterModelRequest.ProtoReflect.Descriptor instead.

func (*RegisterModelRequest) GetAdapter

func (x *RegisterModelRequest) GetAdapter() AdapterType

func (*RegisterModelRequest) GetBaseModel

func (x *RegisterModelRequest) GetBaseModel() string

func (*RegisterModelRequest) GetId added in v0.119.0

func (x *RegisterModelRequest) GetId() string

func (*RegisterModelRequest) GetOrganizationId

func (x *RegisterModelRequest) GetOrganizationId() string

func (*RegisterModelRequest) GetPath added in v0.119.0

func (x *RegisterModelRequest) GetPath() string

func (*RegisterModelRequest) GetProjectId

func (x *RegisterModelRequest) GetProjectId() string

func (*RegisterModelRequest) GetQuantization

func (x *RegisterModelRequest) GetQuantization() QuantizationType

func (*RegisterModelRequest) GetSuffix

func (x *RegisterModelRequest) GetSuffix() string

func (*RegisterModelRequest) ProtoMessage

func (*RegisterModelRequest) ProtoMessage()

func (*RegisterModelRequest) ProtoReflect

func (x *RegisterModelRequest) ProtoReflect() protoreflect.Message

func (*RegisterModelRequest) Reset

func (x *RegisterModelRequest) Reset()

func (*RegisterModelRequest) String

func (x *RegisterModelRequest) String() string

type RegisterModelResponse

type RegisterModelResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// path is the path where the model is stored.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterModelResponse) Descriptor deprecated

func (*RegisterModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterModelResponse.ProtoReflect.Descriptor instead.

func (*RegisterModelResponse) GetId

func (x *RegisterModelResponse) GetId() string

func (*RegisterModelResponse) GetPath

func (x *RegisterModelResponse) GetPath() string

func (*RegisterModelResponse) ProtoMessage

func (*RegisterModelResponse) ProtoMessage()

func (*RegisterModelResponse) ProtoReflect

func (x *RegisterModelResponse) ProtoReflect() protoreflect.Message

func (*RegisterModelResponse) Reset

func (x *RegisterModelResponse) Reset()

func (*RegisterModelResponse) String

func (x *RegisterModelResponse) String() string

type SourceRepository added in v1.10.0

type SourceRepository int32
const (
	SourceRepository_SOURCE_REPOSITORY_UNSPECIFIED  SourceRepository = 0
	SourceRepository_SOURCE_REPOSITORY_OBJECT_STORE SourceRepository = 1
	SourceRepository_SOURCE_REPOSITORY_HUGGING_FACE SourceRepository = 2
	SourceRepository_SOURCE_REPOSITORY_OLLAMA       SourceRepository = 3
	SourceRepository_SOURCE_REPOSITORY_FINE_TUNING  SourceRepository = 4
)

func (SourceRepository) Descriptor added in v1.10.0

func (SourceRepository) Enum added in v1.10.0

func (SourceRepository) EnumDescriptor deprecated added in v1.10.0

func (SourceRepository) EnumDescriptor() ([]byte, []int)

Deprecated: Use SourceRepository.Descriptor instead.

func (SourceRepository) Number added in v1.10.0

func (SourceRepository) String added in v1.10.0

func (x SourceRepository) String() string

func (SourceRepository) Type added in v1.10.0

type StorageConfig

type StorageConfig struct {
	PathPrefix string `protobuf:"bytes,1,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageConfig) Descriptor deprecated

func (*StorageConfig) Descriptor() ([]byte, []int)

Deprecated: Use StorageConfig.ProtoReflect.Descriptor instead.

func (*StorageConfig) GetPathPrefix

func (x *StorageConfig) GetPathPrefix() string

func (*StorageConfig) ProtoMessage

func (*StorageConfig) ProtoMessage()

func (*StorageConfig) ProtoReflect

func (x *StorageConfig) ProtoReflect() protoreflect.Message

func (*StorageConfig) Reset

func (x *StorageConfig) Reset()

func (*StorageConfig) String

func (x *StorageConfig) String() string

type UnimplementedModelsServiceServer

type UnimplementedModelsServiceServer struct {
}

UnimplementedModelsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedModelsServiceServer) ActivateModel added in v1.17.0

func (UnimplementedModelsServiceServer) CreateModel added in v1.10.0

func (UnimplementedModelsServiceServer) DeactivateModel added in v1.17.0

func (UnimplementedModelsServiceServer) DeleteModel

func (UnimplementedModelsServiceServer) GetModel

func (UnimplementedModelsServiceServer) ListModels

type UnimplementedModelsWorkerServiceServer

type UnimplementedModelsWorkerServiceServer struct {
}

UnimplementedModelsWorkerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedModelsWorkerServiceServer) AcquireUnloadedBaseModel added in v1.10.0

func (UnimplementedModelsWorkerServiceServer) AcquireUnloadedModel added in v1.14.0

func (UnimplementedModelsWorkerServiceServer) CreateBaseModel

func (UnimplementedModelsWorkerServiceServer) CreateHFModelRepo added in v1.4.0

func (UnimplementedModelsWorkerServiceServer) CreateStorageConfig

func (UnimplementedModelsWorkerServiceServer) GetBaseModelPath

func (UnimplementedModelsWorkerServiceServer) GetHFModelRepo added in v1.4.0

func (UnimplementedModelsWorkerServiceServer) GetModel

func (UnimplementedModelsWorkerServiceServer) GetModelAttributes

func (UnimplementedModelsWorkerServiceServer) GetModelPath

func (UnimplementedModelsWorkerServiceServer) GetStorageConfig

func (UnimplementedModelsWorkerServiceServer) ListModels added in v1.18.0

func (UnimplementedModelsWorkerServiceServer) PublishModel

func (UnimplementedModelsWorkerServiceServer) RegisterModel

func (UnimplementedModelsWorkerServiceServer) UpdateBaseModelLoadingStatus added in v1.10.0

func (UnimplementedModelsWorkerServiceServer) UpdateModelLoadingStatus added in v1.14.0

type UnsafeModelsServiceServer

type UnsafeModelsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeModelsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModelsServiceServer will result in compilation errors.

type UnsafeModelsWorkerServiceServer

type UnsafeModelsWorkerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeModelsWorkerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ModelsWorkerServiceServer will result in compilation errors.

type UpdateBaseModelLoadingStatusRequest added in v1.10.0

type UpdateBaseModelLoadingStatusRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Types that are assignable to LoadingResult:
	//
	//	*UpdateBaseModelLoadingStatusRequest_Success_
	//	*UpdateBaseModelLoadingStatusRequest_Failure_
	LoadingResult isUpdateBaseModelLoadingStatusRequest_LoadingResult `protobuf_oneof:"loading_result"`
	// contains filtered or unexported fields
}

func (*UpdateBaseModelLoadingStatusRequest) Descriptor deprecated added in v1.10.0

func (*UpdateBaseModelLoadingStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBaseModelLoadingStatusRequest.ProtoReflect.Descriptor instead.

func (*UpdateBaseModelLoadingStatusRequest) GetFailure added in v1.10.0

func (*UpdateBaseModelLoadingStatusRequest) GetId added in v1.10.0

func (*UpdateBaseModelLoadingStatusRequest) GetLoadingResult added in v1.10.0

func (m *UpdateBaseModelLoadingStatusRequest) GetLoadingResult() isUpdateBaseModelLoadingStatusRequest_LoadingResult

func (*UpdateBaseModelLoadingStatusRequest) GetSuccess added in v1.10.0

func (*UpdateBaseModelLoadingStatusRequest) ProtoMessage added in v1.10.0

func (*UpdateBaseModelLoadingStatusRequest) ProtoMessage()

func (*UpdateBaseModelLoadingStatusRequest) ProtoReflect added in v1.10.0

func (*UpdateBaseModelLoadingStatusRequest) Reset added in v1.10.0

func (*UpdateBaseModelLoadingStatusRequest) String added in v1.10.0

type UpdateBaseModelLoadingStatusRequest_Failure added in v1.10.0

type UpdateBaseModelLoadingStatusRequest_Failure struct {
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBaseModelLoadingStatusRequest_Failure) Descriptor deprecated added in v1.10.0

Deprecated: Use UpdateBaseModelLoadingStatusRequest_Failure.ProtoReflect.Descriptor instead.

func (*UpdateBaseModelLoadingStatusRequest_Failure) GetReason added in v1.10.0

func (*UpdateBaseModelLoadingStatusRequest_Failure) ProtoMessage added in v1.10.0

func (*UpdateBaseModelLoadingStatusRequest_Failure) ProtoReflect added in v1.10.0

func (*UpdateBaseModelLoadingStatusRequest_Failure) Reset added in v1.10.0

func (*UpdateBaseModelLoadingStatusRequest_Failure) String added in v1.10.0

type UpdateBaseModelLoadingStatusRequest_Failure_ added in v1.10.0

type UpdateBaseModelLoadingStatusRequest_Failure_ struct {
	Failure *UpdateBaseModelLoadingStatusRequest_Failure `protobuf:"bytes,3,opt,name=failure,proto3,oneof"`
}

type UpdateBaseModelLoadingStatusRequest_Success added in v1.10.0

type UpdateBaseModelLoadingStatusRequest_Success struct {
	// contains filtered or unexported fields
}

func (*UpdateBaseModelLoadingStatusRequest_Success) Descriptor deprecated added in v1.10.0

Deprecated: Use UpdateBaseModelLoadingStatusRequest_Success.ProtoReflect.Descriptor instead.

func (*UpdateBaseModelLoadingStatusRequest_Success) ProtoMessage added in v1.10.0

func (*UpdateBaseModelLoadingStatusRequest_Success) ProtoReflect added in v1.10.0

func (*UpdateBaseModelLoadingStatusRequest_Success) Reset added in v1.10.0

func (*UpdateBaseModelLoadingStatusRequest_Success) String added in v1.10.0

type UpdateBaseModelLoadingStatusRequest_Success_ added in v1.10.0

type UpdateBaseModelLoadingStatusRequest_Success_ struct {
	Success *UpdateBaseModelLoadingStatusRequest_Success `protobuf:"bytes,2,opt,name=success,proto3,oneof"`
}

type UpdateBaseModelLoadingStatusResponse added in v1.10.0

type UpdateBaseModelLoadingStatusResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateBaseModelLoadingStatusResponse) Descriptor deprecated added in v1.10.0

func (*UpdateBaseModelLoadingStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBaseModelLoadingStatusResponse.ProtoReflect.Descriptor instead.

func (*UpdateBaseModelLoadingStatusResponse) ProtoMessage added in v1.10.0

func (*UpdateBaseModelLoadingStatusResponse) ProtoMessage()

func (*UpdateBaseModelLoadingStatusResponse) ProtoReflect added in v1.10.0

func (*UpdateBaseModelLoadingStatusResponse) Reset added in v1.10.0

func (*UpdateBaseModelLoadingStatusResponse) String added in v1.10.0

type UpdateModelLoadingStatusRequest added in v1.14.0

type UpdateModelLoadingStatusRequest struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	IsBaseModel bool   `protobuf:"varint,2,opt,name=is_base_model,json=isBaseModel,proto3" json:"is_base_model,omitempty"`
	// Types that are assignable to LoadingResult:
	//
	//	*UpdateModelLoadingStatusRequest_Success_
	//	*UpdateModelLoadingStatusRequest_Failure_
	LoadingResult isUpdateModelLoadingStatusRequest_LoadingResult `protobuf_oneof:"loading_result"`
	// contains filtered or unexported fields
}

func (*UpdateModelLoadingStatusRequest) Descriptor deprecated added in v1.14.0

func (*UpdateModelLoadingStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateModelLoadingStatusRequest.ProtoReflect.Descriptor instead.

func (*UpdateModelLoadingStatusRequest) GetFailure added in v1.14.0

func (*UpdateModelLoadingStatusRequest) GetId added in v1.14.0

func (*UpdateModelLoadingStatusRequest) GetIsBaseModel added in v1.14.0

func (x *UpdateModelLoadingStatusRequest) GetIsBaseModel() bool

func (*UpdateModelLoadingStatusRequest) GetLoadingResult added in v1.14.0

func (m *UpdateModelLoadingStatusRequest) GetLoadingResult() isUpdateModelLoadingStatusRequest_LoadingResult

func (*UpdateModelLoadingStatusRequest) GetSuccess added in v1.14.0

func (*UpdateModelLoadingStatusRequest) ProtoMessage added in v1.14.0

func (*UpdateModelLoadingStatusRequest) ProtoMessage()

func (*UpdateModelLoadingStatusRequest) ProtoReflect added in v1.14.0

func (*UpdateModelLoadingStatusRequest) Reset added in v1.14.0

func (*UpdateModelLoadingStatusRequest) String added in v1.14.0

type UpdateModelLoadingStatusRequest_Failure added in v1.14.0

type UpdateModelLoadingStatusRequest_Failure struct {
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateModelLoadingStatusRequest_Failure) Descriptor deprecated added in v1.14.0

func (*UpdateModelLoadingStatusRequest_Failure) Descriptor() ([]byte, []int)

Deprecated: Use UpdateModelLoadingStatusRequest_Failure.ProtoReflect.Descriptor instead.

func (*UpdateModelLoadingStatusRequest_Failure) GetReason added in v1.14.0

func (*UpdateModelLoadingStatusRequest_Failure) ProtoMessage added in v1.14.0

func (*UpdateModelLoadingStatusRequest_Failure) ProtoReflect added in v1.14.0

func (*UpdateModelLoadingStatusRequest_Failure) Reset added in v1.14.0

func (*UpdateModelLoadingStatusRequest_Failure) String added in v1.14.0

type UpdateModelLoadingStatusRequest_Failure_ added in v1.14.0

type UpdateModelLoadingStatusRequest_Failure_ struct {
	Failure *UpdateModelLoadingStatusRequest_Failure `protobuf:"bytes,4,opt,name=failure,proto3,oneof"`
}

type UpdateModelLoadingStatusRequest_Success added in v1.14.0

type UpdateModelLoadingStatusRequest_Success struct {
	// contains filtered or unexported fields
}

func (*UpdateModelLoadingStatusRequest_Success) Descriptor deprecated added in v1.14.0

func (*UpdateModelLoadingStatusRequest_Success) Descriptor() ([]byte, []int)

Deprecated: Use UpdateModelLoadingStatusRequest_Success.ProtoReflect.Descriptor instead.

func (*UpdateModelLoadingStatusRequest_Success) ProtoMessage added in v1.14.0

func (*UpdateModelLoadingStatusRequest_Success) ProtoReflect added in v1.14.0

func (*UpdateModelLoadingStatusRequest_Success) Reset added in v1.14.0

func (*UpdateModelLoadingStatusRequest_Success) String added in v1.14.0

type UpdateModelLoadingStatusRequest_Success_ added in v1.14.0

type UpdateModelLoadingStatusRequest_Success_ struct {
	Success *UpdateModelLoadingStatusRequest_Success `protobuf:"bytes,3,opt,name=success,proto3,oneof"`
}

type UpdateModelLoadingStatusResponse added in v1.14.0

type UpdateModelLoadingStatusResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateModelLoadingStatusResponse) Descriptor deprecated added in v1.14.0

func (*UpdateModelLoadingStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateModelLoadingStatusResponse.ProtoReflect.Descriptor instead.

func (*UpdateModelLoadingStatusResponse) ProtoMessage added in v1.14.0

func (*UpdateModelLoadingStatusResponse) ProtoMessage()

func (*UpdateModelLoadingStatusResponse) ProtoReflect added in v1.14.0

func (*UpdateModelLoadingStatusResponse) Reset added in v1.14.0

func (*UpdateModelLoadingStatusResponse) String added in v1.14.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL