caretech-owl / gerd

Generating and evaluating relevant documentation (GERD)
https://towardsdatascience.com/running-llama-2-on-cpu-inference-for-document-q-a-3d636037a3d8
MIT License
4 stars 0 forks source link

[Bug]: Duplicate gen list entries for prompt variables #21

Closed Ashtonville closed 11 months ago

Ashtonville commented 11 months ago

Expected Behavior

Only one variable for each or multiple of the same keywords in the prompt. -> One input textarea for each unique keyword in webui frontend

Actual Behavior

Multiple variables for the same recurring keyword in the prompt. -> Duplicate input textareas for keywords in webui frontend

Steps to Reproduce the Problem

  1. Edit prompt to contain more than one of the same keyword (e.g. ... {hospital} ... {hospital} ...)
  2. Run the webui

Affected version

After Commit 503a8d3

Affected components

Frontend

Affected plattforms

Windows

Further contextual information and suggestions

Will be resolved with #20