Coder Social home page Coder Social logo

ostis-medicine's Introduction

Version 0.7.0

This version allows communication with the knowledge base via JSON-based Websocket protocol.

The new version of web interface communicates with sc-server using two-way JSON protocol.

Install

Linux:

git clone https://github.com/ostis-apps/ostis-example-app.git
cd ostis-example-app/scripts
git checkout 0.7.0
./install_ostis.sh

Build knowledge base

Linux:

cd ostis-example-app/scripts
./build_kb.sh

Run

Run on Linux (both terminals or terminal tabs should work at the same time):

#Terminal 1
cd ostis-example-app/scripts
./run_sc_server.sh

#Terminal 2
cd ostis-example-app/scripts
./run_scweb.sh

Then open localhost:8000 in your browser.

Project Structure

kb

The place for the knowledge base of your app. Put your .scs files here.

problem-solver

The place for the problem solver of your app. Put your agents here.

Use scp_stable branch for the development of agents on SCP.
Use 0.5.0, 0.6.0 or 0.7.0 branch for the development of agents on C++.

Agents on C++

Some tips:

  • Store your modules with C++ agents in problem-solver/cxx;
  • After updating your C++ code you need to rebuild problem-solver. Just run:
cd ostis-example-app/scripts
./build_problem_solver.sh
  • To enable debug set vars in ostis-example-app.ini:
    log_type = Console
    log_file = sc-memory.log
    log_level = Debug
  • You can see an example module with a C++ agent here.

Interface

The place for your interface modules.

To learn more about creating web components for the new web interface version please follow this link

sc-web-extensions

The place for your extensions using IMS interface(sc-web) standard.

Your extensions are not applied to sc-web automatically for now, but you can do it by hand.

scripts

The place for scripts of your app.

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_ostis.sh

Install or update the OSTIS platform.

ostis-medicine's People

Contributors

korsakovasveta avatar kilona57 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.