Skip to content
Notifications You must be signed in to change notification settings

Aavy18/CAC-VeteranAI_Final

Folders and files

NameName
Last commit message
Last commit date

Latest commit

573fb07 · · Nov 23, 2025

History

20 Commits
Nov 23, 2025
Oct 30, 2025

Repository files navigation

CACVeteranAI

Python License Tkinter AI Model

CAC Veteran AI, or VAI for short, is a submission to the Congressional App Challenge made by Aavyan Anand and Tejas Kashyap. This is the final Repository to submit for both Tejas and Aavyan..

Table of Contents:


Overview


VAI (Veteran AI) is designed to provide accessible emotional support and guidance to military veterans using AI technology. It creates a safe space where veterans can express their thoughts and receive compassionate, automated responses. It also includes emergency keyword detection that can connect users to crisis resources, like 988 Suicide and Crisis Lifeline.e.


Features


  • AI Counseling Chat – Uses Ollama + Mistral for local, private responses

  • Tkinter GUI – Simple and intuitive interface

  • Crisis Keyword Detection – Detects words like “suicide” or “hurt myself”

  • Automated Call Function – Connects to crisis helpline when triggered

  • Privacy-First – All processing is local with Ollama (no cloud data storage)


Requirements


  • Python 3.10+
  • Ollama (local AI runtime)
  • Internet connection for first-time model pull

Setup:


Install Python 3.10+

https://www.python.org/downloads/ We need Python 3.10+ to run properlyy


Install Required Libraries

Install ollama and tkinter(tk)

Use:

pip install tk ollama

Install Ollama

Download Ollama from: https://ollama.com/download

Once installed, verify it works by running: ollama --versionn


Download Mistral Model

VAI uses the “Mistral” model for its responses.

In Terminal, type:

ollama pull mistral

This will download the AI model locally (only required once).


Running Program

Make sure you are running terminal in the same folder as mainVai.py See usage for example demoo


Troubleshooting

If you get “Ollama not found” errors: • Make sure Ollama is running in the background. • On Mac, open the Ollama app manually once before using it in Python.n.


Notes

In this demo, the “Call” button dials a placeholder number.
In a real deployment, this would call 988 (Suicide and Crisis Lifeline)..


Usage


Program use:

  1. When you run the project, you will see a graphical display(using Tkinter).
  2. Enter information in the text box and click send
  3. Wait for AI to respond
  4. If you say one of the keywords, it will call a number(in real use, this would be 988 Suicide and Crisis Lifeline)
  5. Close the window to be done Ex::
Screenshot 2025-10-28 at 6 38 12 PM

There are multiple files in this project; the only script to run is the mainVai.py file. All the other scripts have snippets of code and cannot run the full projects.


License


MIT License

Copyright <2025 Aavyan Anand and Tejas Kashyap>ap>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages