Files
2125_GCE/LLMCompress/__pycache__/llm_compressor.cpython-314.pyc
T

45 lines
6.2 KiB
Plaintext
Raw Normal View History

+
*Vãó¦Rt^RIHt^RIt^RIHtHtHtHt^RI H
t
^RI H t ^RI
HtHt^RIHtRR ltR
R R R/R
RlltR
R R R/RRlltR#)zLLM symbolic compressor.
Feeds LLM interactions through the GlyphOS Cognitive Kernel and produces
a symbolic CompressionReport.
)Ú annotationsN)ÚAnyÚDictÚListÚOptional)Ú
get_kernel)Úemit)Ú
LLMAdapterÚ LLMResponse)ÚCompressionReportcó V^8„dQhRRRR/#)éÚ interactionr
ÚreturnÚbytes©)ÚformatsLLMCompress/llm_compressor.pyÚ __annotate__rs÷PñP¨ðP¸ñPócórVP4p\P!VRRR7PR4#)zDSerialize a single interaction into a payload for symbolic analysis.FT©Ú ensure_asciiÚ sort_keysúutf-8)Úto_dictÚjsonÚdumpsÚencode)rÚdatas& rÚ_interaction_to_payloadr s.à × Ñ Ó €DÜ :Š:¸$Ô FÀwÓ OrÚmodeÚanalyzeÚcontextc ó0V^8„dQhRRRRRRRRRR R
R /#) r
Úadapterr ÚpromptÚstrr!r#úOptional[Dict[str, Any]]Ú
llm_kwargsrrr r)rs"rrrsL÷JñJØ
ðJà ðJð ð Jð
 Jð ð
JðñJrc ó€VP!V3/VBp\RRRRVRVR,/4RRRRR VP/p.p\V4p\ 4p V'dVP 4M/p
V
P
RR4V
P
R
R 4V PVVVVV
R 7p V PR
/4p V PR/4p
V PR.4pV
PR4;'g/p.p\V\4'd9VPR4p\V\4'dVPV4\VP4.T T
TTT;'gRRV.R VP/R7p\RRRRTR VPRT;'gRRV PR4/4V#)z8Run a single LLM interaction through the symbolic stack.úcognition.startedÚsourceÚ LLMCompressr!Úprompt_preview:NéxtypeÚllm_interactionÚ
model_nameÚinteraction_typeÚsingle©ÚmanifestÚsegmentsÚpayloadr!r#Ú fused_symbolÚ diagnosticsÚcognition_traceÚglyph_resonanceÚglyph_idNÚ llm_compress©Ú interactionsr9r:r;Ú glyph_idsr<ÚtagsÚmetadataúcognition.completedÚsummary)Úrunrr2r rÚcopyÚ
setdefaultÚexecute_symbolicÚgetÚ
isinstanceÚdictr'Úappendr r)r%r&r!r#r)rr6r7r8ÚkernelÚ exec_contextÚresultr9r:r;Ú glyph_resrAÚgidÚreports&&$$, rÚcompress_interactionrTð—+’+˜fÑ
Ñ3€KäØà   ˜f T
ôð Ð €Hð
&(€HÜ,¨[Ó9€Gä
\€Fß5< 7§<¡<¤>À"€LØ×јH mÔ×ÑÐÔ
×
ØØØ
Øð €Fð—:‘:˜n¨bÓ1€LØ—*‘*˜]¨BÓ/€KØ—j‘jÐ!2°BÓ7€OàÐ 1Ó8°b€IØ€IÜ)œT×m‰m˜'ˆÜ cœ3× Ò Ø × Ñ ˜SÔ
ØØØ!×) ˜
  × 6Ñ 6Ð €Fô Øà   ˜+× ˜y×0¨DØ |×'¨ Ó