Documentation ¶
Index ¶
- Variables
- type CreatePromptRequest
- func (*CreatePromptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePromptRequest) GetDescription() string
- func (x *CreatePromptRequest) GetMetadata() *structpb.Struct
- func (x *CreatePromptRequest) GetName() string
- func (x *CreatePromptRequest) GetTemplate() string
- func (*CreatePromptRequest) ProtoMessage()
- func (x *CreatePromptRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePromptRequest) Reset()
- func (x *CreatePromptRequest) String() string
- type CreatePromptResponse
- func (*CreatePromptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePromptResponse) GetDescription() string
- func (x *CreatePromptResponse) GetId() string
- func (x *CreatePromptResponse) GetMetadata() *structpb.Struct
- func (x *CreatePromptResponse) GetName() string
- func (x *CreatePromptResponse) GetTemplate() string
- func (*CreatePromptResponse) ProtoMessage()
- func (x *CreatePromptResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePromptResponse) Reset()
- func (x *CreatePromptResponse) String() string
- type GetPromptRequest
- type GetPromptResponse
- type GetPromptValueRequest
- func (*GetPromptValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPromptValueRequest) GetData() *structpb.Struct
- func (x *GetPromptValueRequest) GetName() string
- func (*GetPromptValueRequest) ProtoMessage()
- func (x *GetPromptValueRequest) ProtoReflect() protoreflect.Message
- func (x *GetPromptValueRequest) Reset()
- func (x *GetPromptValueRequest) String() string
- type GetPromptValueResponse
- func (*GetPromptValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPromptValueResponse) GetData() string
- func (*GetPromptValueResponse) ProtoMessage()
- func (x *GetPromptValueResponse) ProtoReflect() protoreflect.Message
- func (x *GetPromptValueResponse) Reset()
- func (x *GetPromptValueResponse) String() string
- type ListPromptsResponse
- func (*ListPromptsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPromptsResponse) GetPrompts() []*Prompt
- func (*ListPromptsResponse) ProtoMessage()
- func (x *ListPromptsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPromptsResponse) Reset()
- func (x *ListPromptsResponse) String() string
- type Prompt
- func (*Prompt) Descriptor() ([]byte, []int)deprecated
- func (x *Prompt) GetDescription() string
- func (x *Prompt) GetId() string
- func (x *Prompt) GetMetadata() *structpb.Struct
- func (x *Prompt) GetName() string
- func (x *Prompt) GetTemplate() string
- func (*Prompt) ProtoMessage()
- func (x *Prompt) ProtoReflect() protoreflect.Message
- func (x *Prompt) Reset()
- func (x *Prompt) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_prompt_v1_models_proto protoreflect.FileDescriptor
View Source
var File_prompt_v1_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreatePromptRequest ¶
type CreatePromptRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Template string `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"` Metadata *structpb.Struct `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*CreatePromptRequest) Descriptor
deprecated
func (*CreatePromptRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePromptRequest.ProtoReflect.Descriptor instead.
func (*CreatePromptRequest) GetDescription ¶
func (x *CreatePromptRequest) GetDescription() string
func (*CreatePromptRequest) GetMetadata ¶
func (x *CreatePromptRequest) GetMetadata() *structpb.Struct
func (*CreatePromptRequest) GetName ¶
func (x *CreatePromptRequest) GetName() string
func (*CreatePromptRequest) GetTemplate ¶
func (x *CreatePromptRequest) GetTemplate() string
func (*CreatePromptRequest) ProtoMessage ¶
func (*CreatePromptRequest) ProtoMessage()
func (*CreatePromptRequest) ProtoReflect ¶
func (x *CreatePromptRequest) ProtoReflect() protoreflect.Message
func (*CreatePromptRequest) Reset ¶
func (x *CreatePromptRequest) Reset()
func (*CreatePromptRequest) String ¶
func (x *CreatePromptRequest) String() string
type CreatePromptResponse ¶
type CreatePromptResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Template string `protobuf:"bytes,4,opt,name=template,proto3" json:"template,omitempty"` Metadata *structpb.Struct `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*CreatePromptResponse) Descriptor
deprecated
func (*CreatePromptResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePromptResponse.ProtoReflect.Descriptor instead.
func (*CreatePromptResponse) GetDescription ¶
func (x *CreatePromptResponse) GetDescription() string
func (*CreatePromptResponse) GetId ¶
func (x *CreatePromptResponse) GetId() string
func (*CreatePromptResponse) GetMetadata ¶
func (x *CreatePromptResponse) GetMetadata() *structpb.Struct
func (*CreatePromptResponse) GetName ¶
func (x *CreatePromptResponse) GetName() string
func (*CreatePromptResponse) GetTemplate ¶
func (x *CreatePromptResponse) GetTemplate() string
func (*CreatePromptResponse) ProtoMessage ¶
func (*CreatePromptResponse) ProtoMessage()
func (*CreatePromptResponse) ProtoReflect ¶
func (x *CreatePromptResponse) ProtoReflect() protoreflect.Message
func (*CreatePromptResponse) Reset ¶
func (x *CreatePromptResponse) Reset()
func (*CreatePromptResponse) String ¶
func (x *CreatePromptResponse) String() string
type GetPromptRequest ¶
type GetPromptRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetPromptRequest) Descriptor
deprecated
func (*GetPromptRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPromptRequest.ProtoReflect.Descriptor instead.
func (*GetPromptRequest) GetName ¶
func (x *GetPromptRequest) GetName() string
func (*GetPromptRequest) ProtoMessage ¶
func (*GetPromptRequest) ProtoMessage()
func (*GetPromptRequest) ProtoReflect ¶
func (x *GetPromptRequest) ProtoReflect() protoreflect.Message
func (*GetPromptRequest) Reset ¶
func (x *GetPromptRequest) Reset()
func (*GetPromptRequest) String ¶
func (x *GetPromptRequest) String() string
type GetPromptResponse ¶
type GetPromptResponse struct { Prompt *Prompt `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"` // contains filtered or unexported fields }
func (*GetPromptResponse) Descriptor
deprecated
func (*GetPromptResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPromptResponse.ProtoReflect.Descriptor instead.
func (*GetPromptResponse) GetPrompt ¶
func (x *GetPromptResponse) GetPrompt() *Prompt
func (*GetPromptResponse) ProtoMessage ¶
func (*GetPromptResponse) ProtoMessage()
func (*GetPromptResponse) ProtoReflect ¶
func (x *GetPromptResponse) ProtoReflect() protoreflect.Message
func (*GetPromptResponse) Reset ¶
func (x *GetPromptResponse) Reset()
func (*GetPromptResponse) String ¶
func (x *GetPromptResponse) String() string
type GetPromptValueRequest ¶
type GetPromptValueRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Data *structpb.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetPromptValueRequest) Descriptor
deprecated
func (*GetPromptValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPromptValueRequest.ProtoReflect.Descriptor instead.
func (*GetPromptValueRequest) GetData ¶
func (x *GetPromptValueRequest) GetData() *structpb.Struct
func (*GetPromptValueRequest) GetName ¶
func (x *GetPromptValueRequest) GetName() string
func (*GetPromptValueRequest) ProtoMessage ¶
func (*GetPromptValueRequest) ProtoMessage()
func (*GetPromptValueRequest) ProtoReflect ¶
func (x *GetPromptValueRequest) ProtoReflect() protoreflect.Message
func (*GetPromptValueRequest) Reset ¶
func (x *GetPromptValueRequest) Reset()
func (*GetPromptValueRequest) String ¶
func (x *GetPromptValueRequest) String() string
type GetPromptValueResponse ¶
type GetPromptValueResponse struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetPromptValueResponse) Descriptor
deprecated
func (*GetPromptValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPromptValueResponse.ProtoReflect.Descriptor instead.
func (*GetPromptValueResponse) GetData ¶
func (x *GetPromptValueResponse) GetData() string
func (*GetPromptValueResponse) ProtoMessage ¶
func (*GetPromptValueResponse) ProtoMessage()
func (*GetPromptValueResponse) ProtoReflect ¶
func (x *GetPromptValueResponse) ProtoReflect() protoreflect.Message
func (*GetPromptValueResponse) Reset ¶
func (x *GetPromptValueResponse) Reset()
func (*GetPromptValueResponse) String ¶
func (x *GetPromptValueResponse) String() string
type ListPromptsResponse ¶
type ListPromptsResponse struct { Prompts []*Prompt `protobuf:"bytes,1,rep,name=prompts,proto3" json:"prompts,omitempty"` // contains filtered or unexported fields }
func (*ListPromptsResponse) Descriptor
deprecated
func (*ListPromptsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPromptsResponse.ProtoReflect.Descriptor instead.
func (*ListPromptsResponse) GetPrompts ¶
func (x *ListPromptsResponse) GetPrompts() []*Prompt
func (*ListPromptsResponse) ProtoMessage ¶
func (*ListPromptsResponse) ProtoMessage()
func (*ListPromptsResponse) ProtoReflect ¶
func (x *ListPromptsResponse) ProtoReflect() protoreflect.Message
func (*ListPromptsResponse) Reset ¶
func (x *ListPromptsResponse) Reset()
func (*ListPromptsResponse) String ¶
func (x *ListPromptsResponse) String() string
type Prompt ¶
type Prompt struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Template string `protobuf:"bytes,4,opt,name=template,proto3" json:"template,omitempty"` Metadata *structpb.Struct `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*Prompt) Descriptor
deprecated
func (*Prompt) GetDescription ¶
func (*Prompt) GetMetadata ¶
func (*Prompt) GetTemplate ¶
func (*Prompt) ProtoMessage ¶
func (*Prompt) ProtoMessage()
func (*Prompt) ProtoReflect ¶
func (x *Prompt) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.