Back to the shelf

Aug 2025Team of 3

CCCApply Assistant

A chat assistant for CCCApply, California's community college application, that answers in 15 languages with clickable source footnotes.

languages in the chat widget's picker
15
from first commit to multilingual answers
4 days
of the final backend and widget lines credited to me by git blame (4,294 of 4,481)
96%

What it does

The CCCApply Assistant is a chat bubble for a web page. Pick one of 15 languages, ask a question about California's community college application, and it answers in that language with numbered footnotes. Click a footnote and the source page opens, scrolled to the cited phrase.

Students can also drop in a screenshot or a PDF and ask about it. My teammates wrote the first prototypes, the citation merge and the AWS deployment path. I took the chatbot from there and wrote most of the final code.

How it works

  1. The widget sends the question, the chosen language and the last few messages to a Flask backend, which translates the question to English when needed.

  2. Amazon Bedrock searches a Knowledge Base built from CCCApply's public documentation and writes the answer with Claude, using a prompt I wrote.

  3. The prompt allows answers only from the retrieved passages, with a footnote on every claim, and one fixed sentence when the documents do not cover the question.

  4. Images and PDFs take a separate path to the model, stay in memory and are never written to disk.

CCCApply Assistant on a desktop screen. An applicant who lives in another state asks whether they can still get financial aid at a California community college. The assistant answers and lists its sources in the panel beside the chat. Answers come from a local run with the model call swapped from AWS Bedrock to OpenAI, and sources from public California community college pages.
An applicant who lives in another state asks whether they can still get financial aid at a California community college. The assistant answers and lists its sources in the panel beside the chat. Answers come from a local run with the model call swapped from AWS Bedrock to OpenAI, and sources from public California community college pages.
CCCApply Assistant on a phone. The same question on a phone. Answers come from a local run with the model call swapped from AWS Bedrock to OpenAI, and sources from public California community college pages.
The same question on a phone. Answers come from a local run with the model call swapped from AWS Bedrock to OpenAI, and sources from public California community college pages.
CCCApply Assistant on a desktop screen. An applicant asks how the fee waiver works and how much it covers. The assistant explains the California College Promise Grant with linked sources. Answers come from a local run with the model call swapped from AWS Bedrock to OpenAI, and sources from public California community college pages.
An applicant asks how the fee waiver works and how much it covers. The assistant explains the California College Promise Grant with linked sources. Answers come from a local run with the model call swapped from AWS Bedrock to OpenAI, and sources from public California community college pages.
CCCApply Assistant on a phone. The fee waiver question on a phone. Answers come from a local run with the model call swapped from AWS Bedrock to OpenAI, and sources from public California community college pages.
The fee waiver question on a phone. Answers come from a local run with the model call swapped from AWS Bedrock to OpenAI, and sources from public California community college pages.
CCCApply Assistant on a desktop screen. The applicant switches the language to Spanish and asks for the Cal Grant deadline. The answer comes back in Spanish with its source links. Answers come from a local run with the model call swapped from AWS Bedrock to OpenAI, and sources from public California community college pages.
The applicant switches the language to Spanish and asks for the Cal Grant deadline. The answer comes back in Spanish with its source links. Answers come from a local run with the model call swapped from AWS Bedrock to OpenAI, and sources from public California community college pages.
CCCApply Assistant on a phone. The Spanish question on a phone. Answers come from a local run with the model call swapped from AWS Bedrock to OpenAI, and sources from public California community college pages.
The Spanish question on a phone. Answers come from a local run with the model call swapped from AWS Bedrock to OpenAI, and sources from public California community college pages.
  • Python
  • Flask
  • Amazon Bedrock Knowledge Bases
  • Claude 3.5 Sonnet on Bedrock
  • Vanilla JavaScript
  • PyMuPDF
  • langdetect and googletrans
  • AWS Lambda