Giter Site home page Giter Site logo

datapaintings / chatlog-marker Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 160 KB

Web tool to mark chat dialogs by a set of topics / subtopics for later usage as a training set for neural network classifier

License: GNU Affero General Public License v3.0

Dockerfile 0.62% Python 73.62% HTML 25.76%

chatlog-marker's Introduction

Used to mark chat dialogs by a set of topics / subtopics for later usage as a training set for neural network classifier. App itself starts with docker-compose and consists of django app itself (ran by gunicorn) and nginx as reverse proxy. It requires external PostgreSQL 10+ and Elasticsearch 5.6 + Kibana 5.6. Optionally you can add Consul 1.2.3 and Logstash 5.6.

Requirements:

docker django 2.0+ psycopg2 2.7.5

External services used:

  1. PostgreSQL 10+
  2. Consul 1.2.3 (Optional. Used only as KV, can be replaced by setting ENV)
  3. Elasticsearch 5.6
  4. Kibana 5.6
  5. Logstash 5.6 with postgres plugin (Optional)

Запуск

1-a) Fill consul KV with settings

  • DB_HOST=<postgres_host>
  • DB_PORT=5432
  • DB_NAME=bots
  • DB_USER=
  • DB_PASS=
  • ELASTIC_URL=<host:port ELASTIC> - using this path collection dialogs will be created

fill app.env with:

  • CONSUL_URL=<full URL to consul's http API, including folders>

if any of settings is not loaded from consul, app wil try to find all the settings in ENV

OR

1-b) Fill app.env with variables from 1-a

  1. docker-compose up -d
  2. docker exec dialog_marker_app python manage.py collectstatic

chatlog-marker's People

Contributors

nario560 avatar

Watchers

James Cloos 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.