text2vector.proto 156 B

123456789101112
  1. syntax = "proto3";
  2. package proto;
  3. //请求
  4. message Text2VectorReq{
  5. string text = 1;
  6. }
  7. //响应
  8. message Text2VectorResp{
  9. repeated float vector = 1;
  10. }