syntax = "proto3";

package sentimentanalysis;

option go_package = "gitlab.ost.ch/marketminds/marketminds/pkg/protobuf";

service SentimentAnalyzer {
    rpc AnalyzeSentiment(AnalyzeSentimentRequest) returns (AnalyzeSentimentResponse) {}
}

message AnalyzeSentimentRequest {
    string text = 1;
}

message AnalyzeSentimentResponse {
    float positiveScore = 1;
    float neutralScore = 2;
    float negativeScore = 3;
}