Skip to content

Latest commit

 

History

History
executable file
·
71 lines (49 loc) · 2.42 KB

README.md

File metadata and controls

executable file
·
71 lines (49 loc) · 2.42 KB

HybridAGI chat-UI

Beta Docs

A simple chat UI made with Streamlit to deploy your custom Agents in seconds.

Learn how to program HybridAGI using Cypher to create controlled and explainable Agents!

The chat UI

Quickstart in 5 simple steps!

What you need to start?

Installation

First, clone the chat repository with:

git clone https://github.com/SynaLinks/HybridAGI-chat
cd HybridAGI-chat

Directory hierarchy

Then you should open the repository folder in your favorite IDE (VSCodium with the Neo4J plugin is a good start).

📦HybridAGI-chat
┣ 📂archives  # This is where the AGI will save its uploaded work
┣ 📂documentation # This is where you can put your pdf and documents
┣ 📂programs # This is where you should put your Cypher programs
┣ 📂src # The source code of the UI
... the license and other files related to deployment

Note that the folders archives, documentation and programs are shared with the application container, you can edit them and reload your programs/documentation without restarting the application container.

Echo test program

Start with a simple echo test, create a main.cypher file inside the programs folder:

// Nodes declaration
CREATE
(start:Control {name:"Start"}),
(end:Control {name:"End"}),
(echo_objective:Action {
  name:"Reformulate the Objective",
  tool:"Speak",
  prompt:"Please reformulate the objective using other words"}),
// Structure declaration
(start)-[:NEXT]->(echo_objective),
(echo_objective)-[:NEXT]->(end)

Learn more about Graph-based Prompt Programming by reading our documentation.

Deploy your app

Now it is time to deploy this app, just use the following command

docker-compose up

Inspect the database

Open your browser at http://localhost:8001 and connect to an existing database with the hostname falkordb and port 6379.