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

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x08\x61i.proto\x12\x14next_edu_cloud.ai.v1\"\xd8\x01\n\x0b\x43hatRequest\x12\x33\n\x08messages\x18\x01 \x03(\x0b\x32!.next_edu_cloud.ai.v1.ChatMessage\x12\r\n\x05model\x18\x02 \x01(\t\x12\x13\n\x0btemperature\x18\x03 \x01(\x01\x12\x14\n\x07user_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nsession_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x17\n\ndata_scope\x18\x06 \x01(\tH\x02\x88\x01\x01\x42\n\n\x08_user_idB\r\n\x0b_session_idB\r\n\x0b_data_scope\",\n\x0b\x43hatMessage\x12\x0c\n\x04role\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"\x85\x01\n\x0c\x43hatResponse\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\r\n\x05model\x18\x02 \x01(\t\x12*\n\x05usage\x18\x03 \x01(\x0b\x32\x1b.next_edu_cloud.ai.v1.Usage\x12\x10\n\x08\x64\x65graded\x18\x04 \x01(\x08\x12\x17\n\x0f\x64\x65graded_reason\x18\x05 \x01(\t\"c\n\x05Usage\x12\x15\n\rprompt_tokens\x18\x01 \x01(\x05\x12\x19\n\x11\x63ompletion_tokens\x18\x02 \x01(\x05\x12\x14\n\x0ctotal_tokens\x18\x03 \x01(\x05\x12\x12\n\nlatency_ms\x18\x04 \x01(\x05\"*\n\tChatChunk\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x0c\n\x04\x64one\x18\x02 \x01(\x08\"\xd5\x01\n\x17GenerateQuestionRequest\x12\x0e\n\x06prompt\x18\x01 \x01(\t\x12\x0f\n\x07subject\x18\x02 \x01(\t\x12\x12\n\ndifficulty\x18\x03 \x01(\t\x12\x12\n\x05grade\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x1b\n\x13knowledge_point_ids\x18\x05 \x03(\t\x12\x1a\n\rquestion_type\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x12\n\x05\x63ount\x18\x07 \x01(\x05H\x02\x88\x01\x01\x42\x08\n\x06_gradeB\x10\n\x0e_question_typeB\x08\n\x06_count\"\xf1\x01\n\x11GeneratedQuestion\x12\x10\n\x08question\x18\x01 \x01(\t\x12\x0e\n\x06\x61nswer\x18\x02 \x01(\t\x12\x13\n\x0b\x65xplanation\x18\x03 \x01(\t\x12\x15\n\rquestion_type\x18\x04 \x01(\t\x12\x12\n\ndifficulty\x18\x05 \x01(\t\x12\x1b\n\x13knowledge_point_ids\x18\x06 \x03(\t\x12\x1d\n\x10\x65valuation_score\x18\x07 \x01(\x01H\x00\x88\x01\x01\x12\x10\n\x08\x64\x65graded\x18\x08 \x01(\x08\x12\x17\n\x0f\x64\x65graded_reason\x18\t \x01(\tB\x13\n\x11_evaluation_score\"\x96\x01\n\x16GeneratedQuestionChunk\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12\x0c\n\x04\x64one\x18\x02 \x01(\x08\x12G\n\x11\x63omplete_question\x18\x03 \x01(\x0b\x32\'.next_edu_cloud.ai.v1.GeneratedQuestionH\x00\x88\x01\x01\x42\x14\n\x12_complete_question\":\n\x19OptimizeExpressionRequest\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontext\x18\x02 \x01(\t\"h\n\x13OptimizedExpression\x12\x11\n\toptimized\x18\x01 \x01(\t\x12\x13\n\x0bsuggestions\x18\x02 \x03(\t\x12\x10\n\x08\x64\x65graded\x18\x03 \x01(\x08\x12\x17\n\x0f\x64\x65graded_reason\x18\x04 \x01(\t\"\xa8\x01\n\x19GenerateLessonPlanRequest\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\t\x12\x12\n\nsubject_id\x18\x02 \x01(\t\x12\r\n\x05topic\x18\x03 \x01(\t\x12\x19\n\x11target_difficulty\x18\x04 \x01(\t\x12\x16\n\x0equestion_count\x18\x05 \x01(\x05\x12\x0f\n\x07user_id\x18\x06 \x01(\t\x12\x12\n\ndata_scope\x18\x07 \x01(\t\"\x8a\x01\n\x12LessonPlanResponse\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\x12$\n\x1c\x65stimated_completion_seconds\x18\x03 \x01(\x05\x12\x10\n\x08\x64\x65graded\x18\x04 \x01(\x08\x12\x17\n\x0f\x64\x65graded_reason\x18\x05 \x01(\t\"1\n\x1aGetLessonPlanStatusRequest\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\"\xbc\x01\n\x10LessonPlanStatus\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\x12:\n\tquestions\x18\x03 \x03(\x0b\x32\'.next_edu_cloud.ai.v1.GeneratedQuestion\x12\x12\n\x05\x65rror\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08\x64\x65graded\x18\x05 \x01(\x08\x12\x17\n\x0f\x64\x65graded_reason\x18\x06 \x01(\tB\x08\n\x06_error\"\xbf\x01\n\x18\x43onfirmLessonPlanRequest\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\x12X\n\rmodifications\x18\x02 \x03(\x0b\x32\x41.next_edu_cloud.ai.v1.ConfirmLessonPlanRequest.ModificationsEntry\x1a\x34\n\x12ModificationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"^\n\rConfirmResult\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1e\n\x16persisted_question_ids\x18\x02 \x03(\t\x12\x12\n\x05\x65rror\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_error2\xd1\x06\n\tAiService\x12M\n\x04\x43hat\x12!.next_edu_cloud.ai.v1.ChatRequest\x1a\".next_edu_cloud.ai.v1.ChatResponse\x12R\n\nStreamChat\x12!.next_edu_cloud.ai.v1.ChatRequest\x1a\x1f.next_edu_cloud.ai.v1.ChatChunk0\x01\x12j\n\x10GenerateQuestion\x12-.next_edu_cloud.ai.v1.GenerateQuestionRequest\x1a\'.next_edu_cloud.ai.v1.GeneratedQuestion\x12w\n\x16StreamGenerateQuestion\x12-.next_edu_cloud.ai.v1.GenerateQuestionRequest\x1a,.next_edu_cloud.ai.v1.GeneratedQuestionChunk0\x01\x12p\n\x12OptimizeExpression\x12/.next_edu_cloud.ai.v1.OptimizeExpressionRequest\x1a).next_edu_cloud.ai.v1.OptimizedExpression\x12o\n\x12GenerateLessonPlan\x12/.next_edu_cloud.ai.v1.GenerateLessonPlanRequest\x1a(.next_edu_cloud.ai.v1.LessonPlanResponse\x12o\n\x13GetLessonPlanStatus\x12\x30.next_edu_cloud.ai.v1.GetLessonPlanStatusRequest\x1a&.next_edu_cloud.ai.v1.LessonPlanStatus\x12h\n\x11\x43onfirmLessonPlan\x12..next_edu_cloud.ai.v1.ConfirmLessonPlanRequest\x1a#.next_edu_cloud.ai.v1.ConfirmResultb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ai_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_CONFIRMLESSONPLANREQUEST_MODIFICATIONSENTRY']._loaded_options = None
  _globals['_CONFIRMLESSONPLANREQUEST_MODIFICATIONSENTRY']._serialized_options = b'8\001'
  _globals['_CHATREQUEST']._serialized_start=35
  _globals['_CHATREQUEST']._serialized_end=251
  _globals['_CHATMESSAGE']._serialized_start=253
  _globals['_CHATMESSAGE']._serialized_end=297
  _globals['_CHATRESPONSE']._serialized_start=300
  _globals['_CHATRESPONSE']._serialized_end=433
  _globals['_USAGE']._serialized_start=435
  _globals['_USAGE']._serialized_end=534
  _globals['_CHATCHUNK']._serialized_start=536
  _globals['_CHATCHUNK']._serialized_end=578
  _globals['_GENERATEQUESTIONREQUEST']._serialized_start=581
  _globals['_GENERATEQUESTIONREQUEST']._serialized_end=794
  _globals['_GENERATEDQUESTION']._serialized_start=797
  _globals['_GENERATEDQUESTION']._serialized_end=1038
  _globals['_GENERATEDQUESTIONCHUNK']._serialized_start=1041
  _globals['_GENERATEDQUESTIONCHUNK']._serialized_end=1191
  _globals['_OPTIMIZEEXPRESSIONREQUEST']._serialized_start=1193
  _globals['_OPTIMIZEEXPRESSIONREQUEST']._serialized_end=1251
  _globals['_OPTIMIZEDEXPRESSION']._serialized_start=1253
  _globals['_OPTIMIZEDEXPRESSION']._serialized_end=1357
  _globals['_GENERATELESSONPLANREQUEST']._serialized_start=1360
  _globals['_GENERATELESSONPLANREQUEST']._serialized_end=1528
  _globals['_LESSONPLANRESPONSE']._serialized_start=1531
  _globals['_LESSONPLANRESPONSE']._serialized_end=1669
  _globals['_GETLESSONPLANSTATUSREQUEST']._serialized_start=1671
  _globals['_GETLESSONPLANSTATUSREQUEST']._serialized_end=1720
  _globals['_LESSONPLANSTATUS']._serialized_start=1723
  _globals['_LESSONPLANSTATUS']._serialized_end=1911
  _globals['_CONFIRMLESSONPLANREQUEST']._serialized_start=1914
  _globals['_CONFIRMLESSONPLANREQUEST']._serialized_end=2105
  _globals['_CONFIRMLESSONPLANREQUEST_MODIFICATIONSENTRY']._serialized_start=2053
  _globals['_CONFIRMLESSONPLANREQUEST_MODIFICATIONSENTRY']._serialized_end=2105
  _globals['_CONFIRMRESULT']._serialized_start=2107
  _globals['_CONFIRMRESULT']._serialized_end=2201
  _globals['_AISERVICE']._serialized_start=2204
  _globals['_AISERVICE']._serialized_end=3053
# @@protoc_insertion_point(module_scope)
