syntax = "proto3";

package answer;

option go_package = "./proto;answer";

service Answer {
	rpc Question(QuestionRequest) returns (QuestionResponse) {}
}

// Ask a question and receive an instant answer
message QuestionRequest {
	// the question to answer
	string query = 1;
}

message QuestionResponse {
	// the answer to your question
	string answer = 1;
	// a related url
	string url = 2;
	// any related image
	string image = 3;
}
