Find answers from the community

Updated 3 months ago

Outpht

is there a convenient way to override the output formatting?
https://github.com/run-llama/llama_index/blob/v0.8.38/llama_index/callbacks/simple_llm_handler.py
Since I'm going to be post-processing stuff in python and then doing later things, I'd like to change the ** Prompt ** and ** Completion ** stuff
L
t
12 comments
Not at the moment. Would be easy enough to add though
is there an inconvenient way to do it? πŸ˜›
Haha only by editing source code in the installed package
cuz right now I have to like split on the ** Completion ** string
not the end of the world
I made that feature with the impression that it was for visual purposes only πŸ˜…
well maybe i'm thinking about this wrong
the problem was llama_index.set_global_handler("simple")
print(response) does as expected (only the response)
Add a reply
Sign up and join the conversation on Discord