AskPriya
AI RAG chatbot that uses data from USCIS and ICE to answer questions related to US immigration.
Install / Use
/learn @fadilf/AskPriyaREADME
Ask Priya
Ask Priya is an AI chat bot that uses data from the USCIS website to answer questions you might have about immigration relating to the US. It uses llama-index and Google Vertex AI behind the scenes to avoid many of the common pitfalls of using a large language model like ChatGPT on its own. When you ask it a question it searches through its index of data from the USCIS website and retrieves the most relevant "documents". It then passes along those documents along with your question to a LLM and asks it to answer you without straying outside of the documents given to it.
This reduces hallucination which is the phenomenon of models like ChatGPT making up a piece of information because it sounds like it would be true. Note: this is not a perfect process. Information given by Ask Priya is not legal advice and is not a substitute for a lawyer or official advisor.
To set things up your own, follow these steps:
- Clone the repository from GitHub
- Open the project's root directory in your terminal of choice.
- Create a virtual environment by running
python -m venv .venv - Install requirements by typing
pip install -r requirements.txt - Run the
create_index.ipynbto create the index used by the application - You are now ready to run the app!
To run the application:
- Activate the virtual environment by running
.\.venv\Scripts\activatein the project's root directory - Run
streamlit run ./app/main.py
To generate an updated index:
- Create a CSV file using this Colab notebook
- Save the new CSV file in the
data, replacing the olduscis.csvfile. - Remake the index using the
create_index.ipynbfile as done in the setup.
Related Skills
openhue
352.5kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
352.5kElevenLabs text-to-speech with mac-style say UX.
weather
352.5kGet current weather and forecasts via wttr.in or Open-Meteo
casdoor
13.3kAn open-source AI-first Identity and Access Management (IAM) /AI MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD
