Interface GeneratorsGrpc.AsyncService (4.57.0)

public static interface GeneratorsGrpc.AsyncService

Generator Service for LLM powered Agent Assist. This service manages the configurations of user owned Generators, such as description, context and instruction, input/output format, etc. The generator resources will be used inside a conversation and will be triggered by TriggerEvent to query LLM for answers.

Methods

createGenerator(CreateGeneratorRequest request, StreamObserver<Generator> responseObserver)

public default void createGenerator(CreateGeneratorRequest request, StreamObserver<Generator> responseObserver)

Creates a generator.

Parameters
Name Description
request CreateGeneratorRequest
responseObserver io.grpc.stub.StreamObserver<Generator>

deleteGenerator(DeleteGeneratorRequest request, StreamObserver<Empty> responseObserver)

public default void deleteGenerator(DeleteGeneratorRequest request, StreamObserver<Empty> responseObserver)

Deletes a generator.

Parameters
Name Description
request DeleteGeneratorRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getGenerator(GetGeneratorRequest request, StreamObserver<Generator> responseObserver)

public default void getGenerator(GetGeneratorRequest request, StreamObserver<Generator> responseObserver)

Retrieves a generator.

Parameters
Name Description
request GetGeneratorRequest
responseObserver io.grpc.stub.StreamObserver<Generator>

listGenerators(ListGeneratorsRequest request, StreamObserver<ListGeneratorsResponse> responseObserver)

public default void listGenerators(ListGeneratorsRequest request, StreamObserver<ListGeneratorsResponse> responseObserver)

Lists generators.

Parameters
Name Description
request ListGeneratorsRequest
responseObserver io.grpc.stub.StreamObserver<ListGeneratorsResponse>

updateGenerator(UpdateGeneratorRequest request, StreamObserver<Generator> responseObserver)

public default void updateGenerator(UpdateGeneratorRequest request, StreamObserver<Generator> responseObserver)

Updates a generator.

Parameters
Name Description
request UpdateGeneratorRequest
responseObserver io.grpc.stub.StreamObserver<Generator>