mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
update readme
This commit is contained in:
@@ -1,23 +1,12 @@
|
||||
# Sentiment Service
|
||||
|
||||
This is the Sentiment service
|
||||
|
||||
Generated with
|
||||
|
||||
```
|
||||
micro new sentiment
|
||||
```
|
||||
The sentiment service provides rudimentary sentiment analysis on text
|
||||
|
||||
## 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