OSTIS example app is an ostis-system based on ostis-web-platform and designed with OSTIS Technology.
0.9.0 version allows communication with the knowledge base via JSON-based Websocket protocol.
For Ubuntu/Debian based distros:
git clone https://github.com/ostis-apps/ostis-example-app.git
cd ostis-example-app
./scripts/install.sh
Before first launch or after changes in KB you should build knowledge base.
./scripts/build_kb.sh
To launch system you should start sc-server:
./scripts/run_sc_server.sh
After that launch sc-web interface:
./scripts/run_sc_web.sh
To check that everything is fine open localhost:8000 in your browser.
kb
is the place for the knowledge base source text files of your app. Put your .scs and .gwf files here.
problem-solver
is the place for the problem solver of your app. Put your agents here. After changes in problem-solver you should rebuild it:
Use scp_stable branch for the development of agents on SCP.
Use 0.5.0, 0.6.0, 0.7.0, 0.8.0 or 0.9.0 branch for the development of agents on C++. You can see an example module with a C++ agent here
After updating your C++ code you need to rebuild problem-solver
:
./scripts/build_problem_solver.sh
To enable DEBUG set fields in ostis-example-app.ini:
log_type = Console
log_file = sc-memory.log
log_level = Debug
interface
is the place for your interface modules.
To learn more about creating web components for the new web interface version follow this link
scripts
is the place for scripts files of your app. There are a few scripts already:
- build_problem_solver.sh [-f, --full]
Build the problem-solver of your app. Use an argument -f or --full for a complete rebuild of the problem-solver with the deleting of the ostis-web-platform/sc-machine/bin and ostis-web-platform/sc-machine/build folders.
- install_submodules.sh
Install or update the OSTIS platform.
- GitHub: @ostis-apps, @ostis-ai
Give us a ⭐️ if you've liked this project!
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
This project is MIT licensed.