TheAtlasRepository / Text2Map

Make maps from simple Text prompts using AI
GNU General Public License v3.0
5 stars 0 forks source link

Input display improvements and fixes #48

Closed GlennJoakimB closed 5 months ago

GlennJoakimB commented 5 months ago

Improvements to the input display

Input display is now its own component, shared between both Chat and Text/CSV. The display has been improved with a small toolbar that displays both the number of returned locations, and the button for editing the initial input.

image

Editing

The textarea for editing has also been revamped. When editing is enabled the textarea will be shiwn, along with options to Cancel or to Save & resend. If Textarea is empty, the option to save becomes disabled. The height of the textarea is also responsive to the given input and will resize automatically as you write.

image

JsonTweeks

The returned answer text from GPT is now rotated to display history of oldest to newest from top to bottop, showing user request first at the top, followed by respons from assistant. JsonRenderer is now configured to add linebreaks and spacing throughout the text to break it up a little. There are now paragraph spacing, in addition to giving new line to numbered elements.

image

Other changes