# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: service.proto
# Protobuf Python Version: 5.28.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    5,
    28,
    1,
    '',
    'service.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rservice.proto\x12\x02\x61i\"+\n\x0c\x45mbedRequest\x12\r\n\x05texts\x18\x01 \x03(\t\x12\x0c\n\x04task\x18\x02 \x01(\t\"\x1b\n\tEmbedding\x12\x0e\n\x06vector\x18\x01 \x03(\x02\"L\n\rEmbedResponse\x12!\n\nembeddings\x18\x01 \x03(\x0b\x32\r.ai.Embedding\x12\x18\n\x10processed_tokens\x18\x02 \x01(\r\"-\n\rRerankRequest\x12\r\n\x05query\x18\x01 \x01(\t\x12\r\n\x05texts\x18\x02 \x03(\t\"*\n\nRerankItem\x12\r\n\x05score\x18\x01 \x01(\x02\x12\r\n\x05index\x18\x02 \x01(\r\"J\n\x0eRerankResponse\x12\x1e\n\x06scores\x18\x01 \x03(\x0b\x32\x0e.ai.RerankItem\x12\x18\n\x10processed_tokens\x18\x02 \x01(\r2g\n\x02\x41i\x12.\n\x05\x65mbed\x12\x10.ai.EmbedRequest\x1a\x11.ai.EmbedResponse\"\x00\x12\x31\n\x06rerank\x12\x11.ai.RerankRequest\x1a\x12.ai.RerankResponse\"\x00\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'service_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_EMBEDREQUEST']._serialized_start=21
  _globals['_EMBEDREQUEST']._serialized_end=64
  _globals['_EMBEDDING']._serialized_start=66
  _globals['_EMBEDDING']._serialized_end=93
  _globals['_EMBEDRESPONSE']._serialized_start=95
  _globals['_EMBEDRESPONSE']._serialized_end=171
  _globals['_RERANKREQUEST']._serialized_start=173
  _globals['_RERANKREQUEST']._serialized_end=218
  _globals['_RERANKITEM']._serialized_start=220
  _globals['_RERANKITEM']._serialized_end=262
  _globals['_RERANKRESPONSE']._serialized_start=264
  _globals['_RERANKRESPONSE']._serialized_end=338
  _globals['_AI']._serialized_start=340
  _globals['_AI']._serialized_end=443
# @@protoc_insertion_point(module_scope)
