https://github.com/wintermi/get-media-recommendations
A command line application designed to provide a simple method to request recommendations from a Google Cloud Discovery Engine API model for the parameters contained within the input file.
https://github.com/wintermi/get-media-recommendations
google-cloud google-cloud-platform
Last synced: about 1 year ago
JSON representation
A command line application designed to provide a simple method to request recommendations from a Google Cloud Discovery Engine API model for the parameters contained within the input file.
- Host: GitHub
- URL: https://github.com/wintermi/get-media-recommendations
- Owner: wintermi
- License: apache-2.0
- Created: 2023-02-04T15:12:00.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-13T12:43:49.000Z (over 1 year ago)
- Last Synced: 2025-02-16T04:36:00.528Z (about 1 year ago)
- Topics: google-cloud, google-cloud-platform
- Language: Go
- Homepage:
- Size: 225 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Get Media API Recommendations
[](https://github.com/wintermi/get-media-recommendations/actions)
[](https://goreportcard.com/report/github.com/wintermi/get-media-recommendations)
[](https://github.com/wintermi/get-media-recommendations/blob/main/LICENSE)
[](https://github.com/wintermi/get-media-recommendations/releases)
## Description
A command line application designed to provide a simple method to request recommendations from a Google Cloud Discovery Engine API model for the parameters contained within the input file.
```
USAGE:
get-media-recommendations -p PROJECT_NUMBER -s SERVING_CONFIG -i INPUT_FILE
ARGS:
-b string
Branch (default "0")
-d string
Data Store (default "default_data_store")
-f string
Filter String
-i string
Parameter Input File (Required)
-l string
Location (default "global")
-n int
Number of Results, 1 to 100 (default 5)
-p string
Project Number (Required)
-s string
Serving Config (Required)
-v Output Verbose Detail
```
## Example Parameter Input File
```
[
{
"eventType": "view-item",
"userPseudoId": "1",
"documents": [
{
"id": "0598"
}
]
},
{
"eventType": "view-item",
"userPseudoId": "2",
"documents": [
{
"id": "0986"
}
]
}
]
```
## License
**get-media-recommendations** is released under the [Apache License 2.0](https://github.com/wintermi/get-media-recommendations/blob/main/LICENSE) unless explicitly mentioned in the file header.