An AI system (using OpenAI's GPT-4o) to retrieve information from a resume/cv file and assess whether the candidate qualifies for an O1A visa or not.
Detailed description in docs.md
poetry install
export OPENAI_API_KEY=<>
export AZURE_OPENAI_API_KEY=<>
export AZURE_OPENAI_ENDPOINT=<>
You can also explicitly set them in visa_assessment/judge.py
poetry run uvicorn api:app --reload
curl -X POST "http://localhost:8000/assess_visa" \
-H "Content-Type: multipart/form-data" \
-F "cv=@test_cv.txt" | jq .
curl -X POST "http://localhost:8000/assess_visa?azure=True" \
-H "Content-Type: multipart/form-data" \
-F "cv=@test_cv.txt" | jq .