Versions in this module Expand all Collapse all v1 v1.0.2 Jul 4, 2024 Changes in this version + var File_redirect_prompt_proto protoreflect.FileDescriptor + func RegisterAiProxyServiceServer(s *grpc.Server, srv AiProxyServiceServer) + type AiProxyServiceClient interface + RedirectPrompt func(ctx context.Context, in *RedirectPromptRequest, opts ...grpc.CallOption) (*RedirectPromptResponse, error) + func NewAiProxyServiceClient(cc grpc.ClientConnInterface) AiProxyServiceClient + type AiProxyServiceServer interface + RedirectPrompt func(context.Context, *RedirectPromptRequest) (*RedirectPromptResponse, error) + type RedirectPromptRequest struct + Content []byte + Feature string + Origin string + RequestId string + Tenant string + func (*RedirectPromptRequest) Descriptor() ([]byte, []int) + func (*RedirectPromptRequest) ProtoMessage() + func (x *RedirectPromptRequest) GetContent() []byte + func (x *RedirectPromptRequest) GetFeature() string + func (x *RedirectPromptRequest) GetOrigin() string + func (x *RedirectPromptRequest) GetRequestId() string + func (x *RedirectPromptRequest) GetTenant() string + func (x *RedirectPromptRequest) ProtoReflect() protoreflect.Message + func (x *RedirectPromptRequest) Reset() + func (x *RedirectPromptRequest) String() string + type RedirectPromptResponse struct + Content []byte + GenAiErrorCode int32 + Origin string + RequestId string + Tenant string + func (*RedirectPromptResponse) Descriptor() ([]byte, []int) + func (*RedirectPromptResponse) ProtoMessage() + func (x *RedirectPromptResponse) GetContent() []byte + func (x *RedirectPromptResponse) GetGenAiErrorCode() int32 + func (x *RedirectPromptResponse) GetOrigin() string + func (x *RedirectPromptResponse) GetRequestId() string + func (x *RedirectPromptResponse) GetTenant() string + func (x *RedirectPromptResponse) ProtoReflect() protoreflect.Message + func (x *RedirectPromptResponse) Reset() + func (x *RedirectPromptResponse) String() string + type UnimplementedAiProxyServiceServer struct + func (*UnimplementedAiProxyServiceServer) RedirectPrompt(context.Context, *RedirectPromptRequest) (*RedirectPromptResponse, error) v1.0.1 May 6, 2024