Sieve through structured and unstructured Data. Respond to Query. AI This repository is an exercise walkthrough, a proof of concept of information sieveing with prompts. Data Agent with Python coding. LLM (leverages llama_index), Pylance, Pandas. Use cases : Data ingestion Q&A, Augmented Chatbots, Knowledge agents, analytics.
-
Vs code/Terminal Command Prompt, To create the ai environment: For win: type: python -m venv ai
-
To To activate the ai environment: -For win : type in command prompt: .\ai\Scripts\activate.bat ; Deactivate : replace activate -> deactivate -For mac : type: source ai/bin/activate
-
type in command prompt : pip3 install llama-index pypdf python-dotenv pandas (install python packages and dependencies)
-
create .env file with OPENAI_API_KEY , get API key and insert
-
Gather data. Source type, csv, pdf, notes.
-
Write the main.py file -Write imports.
-
Ctrl+Shift+P : Select Python interpreter --> choose Global, then run.
-
To activate ai environment, In command prompt, type : .\ai\Scripts\activate
-
Create note_engine.py