Skip to content

ritvikshrivastava/visa-assessment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assessment of Visa Eligibility

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

Installation of the module and all requirements

poetry install

Setting Environment Variables for calling GPT-4o

via OpenAI

export OPENAI_API_KEY=<>

via Azure OpenAI

export AZURE_OPENAI_API_KEY=<>
export AZURE_OPENAI_ENDPOINT=<>

You can also explicitly set them in visa_assessment/judge.py

Starting the FastAPI server

poetry run uvicorn api:app --reload

Making Requests against the server

curl -X POST "http://localhost:8000/assess_visa" \
-H "Content-Type: multipart/form-data" \
-F "cv=@test_cv.txt" | jq .

if using Azure

curl -X POST "http://localhost:8000/assess_visa?azure=True" \
-H "Content-Type: multipart/form-data" \
-F "cv=@test_cv.txt" | jq .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages