import { VuiSpacer } from "../spacer/Spacer"; import { VuiText } from "../typography/Text"; import { VuiChatPanel } from "./ChatPanel"; import { VuiChatSearchResult } from "./ChatSearchResult"; import { ChatTurn } from "./types"; type Props = { turn?: ChatTurn; onClose: () => void; }; export const VuiChatInspector = ({ turn, onClose }: Props) => { return (

You asked, "{turn?.question}"

This was interpreted as: "{turn?.query}"

This was the response: "{turn?.answer}"

We created this response based on the preceding conversation and this information:

{turn?.results?.map((result, index) => ( <> {index < (turn.results?.length ?? 0) - 1 && } ))}
); };