mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-24 01:38:29 +02:00
wip: node relationships and improved prompt
This commit is contained in:
@@ -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>
|
||||
20
templates/knowledge/base.html
Normal file
20
templates/knowledge/base.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user