main #2
3 changed files with 23 additions and 0 deletions
16
docs/description.drawio
Normal file
16
docs/description.drawio
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<mxfile host="Electron" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.7.8 Chrome/128.0.6613.120 Electron/32.1.0 Safari/537.36" version="24.7.8">
|
||||||
|
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
|
||||||
|
<mxGraphModel dx="1434" dy="879" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||||
|
<root>
|
||||||
|
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||||
|
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||||
|
<mxCell id="viuUYblrSGvVrk3sNe6p-0" value="api.py<div><br>This is where the AI models are intefaced with. This script will then provide high level abstractions to communicate with the different AI systems. Be it an online API, a local ollama api, HuggingFace api.</div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="40" y="40" width="360" height="120" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="viuUYblrSGvVrk3sNe6p-1" value="simple_chat.py<div><br></div><div>This is a simple CLI chat interface to test the backend systems. It will be supeseded by the eventual graphical API in html/css.</div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||||
|
<mxGeometry x="40" y="200" width="360" height="120" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
</root>
|
||||||
|
</mxGraphModel>
|
||||||
|
</diagram>
|
||||||
|
</mxfile>
|
7
py/api.py
Normal file
7
py/api.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import requests
|
||||||
|
|
||||||
|
class api:
|
||||||
|
|
||||||
|
def send_message(message):
|
||||||
|
answer = "Test"
|
||||||
|
return answer
|
Loading…
Reference in a new issue