Skip to content

Commit

Permalink
Merge pull request #28 from glautervl/master
Browse files Browse the repository at this point in the history
Adding daemon 0.1.3 support
  • Loading branch information
ferrouswheel committed Dec 10, 2018
2 parents 0695161 + 06a5179 commit adf4914
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 8 deletions.
7 changes: 3 additions & 4 deletions named-entity-recognition/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ RUN cd / && \
RUN cd $SINGNET_REPOS && \
mkdir snet-daemon && \
cd snet-daemon && \
wget https://github.com/singnet/snet-daemon/releases/download/v0.1.2/snetd-0.1.2.tar.gz && \
tar -xvf snetd-0.1.2.tar.gz && \
cd snetd-0.1.2 && \
mv snetd-linux-amd64 ../snetd
wget https://github.com/singnet/snet-daemon/releases/download/v0.1.3/snetd-0.1.3.tar.gz && \
tar -xvf snetd-0.1.3.tar.gz && \
mv linux-amd64/snetd ./snetd
RUN cd $SINGNET_REPOS && \
git clone https://github.com/singnet/nlp-services.git && \
cd $SINGNET_REPOS/nlp-services/named-entity-recognition && \
Expand Down
26 changes: 26 additions & 0 deletions named-entity-recognition/service_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": 1,
"display_name": "named-entity-recognition",
"encoding": "proto",
"service_type": "grpc",
"payment_expiration_threshold": 40320,
"model_ipfs_hash": "QmTohaQs4P3zXRRQbMsC41mGw4LqzSn1FEv1saX3GtzdLu",
"mpe_address": "0xdd4292864063d0DA1F294AC65D74d55a44F4766C",
"pricing": {
"price_model": "fixed_price",
"price_in_cogs": 1
},
"groups": [
{
"group_name": "default_group",
"group_id": "9GKoJWnlQkKXopHseVlIwDwV+IRc30Fh4BKdfisjNeo=",
"payment_address": "0x4b4546ce47089925E5792E0a6d085BfB876cE621"
}
],
"endpoints": [
{
"group_name": "default_group",
"endpoint": "http://54.203.198.53:7012"
}
]
}
7 changes: 3 additions & 4 deletions sentiment-analysis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ RUN cd / && \
RUN cd $SINGNET_REPOS && \
mkdir snet-daemon && \
cd snet-daemon && \
wget https://github.com/singnet/snet-daemon/releases/download/v0.1.2/snetd-0.1.2.tar.gz && \
tar -xvf snetd-0.1.2.tar.gz && \
cd snetd-0.1.2 && \
mv snetd-linux-amd64 ../snetd
wget https://github.com/singnet/snet-daemon/releases/download/v0.1.3/snetd-0.1.3.tar.gz && \
tar -xvf snetd-0.1.3.tar.gz && \
mv linux-amd64/snetd ./snetd
RUN cd $SINGNET_REPOS && \
git clone https://github.com/singnet/nlp-services.git && \
cd $SINGNET_REPOS/nlp-services/sentiment-analysis && \
Expand Down
26 changes: 26 additions & 0 deletions sentiment-analysis/service_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": 1,
"display_name": "sentiment-analysis",
"encoding": "proto",
"service_type": "grpc",
"payment_expiration_threshold": 40320,
"model_ipfs_hash": "QmYqrUGVHB5iVpZsKtPJGvV1p1Jyf1EMm6fMWU76sE22C4",
"mpe_address": "0xdd4292864063d0DA1F294AC65D74d55a44F4766C",
"pricing": {
"price_model": "fixed_price",
"price_in_cogs": 0
},
"groups": [
{
"group_name": "default_group",
"group_id": "d14ZkQFwvEUS89bgpmcJ/+0b6Jkh35139ZEp1dChKT0=",
"payment_address": "0x4b4546ce47089925E5792E0a6d085BfB876cE621"
}
],
"endpoints": [
{
"group_name": "default_group",
"endpoint": "http://54.203.198.53:7010"
}
]
}

0 comments on commit adf4914

Please sign in to comment.