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

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12\x61pex/v1/apex.proto\x12\x07\x61pex.v1\"\x9d\x02\n\x15\x43hatCompletionRequest\x12\x0c\n\x04uids\x18\x01 \x03(\x03\x12&\n\x08messages\x18\x02 \x03(\x0b\x32\x14.apex.v1.ChatMessage\x12\x0c\n\x04seed\x18\x03 \x01(\x03\x12\x0c\n\x04task\x18\x04 \x01(\t\x12\r\n\x05model\x18\x05 \x01(\t\x12\x1b\n\x13test_time_inference\x18\x06 \x01(\x08\x12\x0f\n\x07mixture\x18\x07 \x01(\x08\x12\x38\n\x13sampling_parameters\x18\x08 \x01(\x0b\x32\x1b.apex.v1.SamplingParameters\x12\x16\n\x0einference_mode\x18\t \x01(\t\x12\x13\n\x0bjson_format\x18\n \x01(\x08\x12\x0e\n\x06stream\x18\x0b \x01(\x08\"r\n\x12SamplingParameters\x12\x13\n\x0btemperature\x18\x01 \x01(\x01\x12\r\n\x05top_p\x18\x02 \x01(\x01\x12\r\n\x05top_k\x18\x03 \x01(\x01\x12\x16\n\x0emax_new_tokens\x18\x04 \x01(\x03\x12\x11\n\tdo_sample\x18\x05 \x01(\x08\"\xd1\x01\n\x16\x43hatCompletionResponse\x12\n\n\x02id\x18\x01 \x01(\t\x12 \n\x07\x63hoices\x18\x02 \x03(\x0b\x32\x0f.apex.v1.Choice\x12\x0f\n\x07\x63reated\x18\x03 \x01(\x03\x12\r\n\x05model\x18\x04 \x01(\t\x12\x0e\n\x06object\x18\x05 \x01(\t\x12\x14\n\x0cservice_tier\x18\x06 \x01(\t\x12\x1a\n\x12system_fingerprint\x18\x07 \x01(\t\x12\'\n\x05usage\x18\x08 \x01(\x0b\x32\x18.apex.v1.CompletionUsage\"\x8a\x01\n\x06\x43hoice\x12\x15\n\rfinish_reason\x18\x01 \x01(\t\x12\r\n\x05index\x18\x02 \x01(\x03\x12)\n\x08logprobs\x18\x03 \x01(\x0b\x32\x17.apex.v1.ChoiceLogprobs\x12/\n\x07message\x18\x04 \x01(\x0b\x32\x1e.apex.v1.ChatCompletionMessage\"\x88\x02\n\x15\x43hatCompletionMessage\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x0f\n\x07refusal\x18\x02 \x01(\t\x12\x0c\n\x04role\x18\x03 \x01(\t\x12(\n\x0b\x61nnotations\x18\x04 \x03(\x0b\x32\x13.apex.v1.Annotation\x12+\n\x05\x61udio\x18\x05 \x01(\x0b\x32\x1c.apex.v1.ChatCompletionAudio\x12,\n\rfunction_call\x18\x06 \x01(\x0b\x32\x15.apex.v1.FunctionCall\x12:\n\ntool_calls\x18\x07 \x03(\x0b\x32&.apex.v1.ChatCompletionMessageToolCall\"+\n\nAnnotation\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x0c\n\x04role\x18\x02 \x01(\t\"W\n\x13\x43hatCompletionAudio\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\t\x12\x12\n\nexpires_at\x18\x03 \x01(\x03\x12\x12\n\ntranscript\x18\x04 \x01(\t\"/\n\x0c\x46unctionCall\x12\x11\n\targuments\x18\x01 \x03(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"^\n\x1d\x43hatCompletionMessageToolCall\x12\n\n\x02id\x18\x01 \x01(\t\x12#\n\x08\x66unction\x18\x02 \x01(\x0b\x32\x11.apex.v1.Function\x12\x0c\n\x04type\x18\x03 \x01(\t\"+\n\x08\x46unction\x12\x11\n\targuments\x18\x01 \x03(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"\xdb\x01\n\x1b\x43hatCompletionChunkResponse\x12\n\n\x02id\x18\x01 \x01(\t\x12%\n\x07\x63hoices\x18\x02 \x03(\x0b\x32\x14.apex.v1.ChunkChoice\x12\x0f\n\x07\x63reated\x18\x03 \x01(\x03\x12\r\n\x05model\x18\x04 \x01(\t\x12\x0e\n\x06object\x18\x05 \x01(\t\x12\x14\n\x0cservice_tier\x18\x06 \x01(\t\x12\x1a\n\x12system_fingerprint\x18\x07 \x01(\t\x12\'\n\x05usage\x18\x08 \x01(\x0b\x32\x18.apex.v1.CompletionUsage\",\n\x0b\x43hatMessage\x12\x0c\n\x04role\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"\x83\x01\n\x0b\x43hunkChoice\x12#\n\x05\x64\x65lta\x18\x01 \x01(\x0b\x32\x14.apex.v1.ChoiceDelta\x12\x15\n\rfinish_reason\x18\x02 \x01(\t\x12\r\n\x05index\x18\x03 \x01(\x03\x12)\n\x08logprobs\x18\x04 \x01(\x0b\x32\x17.apex.v1.ChoiceLogprobs\"|\n\x0e\x43hoiceLogprobs\x12\x34\n\x07\x63ontent\x18\x01 \x03(\x0b\x32#.apex.v1.ChatCompletionTokenLogprob\x12\x34\n\x07refusal\x18\x02 \x03(\x0b\x32#.apex.v1.ChatCompletionTokenLogprob\"\xa8\x01\n\x0b\x43hoiceDelta\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x37\n\rfunction_call\x18\x02 \x01(\x0b\x32 .apex.v1.ChoiceDeltaFunctionCall\x12\x0f\n\x07refusal\x18\x03 \x01(\t\x12\x0c\n\x04role\x18\x04 \x01(\t\x12\x30\n\ntool_calls\x18\x05 \x03(\x0b\x32\x1c.apex.v1.ChoiceDeltaToolCall\":\n\x17\x43hoiceDeltaFunctionCall\x12\x11\n\targuments\x18\x01 \x03(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"v\n\x13\x43hoiceDeltaToolCall\x12\r\n\x05index\x18\x01 \x01(\x03\x12\n\n\x02id\x18\x02 \x01(\t\x12\x36\n\x08\x66unction\x18\x03 \x01(\x0b\x32$.apex.v1.ChoiceDeltaToolCallFunction\x12\x0c\n\x04type\x18\x04 \x01(\t\">\n\x1b\x43hoiceDeltaToolCallFunction\x12\x11\n\targuments\x18\x01 \x03(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"v\n\x1a\x43hatCompletionTokenLogprob\x12\r\n\x05token\x18\x01 \x01(\t\x12\r\n\x05\x62ytes\x18\x02 \x03(\x03\x12\x0f\n\x07logprob\x18\x03 \x01(\x01\x12)\n\x0ctop_logprobs\x18\x04 \x03(\x0b\x32\x13.apex.v1.TopLogprob\";\n\nTopLogprob\x12\r\n\x05token\x18\x01 \x01(\t\x12\r\n\x05\x62ytes\x18\x02 \x03(\x03\x12\x0f\n\x07logprob\x18\x03 \x01(\x01\"\xdb\x01\n\x0f\x43ompletionUsage\x12\x19\n\x11\x63ompletion_tokens\x18\x01 \x01(\x03\x12\x15\n\rprompt_tokens\x18\x02 \x01(\x03\x12\x14\n\x0ctotal_tokens\x18\x03 \x01(\x03\x12\x43\n\x19\x63ompletion_tokens_details\x18\x04 \x01(\x0b\x32 .apex.v1.CompletionTokensDetails\x12;\n\x15prompt_tokens_details\x18\x05 \x01(\x0b\x32\x1c.apex.v1.PromptTokensDetails\"\x91\x01\n\x17\x43ompletionTokensDetails\x12\"\n\x1a\x61\x63\x63\x65pted_prediction_tokens\x18\x01 \x01(\x03\x12\x14\n\x0c\x61udio_tokens\x18\x02 \x01(\x03\x12\x18\n\x10reasoning_tokens\x18\x03 \x01(\x03\x12\"\n\x1arejected_prediction_tokens\x18\x04 \x01(\x03\"B\n\x13PromptTokensDetails\x12\x14\n\x0c\x61udio_tokens\x18\x01 \x01(\x03\x12\x15\n\rcached_tokens\x18\x02 \x01(\x03\"y\n\x13WebRetrievalRequest\x12\x0c\n\x04uids\x18\x01 \x03(\x03\x12\x14\n\x0csearch_query\x18\x02 \x01(\t\x12\x10\n\x08n_miners\x18\x03 \x01(\x03\x12\x11\n\tn_results\x18\x04 \x01(\x03\x12\x19\n\x11max_response_time\x18\x05 \x01(\x03\"A\n\x0fWebSearchResult\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x12\x10\n\x08relevant\x18\x03 \x01(\t\"A\n\x14WebRetrievalResponse\x12)\n\x07results\x18\x01 \x03(\x0b\x32\x18.apex.v1.WebSearchResult2\x8d\x02\n\x0b\x41pexService\x12Q\n\x0e\x43hatCompletion\x12\x1e.apex.v1.ChatCompletionRequest\x1a\x1f.apex.v1.ChatCompletionResponse\x12^\n\x14\x43hatCompletionStream\x12\x1e.apex.v1.ChatCompletionRequest\x1a$.apex.v1.ChatCompletionChunkResponse0\x01\x12K\n\x0cWebRetrieval\x12\x1c.apex.v1.WebRetrievalRequest\x1a\x1d.apex.v1.WebRetrievalResponseB1Z/macrocosm-os/rift/constellation_api/gen/apex/v1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'apex.v1.apex_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z/macrocosm-os/rift/constellation_api/gen/apex/v1'
  _globals['_CHATCOMPLETIONREQUEST']._serialized_start=32
  _globals['_CHATCOMPLETIONREQUEST']._serialized_end=317
  _globals['_SAMPLINGPARAMETERS']._serialized_start=319
  _globals['_SAMPLINGPARAMETERS']._serialized_end=433
  _globals['_CHATCOMPLETIONRESPONSE']._serialized_start=436
  _globals['_CHATCOMPLETIONRESPONSE']._serialized_end=645
  _globals['_CHOICE']._serialized_start=648
  _globals['_CHOICE']._serialized_end=786
  _globals['_CHATCOMPLETIONMESSAGE']._serialized_start=789
  _globals['_CHATCOMPLETIONMESSAGE']._serialized_end=1053
  _globals['_ANNOTATION']._serialized_start=1055
  _globals['_ANNOTATION']._serialized_end=1098
  _globals['_CHATCOMPLETIONAUDIO']._serialized_start=1100
  _globals['_CHATCOMPLETIONAUDIO']._serialized_end=1187
  _globals['_FUNCTIONCALL']._serialized_start=1189
  _globals['_FUNCTIONCALL']._serialized_end=1236
  _globals['_CHATCOMPLETIONMESSAGETOOLCALL']._serialized_start=1238
  _globals['_CHATCOMPLETIONMESSAGETOOLCALL']._serialized_end=1332
  _globals['_FUNCTION']._serialized_start=1334
  _globals['_FUNCTION']._serialized_end=1377
  _globals['_CHATCOMPLETIONCHUNKRESPONSE']._serialized_start=1380
  _globals['_CHATCOMPLETIONCHUNKRESPONSE']._serialized_end=1599
  _globals['_CHATMESSAGE']._serialized_start=1601
  _globals['_CHATMESSAGE']._serialized_end=1645
  _globals['_CHUNKCHOICE']._serialized_start=1648
  _globals['_CHUNKCHOICE']._serialized_end=1779
  _globals['_CHOICELOGPROBS']._serialized_start=1781
  _globals['_CHOICELOGPROBS']._serialized_end=1905
  _globals['_CHOICEDELTA']._serialized_start=1908
  _globals['_CHOICEDELTA']._serialized_end=2076
  _globals['_CHOICEDELTAFUNCTIONCALL']._serialized_start=2078
  _globals['_CHOICEDELTAFUNCTIONCALL']._serialized_end=2136
  _globals['_CHOICEDELTATOOLCALL']._serialized_start=2138
  _globals['_CHOICEDELTATOOLCALL']._serialized_end=2256
  _globals['_CHOICEDELTATOOLCALLFUNCTION']._serialized_start=2258
  _globals['_CHOICEDELTATOOLCALLFUNCTION']._serialized_end=2320
  _globals['_CHATCOMPLETIONTOKENLOGPROB']._serialized_start=2322
  _globals['_CHATCOMPLETIONTOKENLOGPROB']._serialized_end=2440
  _globals['_TOPLOGPROB']._serialized_start=2442
  _globals['_TOPLOGPROB']._serialized_end=2501
  _globals['_COMPLETIONUSAGE']._serialized_start=2504
  _globals['_COMPLETIONUSAGE']._serialized_end=2723
  _globals['_COMPLETIONTOKENSDETAILS']._serialized_start=2726
  _globals['_COMPLETIONTOKENSDETAILS']._serialized_end=2871
  _globals['_PROMPTTOKENSDETAILS']._serialized_start=2873
  _globals['_PROMPTTOKENSDETAILS']._serialized_end=2939
  _globals['_WEBRETRIEVALREQUEST']._serialized_start=2941
  _globals['_WEBRETRIEVALREQUEST']._serialized_end=3062
  _globals['_WEBSEARCHRESULT']._serialized_start=3064
  _globals['_WEBSEARCHRESULT']._serialized_end=3129
  _globals['_WEBRETRIEVALRESPONSE']._serialized_start=3131
  _globals['_WEBRETRIEVALRESPONSE']._serialized_end=3196
  _globals['_APEXSERVICE']._serialized_start=3199
  _globals['_APEXSERVICE']._serialized_end=3468
# @@protoc_insertion_point(module_scope)
