Files
ds_drone_bot/api/routes/__pycache__/chat.cpython-311.pyc
T

62 lines
3.1 KiB
Plaintext
Raw Normal View History

2025-07-24 14:27:56 +01:00
§
2025-08-11 23:16:48 +01:00
nhšhHãóJddlmZmZmZddlmZmZmZddlm Z m
2025-07-24 14:27:56 +01:00
Z
ddl m Z ddl
mZmZddlmZddlZedd g¬
2025-08-11 23:16:48 +01:00
¦«Ze d e ¬ ¦«ee ¦«fd
edefd¦«Ze de
2025-08-11 23:16:48 +01:00
¬ ¦«ee ¦«fd
edefd¦«ZdS)é)Ú APIRouterÚDependsÚ
2025-07-24 14:27:56 +01:00
HTTPException)Ú ChatRequestÚ ChatMessageÚ
SurveyRequest)Ú ChatResponseÚSurveyAgentResponse)Ú get_api_key)ÚDroneBotÚMessage)ÚDroneAssessmentAgentNz/chatÚchat)ÚprefixÚtagsz/booking-assistant)Úresponse_modelÚrequestÚ_cƒóTK d|jD¦«}t|d¬¦«}| |j¦«}t j|d¦«}t
|¦«td|¬¦«S#t$r#}tdt|¦«¬¦«d }~wwxYw)
ú+Chat with DroneBot using query and history.cóDg|]}t|j|j¬¦«ŒS))ÚroleÚcontent)r
rr)Ú.0Úmsgs úC/Users/macbook/Desktop/blessing_ai/mkd/drone_bot/api/routes/chat.pyú
<listcomp>zchat_ai.<locals>.<listcomp>s)ÐZÀ3•7 ¤°#´T)ÚhistoryÚuse_openai_as_fallbackÚ
final_messageÚsuccess)ÚstatusÚmessageéô©Ú status_codeÚdetailN) rr rÚqueryÚjsonÚloadsÚprintr Ú ExceptionrÚstr)rrrÚbotÚresultr$Úes rÚchat_air2èèð 
àZÈ'Ì/ÐZˆõ˜w¸tÐØ˜'œ-Ñ(ˆÝ”*˜V Ý
ˆf‰
Œ
ˆ
2025-08-11 23:16:48 +01:00
ÝØØð
ñ
ô
ð
øõ ð
ð
ð
ÝØÝq‘6”6ð
ñ
ô
ð
øøøøð
øøøs„A5A:Á:
B'ÂB"Â"B'z/analyse-surveycƒóèK ddlm}t¦«}| |¦«ƒd{V}t d|¬¦«S#t
$r#}t
dt|¦«¬¦«d}~wwxYw)rr)Úbooking_form_inputNr")r#r0r%r&)Útest2r4rÚrunr
r-rr.)rrr4Úagentr0r1s rÚrun_survey_agentr8*s­èèð 
Ø&ˆØ—yyÐ!3Ñ4ˆÝØð
2025-08-11 23:16:48 +01:00
ñ
2025-07-24 14:27:56 +01:00
ô
ð
øõ ð
ð
2025-08-11 23:16:48 +01:00
ð
ÝØÝq‘6”6ð
ñ
2025-07-24 14:27:56 +01:00
ô
2025-08-11 23:16:48 +01:00
ð
øøøøð
øøøs„?AÁ
A1ÁA,Á,A1)ÚfastapirrrÚapi.models.requestsrrrÚapi.models.responsesr r
Úapi.dependencies.authr Úsrc.llm.orchestratorr r
Úsrc.llm.agent.flight_assesmentrr*ÚrouterÚpostr.r2r8©rrú<module>rBswðð à ˆØ Ø
ˆð
ñ
ô
ð
Ð
!°,€ÑˆW

ð