You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ticket Title: Refactor and Migrate VetsAI to Next.js Priority: Medium Assigned To: Andre Marin Status: To Do
Description
Refactor the VetsAI Python/Streamlit application into TypeScript and integrate it as a feature of the VWC Next.js application. This migration should maintain all existing functionality and alignment with VWC's Next.js stack.
The current application includes:
A Streamlit-based chat interface with session state management.
A military job code translation system (MOS, AFSC, RATE) that maps to civilian career paths.
AI-assisted career guidance powered by OpenAI GPT-4.
A feedback collection system that stores JSON-structured responses.
Custom styling based on VWC brand colors.
Acceptance Criteria
1. Military Job Code Translation Service
Migrate the job code translation logic to TypeScript.
Preserve the current job code database structure and parsing logic.
Ensure fallback recommendations for unrecognized codes are retained.
Convert Python dictionary-based data structures into TypeScript interfaces.
Maintain user session context for translations.
2. Chat System
Recreate the Streamlit chat interface in Next.js components.
Implement equivalent session state management in the Next.js framework.
Preserve OpenAI integration, including current parameters and handling.
Retain support for command-handling shortcuts (/mos, /afsc, /rate).
Ensure chat export functionality remains in JSON format.
3. Feedback System
Replicate the feedback collection mechanism in TypeScript.
Maintain the current data structure (timestamp, session ID, rating, text).
Transition Python logging to a TypeScript-compatible logging solution.
Ensure the system continues to store feedback in a JSON format.
4. UI/UX Requirements
Apply VWC brand styling using #091f40, #c5203e, and #ffffff.
Convert the Streamlit sidebar into a responsive Next.js component.
Preserve the current SVG logo and existing chat input styling.
5. Testing Requirements
Ensure comprehensive testing of critical components:
Ticket Title: Refactor and Migrate VetsAI to Next.js
Priority: Medium
Assigned To: Andre Marin
Status: To Do
Description
Refactor the VetsAI Python/Streamlit application into TypeScript and integrate it as a feature of the VWC Next.js application. This migration should maintain all existing functionality and alignment with VWC's Next.js stack.
The current application includes:
Acceptance Criteria
1. Military Job Code Translation Service
2. Chat System
/mos
,/afsc
,/rate
).3. Feedback System
4. UI/UX Requirements
5. Testing Requirements
Ensure comprehensive testing of critical components:
Deadline
January 15, 2024
Proposed Folder Structure
Proposed Feature-Based Directory Structure:
The text was updated successfully, but these errors were encountered: