import React, { forwardRef } from 'react'; import useMediaQuery from '@mui/material/useMediaQuery'; import Box from '@mui/material/Box'; import { useTheme } from '@mui/material/styles'; import MuiMarkdown from 'mui-markdown'; import { BackstoryPageProps } from './BackstoryTab'; import { Conversation, ConversationHandle } from './Conversation'; import { ChatQuery } from './ChatQuery'; import { MessageList } from './Message'; const HomePage = forwardRef((props: BackstoryPageProps, ref) => { const { sessionId, setSnack, submitQuery } = props; const theme = useTheme(); const isMobile = useMediaQuery(theme.breakpoints.down('md')); const backstoryPreamble: MessageList = [ { role: 'content', title: 'Welcome to Backstory', disableCopy: true, content: ` Backstory is a RAG enabled expert system with access to real-time data running self-hosted (no cloud) versions of industry leading Large and Small Language Models (LLM/SLMs). It was written by James Ketrenos in order to provide answers to questions potential employers may have about his work history. What would you like to know about James? `, } ]; const backstoryQuestions = [ , As with all LLM interactions, the results may not be 100% accurate. If you have questions about my career, I'd love to hear from you. You can send me an email at **james_backstory@ketrenos.com**. ]; return ; }); export { HomePage };