-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Enhance conversation repl #88
Comments
|
aichat's readline supports tab completion, type @alxpettit |
One related request/suggestion I have would be to make it easy to convert a one-off request into a conversation. Often I expect a one-off response to be fine, but upon getting it back I realise I have a follow-up question or refinement, and this may be better handled through a conversation rather than editing the prompt. As a strawman, how about |
GPT-3.5 supports up to 4096 tokens, and it is not very likely to have a long conversatio, so there is no need to design a feature-rich conversation repl.
But gpt-4 supports up to 8k tokens, gpt-4-32k supports up to 32k tokens, we can do long conversation. It's necesarry to enhance conversation repl.
.conversation
- show conversation help.conversation new
- create a new conversation.conversation revert [num]
- revert current conversation messages.This give user the ability to edit previous lines, thus branching the conversation in a new direction. This is useful when models get caught in infinite loops, or local optima.
The
num
parameter specify how many messages to revert. If we omitnum
parameter, Aichat will display a list of current messages, the user can choose where to revert..conversation delete
- delete a saved conversationAIChat will display a multi-select list for the user to select the conversation to delete
.conversation use
- reuse a saved conversationAIChat will display a list for the user to select the conversation to load to
Design details
$CONFIG_DIR/conversations/<datetime>-<first-message-truncated>.json
.model
in the middle of conversation..role
or.prompt
in the middle of conversation.Welcome to provide suggestions for the design of the conversation repl.
The text was updated successfully, but these errors were encountered: