From a6b38bfbbe0db658293907e14bc4ee3cded87305 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Thu, 17 Apr 2025 21:58:58 -0700 Subject: [PATCH] Reduced intro text --- frontend/src/App.tsx | 5 ++--- frontend/src/ResumeBuilder.tsx | 8 -------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 0e8002d..735d932 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -52,7 +52,7 @@ import { MessageMetadata } from './MessageMeta'; const welcomeMarkdown = ` # Welcome to Backstory -Backstory was originally written by James Ketrenos in order to provide answers to questions potential employers may have about his work history. Now, you can deploy your own instance, host, and share your own Backstory. 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). You can ask things like: +Backstory was written by James Ketrenos in order to provide answers to questions potential employers may have about his work history. 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). You can ask things like: @@ -61,8 +61,7 @@ Backstory was originally written by James Ketrenos in order to provide answers t You can click the text above to submit that query, or type it in yourself (or whatever questions you may have.) -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**. -`; +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**.`; const welcomeMessage: MessageData = { "role": "assistant", "content": welcomeMarkdown diff --git a/frontend/src/ResumeBuilder.tsx b/frontend/src/ResumeBuilder.tsx index 37de038..4ebaf21 100644 --- a/frontend/src/ResumeBuilder.tsx +++ b/frontend/src/ResumeBuilder.tsx @@ -24,14 +24,6 @@ const ResumeBuilder = ({ jobDescription, facts, setFacts, resume, setResume, set const [lastEvalTPS, setLastEvalTPS] = useState(35); const [lastPromptTPS, setLastPromptTPS] = useState(430); const [contextStatus, setContextStatus] = useState({ context_used: 0, max_context: 0 }); - // const [countdown, setCountdown] = useState(0); - // const timerRef = useRef(null); - - useEffect(() => { - if (facts) { - console.log(facts); - } - }, [facts]); const updateContextStatus = useCallback(() => { fetch(connectionBase + `/api/context-status/${sessionId}`, {