EdgeGPT
EdgeGPT copied to clipboard
[Feature Request]: Query
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What would your feature do ?
Hey, could you enable the option to continue the conversation in the same thread from the console in query mode (as default or as query option)? And thank you for recent bug fix!
Proposed workflow
- Go to ....
- Press ....
- ...
Additional information
No response
Hi - I'm afraid that's not something I need for my own purposes but the latest (today's) update now supports two 'modes' using the parameter simplified_response e.g. q = Query("Hello world", simplified_response=True)
If simplified_response is False then several of the main properties like .output, .sources and .suggestions return lists roughly mapping to each message in the conversation. Using True is convenient for issuing once-off requests where the context of a conversation isn't being referred to.
You can already access a lot of conversation detail by examining Query.response['item']['messages'] and other parts of the response object will give you things like the conversation id.
So if anyone's interested in tackling this request, I think the approach is basically to create a new method within the EdgeUtils.Query class e.g. def continue_conversation(self, conversation_id, next_prompt):
Sorry I can't offer to help more...