Kili Docs

Kili Docs

›Code snippets

Introduction to Kili Technology

  • Introduction to Kili Technology
  • Kili Technology allows
  • Compatible browser

Getting Started

  • Getting started with Kili - Classification

Hosting

  • SaaS
  • On-Premise Data
  • On-Premise Entreprise

Concepts

  • Definitions
  • Status Lifecycle
  • Architecture

Users and roles

  • Roles by project
  • Users
  • Users and roles management

Projects

  • Audit labelers
  • Customize interface
  • Dataset
  • New project
  • Project overview
  • Projects
  • Projects list
  • Settings
  • Shortcuts

Image interfaces

  • Bounding Box
  • Classification
  • Point
  • Polygon
  • Polyline
  • Segmentation
  • Simple and intuitive interfaces

Text & PDF interfaces

  • Classification
  • Image transcription / OCR
  • Named entities recognition
  • Relations extraction

Video interfaces

  • Classification
  • Multi-frames classification
  • Multi-frames object detection
  • Transcription

Audio interfaces

  • Voice transcription / Speech to text

Data ingestion

  • Data ingestion made easy
  • Load data from a workstation
  • Load data from a public cloud
  • Data on premise or on private cloud
  • How to generate non-expiring signed URLs on AWS

Quality management

  • Consensus
  • Honeypot or Gold Standard
  • Instructions
  • Quality KPIs
  • Quality management
  • Questions and Issues
  • Review Process
  • Workload distribution

Automation

  • Human in the loop
  • Model based preannotation
  • Online learning
  • Queue prioritisation

Data export

  • Data export
  • Data format
  • Example

Python - GraphQL API

  • GraphQL API
  • Python API

Code snippets

  • Authentication
  • Create a Honeypot
  • Create a user
  • Creating Consensus
  • Delete the data
  • Export data
  • Export labels
  • Import data
  • Import labels
  • Prioritize assets
  • See the Consensus of an annotation
  • See the Honeypot of an annotation
  • Throttling

Recipes

  • AutoML for faster labeling with Kili Technology
  • Create a project
  • Exporting a training set
  • Importing medical data into a frame project
  • Importing assets
  • Import rich-text assets
  • Importing predictions
  • Reading and uploading dicom image data
  • How to query using the API
  • Labelled Image Data & Transfer Learning
  • Webhooks

Change log

  • Change log

Create a Honeypot

Prerequisites

Authenticate in python (see Authenticate) or in Node (see Authenticate):

Create a Honeypot

A Honeypot is formally a Datarow to which a review type label is given at creation.

Here is the Python function to create a honeypot:

kili.create_honeypot(asset_id, json_response)

where JSON response typically is:

  • Named entity recognition
"{ \"entities\": [{ \"mentions\": [{ \"groups\": [], \"id\": \"0ca478e7-23bf-4670-8ea9-bc4fdb233d3d\", \"text\": { \"beginOffset\": 52, \"content\": \"CALVO ENVASES\" }, \"type\": \"SOLD_TO_NAME\"  }], \"name\": \"CALVO ENVASES\", \"salience\": 0.6, \"type\": \"SOLD_TO_NAME\"  }, { \"mentions\": [{ \"groups\": [], \"id\": \"dab6e3f5-ccd4-44fc-900b-a2e807bd01d1\", \"text\": { \"beginOffset\": 67, \"content\": \"24142\" }, \"type\": \"QUANTITY\"  }], \"name\": \"24142\", \"salience\": 0.6, \"type\": \"QUANTITY\"  }], \"text\": \"\"}"
  • Image object recognition
"{\"annotations\": [{\"id\": \"1c34abfa-a1c4-43b5-87c7-c146f7ce9b8f\", \"score\": null, \"description\": [{\"LEAF\": 70}], \"isOccluded\": false, \"isCut\": false, \"boundingPoly\": [{\"normalizedVertices\": [{\"x\": 0.5410526315789473, \"y\": 0.5899053627760252}, {\"x\": 0.8421052631578947, \"y\": 0.5899053627760252}, {\"x\": 0.1052631578947, \"y\": 0.08832807570978}, {\"x\": 0.5410526315789473, \"y\": 0.1608832807570978}]}]}, {\"id\": \"60dcf7a1-4920-459e-ab79-aecc3ec12c94\", \"score\": null, \"description\": [{\"GRAPE\": 87}], \"isOccluded\": false, \"isCut\": false, \"boundingPoly\": [{\"normalizedVertices\": [{\"x\": 0.15789473684210525, \"y\": 0.6845425867507886}, {\"x\": 0.40421052631578946, \"y\": 0.6845425867507886}, {\"x\": 0.40421052631578946, \"y\": 0.056782334384858024}, {\"x\": 0.15789473684210525, \"y\": 0.056782334384858024}]}]}]}"
← AuthenticationCreate a user →
  • Prerequisites
  • Create a Honeypot