Interface TextSuggestionsServiceGrpc.AsyncService (0.2.0)

public static interface TextSuggestionsServiceGrpc.AsyncService

Service that exposes Generative AI (GenAI) endpoints for creating and enhancing product text content, such as titles, descriptions, etc.

Methods

generateProductTextSuggestions(GenerateProductTextSuggestionsRequest request, StreamObserver<GenerateProductTextSuggestionsResponse> responseObserver)

public default void generateProductTextSuggestions(GenerateProductTextSuggestionsRequest request, StreamObserver<GenerateProductTextSuggestionsResponse> responseObserver)

GenerateProductTextSuggestions generates a set of candidate text completions (e.g., product titles, descriptions) based on provided product information. This endpoint leverages GenAI models to create suggestions for improving existing product text or generating new content.

Parameters
Name Description
request GenerateProductTextSuggestionsRequest
responseObserver io.grpc.stub.StreamObserver<GenerateProductTextSuggestionsResponse>