Flow Message
AI Pedant Document Service API (proto file)
This document describes the gRPC API defined in the document_service.proto file for document-related internal communication functionalities.
Dependencies
None specified.
Services
The FlowMessageService offers gRPC methods for handling messages within a flow.
Functions:
handleMessage: Handles a message and returns a processed message.
Messages
Message:
flowName: Name of the flow.messageId: Unique identifier of the message.data: Data of the message.errors: Errors associated with the message.priority: Priority of the message.
Proto Definition (Markdown format)
syntax = "proto3";
package ai.pedant.srv.document;
option java_package = "ai.pedant.srv.document";
option go_package = "pedant.ai/pedant-document-service/grpc-gateway";
service FlowMessageService {
rpc handleMessage(Message) returns (Message) {}
}
message Message {
string flowName = 1;
string messageId = 2;
string data = 3;
string errors = 4;
string priority = 5;
}
Last modified: 20 October 2024