2026 OkIP International Conference on Artificial Intelligence Frontiers (CAIF)
Mohammed Fahad
Dr. Solomon Berhe
University of the Pacific
This presentation covers a project that integrates Retrieval-Augmented Generation (RAG) with realtime APIs to improve the precision and relevance of software update and security vulnerability information.
Manual lookup, comparison, and summarization across sources takes significant time.
This baseline established a working prototype, but accuracy was limited.
“Give me an update about Linux”
“What is the recent Linux patch update?”
Normalized into a time-aware search:
“What is the Linux patch update on <CURRENT MONTH>?”
k8s → kubernetes and nodejs → node.Vendor is the key linking all data sources.
def extract_vendors(q: str):
alias_map = {
"k8s": "kubernetes",
"docker": "docker",
"postgresql": "postgresql",
"linux": "linux",
"windows": "windows",
"nodejs": "node",
"Linux": "windows",
}
found = []
for alias, canonical in alias_map.items():
if re.search(rf"\b{re.escape(alias)}\b", q.lower()):
found.append(canonical)
return list(dict.fromkeys(found))
Rephrasing temporal wording improves similarity matching.
def parse_time_window(q: str, now=None):
if "last week" in q.lower():
monday = (now - timedelta(days=now.weekday() + 7)).date()
sunday = monday + timedelta(days=6)
return monday, sunday
if "this month" in q.lower():
first = now.replace(day=1).date()
last_day = calendar.monthrange(now.year, now.month)[1]
return first, last_day
Routing improves performance and accuracy.
def route(query):
return {
"cve": "vulnerability" in query or "cve" in query,
"release": "update" in query or "version" in query,
"community": "issue" in query or "reddit" in query
}
On-request fetch improves accuracy.
def fetch_releases(repo):
return requests.get(
f"https://api.github.com/repos/{repo}/releases"
).json()[:5]
def combine_live_and_rag(user_q, live_answer, rag_answer):
prompt = f"""
- Prefer live vendor-routed results as the primary source.
- Use RAG only to add helpful context.
- If live results exist, summarize them confidently.
- Do not say unavailable unless both are empty.
"""
resp = _gem.invoke(prompt)
return getattr(resp, "content", str(resp))
Less manual inspection
Improvement in detection of the correct answer
Software version updates
Reddit discussions
CVE / NVD records
The system combines traditional retrieval discipline with modern LLM synthesis, which remains a reliable pattern when current data quality matters.
Project Repository:
ReleaseNotesRec-Agent (GitHub)
Live Demo:
Streamlit Application
Contact:
Mohammed Fahad
m_lnu18@u.pacific.edu