mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-18 21:55:08 +00:00
update readme
This commit is contained in:
@@ -1,23 +1,12 @@
|
|||||||
# Sentiment Service
|
# Sentiment Service
|
||||||
|
|
||||||
This is the Sentiment service
|
The sentiment service provides rudimentary sentiment analysis on text
|
||||||
|
|
||||||
Generated with
|
|
||||||
|
|
||||||
```
|
|
||||||
micro new sentiment
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Generate the proto code
|
|
||||||
|
|
||||||
```
|
```
|
||||||
make proto
|
$ micro sentiment analyze --text "This is great"
|
||||||
```
|
{
|
||||||
|
"score": 1
|
||||||
Run the service
|
}
|
||||||
|
|
||||||
```
|
|
||||||
micro run .
|
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user