Adding NER service and dependencies of NER/NEL#55
Conversation
| - database:database | ||
| pdf-scraper: | ||
| image: semanticai/decide-pdf-scraper:0.0.1 | ||
| image: docker.io/semanticai/decide-pdf-scraper:0.0.1 |
There was a problem hiding this comment.
convention is to leave the default docker.io repo out here
|
Related: #57 |
…entity-recognition
|
Summary How to test
|
| image: lblod/entity-linking-service:latest | ||
| image: semanticai/entity-linking-backend:0.0.1 | ||
| ports: | ||
| - "81:80" |
There was a problem hiding this comment.
remove and put in your docker-compose.override if you need it
| qdrant: | ||
| image: qdrant/qdrant | ||
| ports: | ||
| - "6333:6333" |
There was a problem hiding this comment.
remove and put in your docker compose override if you need it, on the docker network services will be able to reach all ports
| named-entity-recognition: | ||
| image: semanticai/decide-geocoding-service:0.0.2 | ||
| ports: | ||
| - "8082:80" |
| image: ollama/ollama:0.21.2 | ||
| volumes: | ||
| - ../data/ollama:/root/.ollama | ||
| ports: |
There was a problem hiding this comment.
remove. i also think that there is already an ollama service somewhere else?
There was a problem hiding this comment.
ah makes sense, it was moved here, please ignore and just remove the port
| }, | ||
| "segmentation": { | ||
| "model_name": "mistral-large-latest", | ||
| "api_key": "SECRET_KEY", |
There was a problem hiding this comment.
would be best to put this kind of thing in env vars instead of config so you never accidentally commit it
Co-authored-by: Copilot <copilot@github.com>
…sifier-annotate-job
| - database:database | ||
| volumes: | ||
| - ./../config/nel/config:/config | ||
| - ./../config/nel/data:/app/data |
There was a problem hiding this comment.
should this not be the ./../data/nel folder then?
| - ./../config/pdf-content/config.json:/app/config.json:ro # Mount config as read-only | ||
| labels: | ||
| - logging=true | ||
| restart: always |
There was a problem hiding this comment.
please DO mark all your services as restart always to that on error, they restart on the server side, then just add restart:no to the docker-compose.dev.yml
Feature/add classifier annotate job
This PR introduces the NER service, and adds some dependencies of the AI team
It does not fully cover additional needs from ollama for the NEL service