# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: truffle/infer/gencfg.proto
# Protobuf Python Version: 6.30.0
"""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,
    6,
    30,
    0,
    '',
    'truffle/infer/gencfg.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1atruffle/infer/gencfg.proto\x12\rtruffle.infer\"\xcf\x02\n\x0eResponseFormat\x12\x34\n\x06\x66ormat\x18\x01 \x01(\x0e\x32$.truffle.infer.ResponseFormat.Format\x12\x13\n\x06schema\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x45\n\x0c\x65xperimental\x18\x03 \x01(\x0b\x32*.truffle.infer.ResponseFormat.ExperimentalH\x01\x88\x01\x01\x1aS\n\x0c\x45xperimental\x12\x17\n\x0f\x61\x64\x64itional_ebnf\x18\x01 \x01(\t\x12\x14\n\x0cold_root_key\x18\x02 \x01(\t\x12\x14\n\x0cnew_root_key\x18\x03 \x01(\t\":\n\x06\x46ormat\x12\x08\n\x04TEXT\x10\x00\x12\x08\n\x04JSON\x10\x01\x12\x08\n\x04\x45\x42NF\x10\x02\x12\x12\n\x0eSTRUCTURAL_TAG\x10\x03\x42\t\n\x07_schemaB\x0f\n\r_experimental\"\xda\x03\n\x10GenerationConfig\x12\x11\n\x04temp\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x12\n\x05top_p\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x19\n\x0c\x66req_penalty\x18\x03 \x01(\x01H\x02\x88\x01\x01\x12\x19\n\x0cpres_penalty\x18\x04 \x01(\x01H\x03\x88\x01\x01\x12\x18\n\x0brep_penalty\x18\x05 \x01(\x01H\x04\x88\x01\x01\x12\x11\n\x04seed\x18\x06 \x01(\x05H\x05\x88\x01\x01\x12\x17\n\nmax_tokens\x18\x07 \x01(\rH\x06\x88\x01\x01\x12\x11\n\tstop_strs\x18\x08 \x03(\t\x12\x10\n\x08stop_ids\x18\t \x03(\r\x12\x36\n\x0fresponse_format\x18\n \x01(\x0b\x32\x1d.truffle.infer.ResponseFormat\x12\x34\n\x05\x64\x65\x62ug\x18\x0b \x01(\x0b\x32%.truffle.infer.GenerationConfig.Debug\x1a\x33\n\x05\x44\x65\x62ug\x12\x12\n\nignore_eos\x18\x01 \x01(\x08\x12\x16\n\x0epinned_context\x18\x02 \x01(\x08\x42\x07\n\x05_tempB\x08\n\x06_top_pB\x0f\n\r_freq_penaltyB\x0f\n\r_pres_penaltyB\x0e\n\x0c_rep_penaltyB\x07\n\x05_seedB\r\n\x0b_max_tokens\"Y\n\x15ValidateConfigRequest\x12,\n\x03\x63\x66g\x18\x01 \x01(\x0b\x32\x1f.truffle.infer.GenerationConfig\x12\x12\n\nmodel_uuid\x18\x02 \x01(\t\"H\n\x16ValidateConfigResponse\x12\r\n\x05valid\x18\x01 \x01(\x08\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x10\n\x08warnings\x18\x03 \x03(\tb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'truffle.infer.gencfg_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_RESPONSEFORMAT']._serialized_start=46
  _globals['_RESPONSEFORMAT']._serialized_end=381
  _globals['_RESPONSEFORMAT_EXPERIMENTAL']._serialized_start=210
  _globals['_RESPONSEFORMAT_EXPERIMENTAL']._serialized_end=293
  _globals['_RESPONSEFORMAT_FORMAT']._serialized_start=295
  _globals['_RESPONSEFORMAT_FORMAT']._serialized_end=353
  _globals['_GENERATIONCONFIG']._serialized_start=384
  _globals['_GENERATIONCONFIG']._serialized_end=858
  _globals['_GENERATIONCONFIG_DEBUG']._serialized_start=714
  _globals['_GENERATIONCONFIG_DEBUG']._serialized_end=765
  _globals['_VALIDATECONFIGREQUEST']._serialized_start=860
  _globals['_VALIDATECONFIGREQUEST']._serialized_end=949
  _globals['_VALIDATECONFIGRESPONSE']._serialized_start=951
  _globals['_VALIDATECONFIGRESPONSE']._serialized_end=1023
# @@protoc_insertion_point(module_scope)
