feature: Add message feedback and update frontend interface (#5022)
* add style for message feedback * add backend suprot to new feature * update frontend interface and add handle function * [autofix.ci] apply automated fixes * Update tooltip content for bot messages * Update evaluation icons styling * Add custom thumb icons for thumbs up and thumbs down * Add custom thumb icons for thumbs up and thumbs down * Update thumb icons based on evaluation value * [autofix.ci] apply automated fixes * Update property name for positive feedback * Update property name for positive feedback * feat: Add data-testid attributes to helpful and not helpful buttons and update test of playground to include new functionality * update test to include new message features
This commit is contained in:
parent
4be6b04d8c
commit
02fbb450db
14 changed files with 258 additions and 61 deletions
|
|
@ -52,6 +52,7 @@ class TestChatInput(ComponentTestBaseWithClient):
|
|||
"background_color": default_kwargs["background_color"],
|
||||
"text_color": default_kwargs["text_color"],
|
||||
"icon": default_kwargs["chat_icon"],
|
||||
"positive_feedback": None,
|
||||
"edited": False,
|
||||
"source": {"id": None, "display_name": None, "source": None},
|
||||
"allow_markdown": False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue