kani (カニ) is a highly hackable microframework for chat-based language models with tool use/function calling. (NLP-OSS @ EMNLP 2023)
558
stars
30
forks
source link
chat_in_terminal improvements: show function call args, word wrap, etc #33
Closed
zhudotexe closed 8 months ago
We should add kwargs to
chat_in_terminal
to:width
kwarg to control the maximum width of a printed turn - mainly for envs like Jupyter that don't automatically line wrapecho
kwarg to echo the user's input to stdout