mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-07-24 17:30:38 +00:00
Update annotation docs for website (#505)
* update annotation docs for website * add md file for docs * add user manual
This commit is contained in:
parent
7a43d1a72d
commit
df13a6830d
@ -1,13 +1,18 @@
|
||||
# Haystack Annotation Tool
|
||||
# Annotation Tool
|
||||
|
||||
This document describes setting up the Haystack Annotation Tool with the publicly available Docker Images. Alternatively,
|
||||
a hosted version of the tool is available at https://annotate.deepset.ai/login.
|
||||
- Create labels with different techniques: Come up with questions (+ answers) while reading passages (SQuAD style) or have a set of predefined questions and look for answers in the document (~ Natural Questions).
|
||||
- Structure your work via organizations, projects, users
|
||||
- Upload your documents or import labels from an existing SQuAD-style dataset
|
||||
- Export your labels in SQuAD Format
|
||||
|
||||

|
||||
|
||||
# Hosted version
|
||||
Signup here: [Haystack Annotation Tool](https://annotate.deepset.ai/login)
|
||||
|
||||
# Setup Annotation Tool with Docker
|
||||
# Local version (Docker)
|
||||
|
||||
1. Configure credentials & database in the `docker-compose.yml` file:
|
||||
1. Configure credentials & database in the [`docker-compose.yml`](https://github.com/deepset-ai/haystack/blob/master/annotation_tool/docker-compose.yml):
|
||||
|
||||
The credentials should match in database image and application configuration.
|
||||
|
||||
|
38
docs/_src/usage/usage/annotation.md
Normal file
38
docs/_src/usage/usage/annotation.md
Normal file
@ -0,0 +1,38 @@
|
||||
# Annotation Tool
|
||||
|
||||
- Create labels with different techniques: Come up with questions (+ answers) while reading passages (SQuAD style) or have a set of predefined questions and look for answers in the document (~ Natural Questions).
|
||||
- Structure your work via organizations, projects, users
|
||||
- Upload your documents or import labels from an existing SQuAD-style dataset
|
||||
- Export your labels in SQuAD Format
|
||||
|
||||

|
||||
|
||||
# Hosted version
|
||||
Signup here: [Haystack Annotation Tool](https://annotate.deepset.ai/login)
|
||||
|
||||
# Local version (Docker)
|
||||
|
||||
1. Configure credentials & database in the [`docker-compose.yml`](https://github.com/deepset-ai/haystack/blob/master/annotation_tool/docker-compose.yml):
|
||||
|
||||
The credentials should match in database image and application configuration.
|
||||
|
||||
DEFAULT_ADMIN_EMAIL: "example@example.com"
|
||||
DEFAULT_ADMIN_PASSWORD: "DEMO-PASSWORD"
|
||||
|
||||
PROD_DB_NAME: "databasename"
|
||||
PROD_DB_USERNAME: "somesafeuser"
|
||||
PROD_DB_PASSWORD: "somesafepassword"
|
||||
|
||||
|
||||
POSTGRES_USER: "somesafeuser"
|
||||
POSTGRES_PASSWORD: "somesafepassword"
|
||||
POSTGRES_DB: "databasename"
|
||||
|
||||
|
||||
2. Run docker-compose by executing `docker-compose up`.
|
||||
|
||||
|
||||
3. The UI should be available at `localhost:7001`.
|
||||
|
||||
# Usage
|
||||
The manual (of a slightly earlier version) can be found [here](https://drive.google.com/file/d/1Wv3OIC0Z7ibHIzOm9Xw_r0gjTFmpl-33/view). While it doesn't include all latest features, the basic workflow and tips for label quality are still the same.
|
Loading…
x
Reference in New Issue
Block a user