diff --git a/app/backend/approaches/mathassistant.py b/app/backend/approaches/mathassistant.py
index 62a9a1b51..a770ef664 100644
--- a/app/backend/approaches/mathassistant.py
+++ b/app/backend/approaches/mathassistant.py
@@ -135,7 +135,7 @@ def process_agent_scratch_pad( question):
if "actions" in chunk:
for action in chunk["actions"]:
messages.append(f"Calling Tool: `{action.tool}` with input `{action.tool_input}`\n")
- messages.append(f'I am thinking...: {action.log} \n')
+ messages.append(f'Processing: {action.log} \n')
elif "steps" in chunk:
for step in chunk["steps"]:
messages.append(f"Tool Result: `{step.observation}`\n")
diff --git a/app/backend/approaches/tabulardataassistant.py b/app/backend/approaches/tabulardataassistant.py
index 1820b4c04..0ea281d75 100644
--- a/app/backend/approaches/tabulardataassistant.py
+++ b/app/backend/approaches/tabulardataassistant.py
@@ -90,7 +90,7 @@ def process_agent_scratch_pad(question, df):
if "actions" in chunk:
for action in chunk["actions"]:
messages.append(f"Calling Tool: `{action.tool}` with input `{action.tool_input}`\n")
- messages.append(f'\nI am thinking...: {action.log}\n')
+ messages.append(f'\nProcessing...: {action.log}\n')
elif "steps" in chunk:
for step in chunk["steps"]:
if isinstance(step.observation, str):
diff --git a/app/frontend/src/components/RAIPanel/RAIPanel.tsx b/app/frontend/src/components/RAIPanel/RAIPanel.tsx
index 1b18ca81b..a27e8de06 100644
--- a/app/frontend/src/components/RAIPanel/RAIPanel.tsx
+++ b/app/frontend/src/components/RAIPanel/RAIPanel.tsx
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
-import { Options16Filled, ArrowSync16Filled, Briefcase16Filled, Globe16Filled } from "@fluentui/react-icons";
+import { Options16Filled, ArrowSync16Filled, Briefcase16Filled, Globe16Filled, BuildingMultipleFilled } from "@fluentui/react-icons";
import styles from "./RAIPanel.module.css";
import { Icon } from "@fluentui/react";
@@ -32,11 +32,11 @@ export const RAIPanel = ({approach, chatMode, onAdjustClick, onRegenerateClick,
{(approach == Approaches.ChatWebRetrieveRead && chatMode == ChatMode.WorkPlusWeb) &&
<>
-
+
Search Work
-
+
Compare with Work
>
diff --git a/app/frontend/src/pages/chat/Chat.module.css b/app/frontend/src/pages/chat/Chat.module.css
index e215a4d5c..b02d5205c 100644
--- a/app/frontend/src/pages/chat/Chat.module.css
+++ b/app/frontend/src/pages/chat/Chat.module.css
@@ -46,6 +46,7 @@
}
.chatEmptyStateTitle {
+ display: contents;
font-size: 3rem;
font-weight: 500;
margin-top: 0;
diff --git a/app/frontend/src/pages/layout/Layout.tsx b/app/frontend/src/pages/layout/Layout.tsx
index 103cde3b8..5b7c5b849 100644
--- a/app/frontend/src/pages/layout/Layout.tsx
+++ b/app/frontend/src/pages/layout/Layout.tsx
@@ -51,6 +51,8 @@ export const Layout = () => {
(isActive ? styles.headerNavPageLinkActive : styles.headerNavPageLink)}>
Math Assistant
+
+ (preview)
}
@@ -58,7 +60,11 @@ export const Layout = () => {
(isActive ? styles.headerNavPageLinkActive : styles.headerNavPageLink)}>
Tabular Data Assistant
-
+
+ (preview)
+
+
+
}
diff --git a/app/frontend/src/pages/tda/Tda.module.css b/app/frontend/src/pages/tda/Tda.module.css
index 0f359ada4..800dec3c8 100644
--- a/app/frontend/src/pages/tda/Tda.module.css
+++ b/app/frontend/src/pages/tda/Tda.module.css
@@ -1,6 +1,41 @@
/* Copyright (c) Microsoft Corporation.
Licensed under the MIT license. */
-
+ .chatEmptyStateTitle {
+ font-size: 3rem;
+ font-weight: 500;
+ margin-top: 0;
+ margin-bottom: 10px;
+}
+ .centertext {
+ text-align: center !important;
+}
+ .App {
+ text-align: center;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ min-height: 600px;
+ }
+ .contentArea {
+ width: 100%;
+ margin-top: 10px;
+ /* display: flex; */
+ align-content: center;
+ }
+ .raiwarning {
+ font-size: 12px;
+ font-weight: 400;
+ color: rgb(133, 133, 133);
+ line-height: 22px;
+ padding-top: 6px;
+ padding-bottom: 6px;
+ white-space: pre-line;
+ display: flex;
+ align-items: center;
+ flex-direction: column;
+}
+
.mydetailslist:hover {
overflow: scroll;
}
@@ -26,8 +61,7 @@
}
h1 {
align-items: flex-start !important;
- margin-top: 5% !important; /* Sets the top margin to 10% */
- margin-left: 20% !important; /* Sets the left margin to 20% */
+ margin-top: 0 !important;
}
.title {
text-align: center;
@@ -55,13 +89,14 @@
.centeredContainer {
display: flex;
flex-direction: column;
- align-items: flex-start; /* Aligns items to the left */
+ align-items: center !important; /* Aligns items to the left */
border: 1px solid lightgrey;
border-radius: 10px;
padding: 20px;
margin: auto;
margin-top: 5%;
- width: 60%; /* Adjust as needed */
+ width: 70%; /* Adjust as needed */
+ text-align: left !important;
}
.formClass {
diff --git a/app/frontend/src/pages/tda/Tda.tsx b/app/frontend/src/pages/tda/Tda.tsx
index 47b31fee4..dd21505ce 100644
--- a/app/frontend/src/pages/tda/Tda.tsx
+++ b/app/frontend/src/pages/tda/Tda.tsx
@@ -5,7 +5,7 @@ import { BlobServiceClient } from "@azure/storage-blob";
import { CheckboxVisibility, DetailsList, DetailsListLayoutMode, IColumn, mergeStyles } from '@fluentui/react';
import classNames from "classnames";
import { nanoid } from "nanoid";
-import { ReactNode, useCallback, useEffect, useMemo, useState } from "react";
+import { ReactNode, useCallback, useEffect, useMemo, useRef, useState } from "react";
import { DropZone } from "./drop-zone"
import styles from "./file-picker.module.css";
import { FilesList } from "./files-list";
@@ -14,6 +14,9 @@ import Papa from "papaparse";
import { postCsv, processCsvAgentResponse, getCsvAnalysis, refresh } from "../../api";
import { Accordion, Card, Button } from 'react-bootstrap';
import ReactMarkdown from "react-markdown";
+import estyles from "../../components/Example/Example.module.css";
+import { Example } from "../../components/Example";
+import { DocumentDataFilled, SparkleFilled, TableSearchFilled } from "@fluentui/react-icons";
interface Props {
@@ -30,14 +33,28 @@ const Tda = ({folderPath, tags}: Props) => {
const [fileUploaded, setFileUploaded] = useState(false);
const [output, setOutput] = useState('');
const [otherq, setOtherq] = useState('');
- const [selectedQuery, setSelectedQuery] = useState('How many rows are there?');
+ const [selectedQuery, setSelectedQuery] = useState('');
const [dataFrame, setDataFrame] = useState