promptv1

package
v0.0.0-...-2442c6d Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Prompt.ProtoReflect.Descriptor instead.

func (*Prompt) GetDescription

func (x *Prompt) GetDescription() string

func (*Prompt) GetId

func (x *Prompt) GetId() string

func (*Prompt) GetMetadata

func (x *Prompt) GetMetadata() *structpb.Struct

func (*Prompt) GetName

func (x *Prompt) GetName() string

func (*Prompt) GetTemplate

func (x *Prompt) GetTemplate() string

func (*Prompt) ProtoMessage

func (*Prompt) ProtoMessage()

func (*Prompt) ProtoReflect

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

func (*Prompt) Reset

func (x *Prompt) Reset()

func (*Prompt) String

func (x *Prompt) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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