3 ms·
For anyone curious llamaindex's "prompt mixins", they're actually dead simple: https://github.com/run-llama/llama_index/blob/8a8324008764a7fefb6f25b0e3aac810895
by _akhe 3y ago
For anyone curious llamaindex's "prompt mixins", they're actually dead simple: https://github.com/run-llama/llama_index/blob/8a8324008764a7fefb6f25b0e3aac81089590322/llama-index-legacy/llama_index/legacy/prompts/system.py#L4 https://github.com/run-llama/llama_index/blob/8a8324008764a7... - and maybe no longer supported.
I basically reinvented this wheel in ragdoll but made it more dynamic: https://github.com/bennyschmidt/ragdoll/blob/master/src/utils/prefix.js https://github.com/bennyschmidt/ragdoll/blob/master/src/util...