Documentation
¶
Index ¶
- type Opts
- type Service
- func (s *Service) BatchCreateTools(ctx context.Context, request *pb.BatchCreateToolsRequest) (*pb.BatchCreateToolsResponse, error)
- func (s *Service) CreateDiscoveryTool(ctx context.Context, request *pb.CreateDiscoveryToolRequest) (*aipb.Tool, error)
- func (s *Service) CreateServiceToolSet(ctx context.Context, request *pb.CreateServiceToolSetRequest) (*aipb.ToolSet, error)
- func (s *Service) CreateTool(ctx context.Context, request *pb.CreateToolRequest) (*aipb.Tool, error)
- func (s *Service) ParseToolCall(ctx context.Context, request *pb.ParseToolCallRequest) (*pb.ParseToolCallResponse, error)
- func (s *Service) Start(ctx context.Context, withServiceAccount func(context.Context) context.Context) (func(), error)
- func (s *Service) WithLogger(logger *slog.Logger) *Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New( opts *Opts, serverReflectionClient serverreflectionpb.ServerReflectionClient, ) (*Service, error)
func (*Service) BatchCreateTools ¶
func (s *Service) BatchCreateTools(ctx context.Context, request *pb.BatchCreateToolsRequest) (*pb.BatchCreateToolsResponse, error)
func (*Service) CreateDiscoveryTool ¶
func (*Service) CreateServiceToolSet ¶
func (*Service) CreateTool ¶
func (*Service) ParseToolCall ¶
func (s *Service) ParseToolCall(ctx context.Context, request *pb.ParseToolCallRequest) (*pb.ParseToolCallResponse, error)
Click to show internal directories.
Click to hide internal directories.