-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unuse and support render #2
Commits on Jan 3, 2024
-
chore: update dependencies and Go version
- Update the version of `actions/checkout` to v4 - Update the version of `actions/setup-go` to v4 - Change the Go version from 1.15 to 1.21.1 Signed-off-by: Evan Lin <evan.if.lin@linecorp.com>
Configuration menu - View commit details
-
Copy full SHA for be06cca - Browse repository at this point
Copy the full SHA be06ccaView commit details -
chore: remove GCS environment variables from app.json
- Remove the `GCS_PROJECT_ID` and `GCS_BUCKET_NAME` environment variables from `app.json` Signed-off-by: Evan Lin <evan.if.lin@linecorp.com>
Configuration menu - View commit details
-
Copy full SHA for c1c8c5b - Browse repository at this point
Copy the full SHA c1c8c5bView commit details -
refactor: refactor main.go to simplify code structure
- Delete file `gcs.go` - Modify file `main.go`: - Remove imports that are not needed - Modify the `callbackHandler` function by removing a nested if statement - Remove the `uploadAndDectect` function - Modify the `newVideoFlexMsg` function by removing several lines of code Signed-off-by: Evan Lin <evan.if.lin@linecorp.com>
Configuration menu - View commit details
-
Copy full SHA for d553ec4 - Browse repository at this point
Copy the full SHA d553ec4View commit details -
chore: add a new web service and environment variables
- Added a new file `render.yaml` - Added a `web` service named `linebot-gemini-pro` - Added environment variables for `ChannelAccessToken`, `ChannelSecret`, and `GOOGLE_GEMINI_API_KEY` - The file does not end with a newline character Signed-off-by: Evan Lin <evan.if.lin@linecorp.com>
Configuration menu - View commit details
-
Copy full SHA for 7a65894 - Browse repository at this point
Copy the full SHA 7a65894View commit details -
refactor: refactor variable assignments for improved readability
- Remove the unused variables `projectID` and `bucketName` - Move the assignment of `geminiKey` to the beginning of the `main` function to improve readability Signed-off-by: Evan Lin <evan.if.lin@linecorp.com>
Configuration menu - View commit details
-
Copy full SHA for a3b134a - Browse repository at this point
Copy the full SHA a3b134aView commit details -
chore: update dependencies and add new dependencies
- Update dependency `github.com/google/generative-ai-go` from version `0.4.0` to `0.5.0` - Update dependency `github.com/line/line-bot-sdk-go/v7` from version `7.15.0` to `7.21.0` - Update dependency `google.golang.org/api` from version `v0.149.0` to `v0.154.0` - Update dependency `cloud.google.com/go/compute` from version `v1.23.1` to `v1.23.3` - Update dependency `cloud.google.com/go/longrunning` from version `v0.5.2` to `v0.5.4` - Add new dependency `github.com/felixge/httpsnoop` at version `v1.0.4` - Add new dependency `github.com/go-logr/logr` at version `v1.3.0` - Add new dependency `github.com/go-logr/stdr` at version `v1.2.2` - Update dependency `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc` from version `v0.46.1` to `v0.46.1` - Update dependency `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from version `v0.46.1` to `v0. Signed-off-by: Evan Lin <evan.if.lin@linecorp.com>
Configuration menu - View commit details
-
Copy full SHA for 9be66bf - Browse repository at this point
Copy the full SHA 9be66bfView commit details -
feat: increase the amount of returned recordings and improve temperat…
…ure handling - Raise the amount of returned recordings from `10` to `100` - Add constants `ImageTemperture` and `ChatTemperture` - Move the `Temperature` assignment for `model` to use the new constants - Remove `model.Temperature = 0.8` - Add a new function `printResponse` for printing the response Signed-off-by: Evan Lin <evan.if.lin@linecorp.com>
Configuration menu - View commit details
-
Copy full SHA for a5cf1fe - Browse repository at this point
Copy the full SHA a5cf1feView commit details -
docs: refactor deployment process, fix typo, and update API key param…
…eter instruction - Remove the second step of the deployment process and provide two new options instead - Correct a typo in the image URL - Update the Google Gemini API Key parameter instruction Signed-off-by: Evan Lin <evan.if.lin@linecorp.com>
Configuration menu - View commit details
-
Copy full SHA for 2c7de7a - Browse repository at this point
Copy the full SHA 2c7de7aView commit details