wip: node relationships and improved prompt

This commit is contained in:
Per Stark
2025-02-01 17:56:32 +01:00
parent bdbb23d839
commit 33380b3bcf
10 changed files with 121 additions and 35 deletions

View File

@@ -1,5 +1,6 @@
<div class="p-4 shadow mt-4 rounded-box">
<div class="flex gap-4">
<button class="btn btn-primary" hx-get="/ingress-form" hx-swap="outerHTML">Add Content</button>
<a class="btn btn-secondary" href="/knowledge" hx-boost="true">View Knowledge</a>
</div>
</div>

View File

@@ -0,0 +1,20 @@
{% extends 'body_base.html' %}
{% block main %}
<main class="flex justify-center grow mt-2 sm:mt-4 gap-6">
<div class="container">
<div class="p-4">
<h2>Entities</h2>
{% for entity in entities %}
<p>{{entity.description}} /p>
{% endfor %}
<h2 class="mt-10">Relationships</h2>
<p>{{relationships}}</p>
</div>
</div>
</main>
{% endblock %}