pls-rag / templates /index.html
m97j's picture
Initial codes commit
4fdc679
raw
history blame contribute delete
428 Bytes
<!DOCTYPE html>
<html>
<body>
<h1>RAG Search Demo</h1>
<form method="post" action="/demo">
<input type="text" name="query" placeholder="Enter query" required>
<button type="submit">Search</button>
</form>
{% if results %}
<h2>Results for: {{ query }}</h2>
<ul>
{% for r in results %}
<li>{{ r }}</li>
{% endfor %}
</ul>
{% endif %}
</body>
</html>