Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tommylees112 committed Sep 13, 2024
1 parent 7ac3e2b commit 14596c5
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,17 @@ Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is open source and available under the [MIT License](LICENSE).
This project is open source and available under the [MIT License](LICENSE).

## CLI Option
Hit the api using curl
```bash
function llm() {
local url=$1
curl -s -X 'POST' \
'<GCLOUD URL>/summarize' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d "{\"url\": \"$url\"}" | jq -r ".summary" | bat
}
```

0 comments on commit 14596c5

Please sign in to comment.