epam / ai-dial-chat

A default UI for AI DIAL
https://chat.lab.epam.com
Apache License 2.0
44 stars 16 forks source link

[Publication][Filter]: spaces at the beginning and at the end of the string are not ignored #1635

Open YauheniyaH opened 3 weeks ago

YauheniyaH commented 3 weeks ago

EPAM AI DIAL chat version

0.13.0

How to reproduce

Steps:

  1. user create publish request for chat
  2. user input values into filter, the same word but with different spaces before and after

Actual result

for example word 'test' and 'test ' or ' test' will be treated as different filter values

NOTE: if put 3 spaces after string, then dot appears NOTE2: the same dot appears for prompt's content when create or edit prompt

Expected result

spaces before and after string in filter values should be ignored

Confidential information