# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: arg_services/nlp/v1/nlp.proto
# Protobuf Python Version: 5.29.3
"""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,
    29,
    3,
    '',
    'arg_services/nlp/v1/nlp.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x61rg_services/nlp/v1/nlp.proto\x12\x13\x61rg_services.nlp.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xec\x01\n\tNlpConfig\x12\x1a\n\x08language\x18\x01 \x01(\tR\x08language\x12\x1f\n\x0bspacy_model\x18\x02 \x01(\tR\nspacyModel\x12N\n\x10\x65mbedding_models\x18\x03 \x03(\x0b\x32#.arg_services.nlp.v1.EmbeddingModelR\x0f\x65mbeddingModels\x12R\n\x11similarity_method\x18\x04 \x01(\x0e\x32%.arg_services.nlp.v1.SimilarityMethodR\x10similarityMethod\"\xbf\x01\n\x13SimilaritiesRequest\x12\x36\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1e.arg_services.nlp.v1.NlpConfigR\x06\x63onfig\x12?\n\x0btext_tuples\x18\x02 \x03(\x0b\x32\x1e.arg_services.nlp.v1.TextTupleR\ntextTuples\x12/\n\x06\x65xtras\x18\x0f \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x65xtras\"k\n\x14SimilaritiesResponse\x12\"\n\x0csimilarities\x18\x01 \x03(\x01R\x0csimilarities\x12/\n\x06\x65xtras\x18\x0f \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x65xtras\"7\n\tTextTuple\x12\x14\n\x05text1\x18\x01 \x01(\tR\x05text1\x12\x14\n\x05text2\x18\x02 \x01(\tR\x05text2\"!\n\x07Strings\x12\x16\n\x06values\x18\x01 \x03(\tR\x06values\"\xc5\x03\n\rDocBinRequest\x12\x36\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1e.arg_services.nlp.v1.NlpConfigR\x06\x63onfig\x12\x14\n\x05texts\x18\x02 \x03(\tR\x05texts\x12\x41\n\nattributes\x18\x03 \x01(\x0b\x32\x1c.arg_services.nlp.v1.StringsH\x01R\nattributes\x88\x01\x01\x12\x43\n\renabled_pipes\x18\x04 \x01(\x0b\x32\x1c.arg_services.nlp.v1.StringsH\x00R\x0c\x65nabledPipes\x12\x45\n\x0e\x64isabled_pipes\x18\x05 \x01(\x0b\x32\x1c.arg_services.nlp.v1.StringsH\x00R\rdisabledPipes\x12N\n\x10\x65mbedding_levels\x18\x06 \x03(\x0e\x32#.arg_services.nlp.v1.EmbeddingLevelR\x0f\x65mbeddingLevels\x12/\n\x06\x65xtras\x18\x0f \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x65xtrasB\x07\n\x05pipesB\r\n\x0b_attributes\"Y\n\x0e\x44ocBinResponse\x12\x16\n\x06\x64ocbin\x18\x01 \x01(\x0cR\x06\x64ocbin\x12/\n\x06\x65xtras\x18\x0f \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x65xtras\"\xdf\x01\n\x0eVectorsRequest\x12\x36\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1e.arg_services.nlp.v1.NlpConfigR\x06\x63onfig\x12\x14\n\x05texts\x18\x02 \x03(\tR\x05texts\x12N\n\x10\x65mbedding_levels\x18\x03 \x03(\x0e\x32#.arg_services.nlp.v1.EmbeddingLevelR\x0f\x65mbeddingLevels\x12/\n\x06\x65xtras\x18\x0f \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x65xtras\"\x81\x01\n\x0fVectorsResponse\x12=\n\x07vectors\x18\x01 \x03(\x0b\x32#.arg_services.nlp.v1.VectorResponseR\x07vectors\x12/\n\x06\x65xtras\x18\x0f \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x65xtras\"\xea\x01\n\x0eVectorResponse\x12\x37\n\x08\x64ocument\x18\x01 \x01(\x0b\x32\x1b.arg_services.nlp.v1.VectorR\x08\x64ocument\x12\x33\n\x06tokens\x18\x02 \x03(\x0b\x32\x1b.arg_services.nlp.v1.VectorR\x06tokens\x12\x39\n\tsentences\x18\x03 \x03(\x0b\x32\x1b.arg_services.nlp.v1.VectorR\tsentences\x12/\n\x06\x65xtras\x18\x0f \x01(\x0b\x32\x17.google.protobuf.StructR\x06\x65xtras\" \n\x06Vector\x12\x16\n\x06vector\x18\x01 \x03(\x01R\x06vector\"\xd8\x01\n\x0e\x45mbeddingModel\x12\x41\n\nmodel_type\x18\x01 \x01(\x0e\x32\".arg_services.nlp.v1.EmbeddingTypeR\tmodelType\x12\x1d\n\nmodel_name\x18\x02 \x01(\tR\tmodelName\x12\x41\n\x0cpooling_type\x18\x03 \x01(\x0e\x32\x1c.arg_services.nlp.v1.PoolingH\x00R\x0bpoolingType\x12\x16\n\x05pmean\x18\x04 \x01(\x01H\x00R\x05pmeanB\t\n\x07pooling*\xbd\x03\n\x10SimilarityMethod\x12!\n\x1dSIMILARITY_METHOD_UNSPECIFIED\x10\x00\x12\x1c\n\x18SIMILARITY_METHOD_COSINE\x10\x01\x12%\n!SIMILARITY_METHOD_DYNAMAX_JACCARD\x10\x02\x12%\n!SIMILARITY_METHOD_MAXPOOL_JACCARD\x10\x03\x12\"\n\x1eSIMILARITY_METHOD_DYNAMAX_DICE\x10\x04\x12$\n SIMILARITY_METHOD_DYNAMAX_OTSUKA\x10\x05\x12\x19\n\x15SIMILARITY_METHOD_WMD\x10\x06\x12\x1a\n\x16SIMILARITY_METHOD_EDIT\x10\x07\x12\x1d\n\x19SIMILARITY_METHOD_JACCARD\x10\x08\x12\x1d\n\x19SIMILARITY_METHOD_ANGULAR\x10\t\x12\x1f\n\x1bSIMILARITY_METHOD_MANHATTAN\x10\n\x12\x1f\n\x1bSIMILARITY_METHOD_EUCLIDEAN\x10\x0b\x12\x19\n\x15SIMILARITY_METHOD_DOT\x10\x0c*\x8a\x01\n\x0e\x45mbeddingLevel\x12\x1f\n\x1b\x45MBEDDING_LEVEL_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x45MBEDDING_LEVEL_DOCUMENT\x10\x01\x12\x1a\n\x16\x45MBEDDING_LEVEL_TOKENS\x10\x02\x12\x1d\n\x19\x45MBEDDING_LEVEL_SENTENCES\x10\x03*\xc6\x01\n\x07Pooling\x12\x17\n\x13POOLING_UNSPECIFIED\x10\x00\x12\x10\n\x0cPOOLING_MEAN\x10\x01\x12\x0f\n\x0bPOOLING_MAX\x10\x02\x12\x0f\n\x0bPOOLING_MIN\x10\x03\x12\x0f\n\x0bPOOLING_SUM\x10\x04\x12\x11\n\rPOOLING_FIRST\x10\x05\x12\x10\n\x0cPOOLING_LAST\x10\x06\x12\x12\n\x0ePOOLING_MEDIAN\x10\x07\x12\x11\n\rPOOLING_GMEAN\x10\x08\x12\x11\n\rPOOLING_HMEAN\x10\t*\xa5\x02\n\rEmbeddingType\x12\x1e\n\x1a\x45MBEDDING_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x45MBEDDING_TYPE_SPACY\x10\x01\x12\x1f\n\x1b\x45MBEDDING_TYPE_TRANSFORMERS\x10\x02\x12(\n$EMBEDDING_TYPE_SENTENCE_TRANSFORMERS\x10\x03\x12!\n\x1d\x45MBEDDING_TYPE_TENSORFLOW_HUB\x10\x04\x12\x19\n\x15\x45MBEDDING_TYPE_OPENAI\x10\x05\x12\x19\n\x15\x45MBEDDING_TYPE_OLLAMA\x10\x06\x12\x19\n\x15\x45MBEDDING_TYPE_COHERE\x10\x07\x12\x1b\n\x17\x45MBEDDING_TYPE_VOYAGEAI\x10\x08\x32\xf3\x02\n\nNlpService\x12p\n\x07Vectors\x12#.arg_services.nlp.v1.VectorsRequest\x1a$.arg_services.nlp.v1.VectorsResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\"\x0f/nlp/v1/vectors:\x01*\x12\x84\x01\n\x0cSimilarities\x12(.arg_services.nlp.v1.SimilaritiesRequest\x1a).arg_services.nlp.v1.SimilaritiesResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/nlp/v1/similarities:\x01*\x12l\n\x06\x44ocBin\x12\".arg_services.nlp.v1.DocBinRequest\x1a#.arg_services.nlp.v1.DocBinResponse\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/nlp/v1/docbin:\x01*B\x8d\x01\n\x17\x63om.arg_services.nlp.v1B\x08NlpProtoP\x01\xa2\x02\x03\x41NX\xaa\x02\x12\x41rgServices.Nlp.V1\xca\x02\x12\x41rgServices\\Nlp\\V1\xe2\x02\x1e\x41rgServices\\Nlp\\V1\\GPBMetadata\xea\x02\x14\x41rgServices::Nlp::V1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'arg_services.nlp.v1.nlp_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\027com.arg_services.nlp.v1B\010NlpProtoP\001\242\002\003ANX\252\002\022ArgServices.Nlp.V1\312\002\022ArgServices\\Nlp\\V1\342\002\036ArgServices\\Nlp\\V1\\GPBMetadata\352\002\024ArgServices::Nlp::V1'
  _globals['_NLPSERVICE'].methods_by_name['Vectors']._loaded_options = None
  _globals['_NLPSERVICE'].methods_by_name['Vectors']._serialized_options = b'\202\323\344\223\002\024\"\017/nlp/v1/vectors:\001*'
  _globals['_NLPSERVICE'].methods_by_name['Similarities']._loaded_options = None
  _globals['_NLPSERVICE'].methods_by_name['Similarities']._serialized_options = b'\202\323\344\223\002\031\"\024/nlp/v1/similarities:\001*'
  _globals['_NLPSERVICE'].methods_by_name['DocBin']._loaded_options = None
  _globals['_NLPSERVICE'].methods_by_name['DocBin']._serialized_options = b'\202\323\344\223\002\023\"\016/nlp/v1/docbin:\001*'
  _globals['_SIMILARITYMETHOD']._serialized_start=2144
  _globals['_SIMILARITYMETHOD']._serialized_end=2589
  _globals['_EMBEDDINGLEVEL']._serialized_start=2592
  _globals['_EMBEDDINGLEVEL']._serialized_end=2730
  _globals['_POOLING']._serialized_start=2733
  _globals['_POOLING']._serialized_end=2931
  _globals['_EMBEDDINGTYPE']._serialized_start=2934
  _globals['_EMBEDDINGTYPE']._serialized_end=3227
  _globals['_NLPCONFIG']._serialized_start=115
  _globals['_NLPCONFIG']._serialized_end=351
  _globals['_SIMILARITIESREQUEST']._serialized_start=354
  _globals['_SIMILARITIESREQUEST']._serialized_end=545
  _globals['_SIMILARITIESRESPONSE']._serialized_start=547
  _globals['_SIMILARITIESRESPONSE']._serialized_end=654
  _globals['_TEXTTUPLE']._serialized_start=656
  _globals['_TEXTTUPLE']._serialized_end=711
  _globals['_STRINGS']._serialized_start=713
  _globals['_STRINGS']._serialized_end=746
  _globals['_DOCBINREQUEST']._serialized_start=749
  _globals['_DOCBINREQUEST']._serialized_end=1202
  _globals['_DOCBINRESPONSE']._serialized_start=1204
  _globals['_DOCBINRESPONSE']._serialized_end=1293
  _globals['_VECTORSREQUEST']._serialized_start=1296
  _globals['_VECTORSREQUEST']._serialized_end=1519
  _globals['_VECTORSRESPONSE']._serialized_start=1522
  _globals['_VECTORSRESPONSE']._serialized_end=1651
  _globals['_VECTORRESPONSE']._serialized_start=1654
  _globals['_VECTORRESPONSE']._serialized_end=1888
  _globals['_VECTOR']._serialized_start=1890
  _globals['_VECTOR']._serialized_end=1922
  _globals['_EMBEDDINGMODEL']._serialized_start=1925
  _globals['_EMBEDDINGMODEL']._serialized_end=2141
  _globals['_NLPSERVICE']._serialized_start=3230
  _globals['_NLPSERVICE']._serialized_end=3601
# @@protoc_insertion_point(module_scope)
