Trim down reprs
rgbkrk opened this issue · 0 comments
rgbkrk commented
We should make sure to set pandas display options to something reasonable when using the get_historical_context
, because this blows up huge pretty quick
def craft_output_message(output):
return {
"content": repr(output),
"role": "system",
}
We should always try to keep this under a certain length as well as do any processing in advance for known useful objects.