-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0c3f34
commit cc0b1cb
Showing
2 changed files
with
4 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,2 @@ | ||
## GeminiAction: Automate Tasks with Google AI's Gemini Language Model | ||
|
||
**Introduction** | ||
|
||
GeminiAction is an open-source library that empowers you to streamline tasks within your GitHub Actions workflows by leveraging Google AI's powerful Gemini language model. This library offers a straightforward API to unlock Gemini's capabilities, including: | ||
|
||
* Text Generation | ||
* Language Translation | ||
* Text Summarization | ||
* Question Answering | ||
|
||
**Benefits** | ||
|
||
* Automate repetitive, time-consuming tasks. | ||
* Enhance the efficiency and productivity of your workflows. | ||
* Harness the expertise of an advanced language model for high-quality results. | ||
|
||
**Installation** | ||
|
||
1. Install the GeminiAction library using npm: | ||
|
||
```yml | ||
- name: Gemini Github Action | ||
uses: iletai/[email protected] | ||
|
||
2. Use: | ||
|
||
```yml | ||
name: My workflow | ||
on: push | ||
jobs: | ||
my-job: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: iletai/GeminiAction@v2 | ||
with: | ||
gemini-api-key: ${{ secrets.GEMINI_API_KEY }} | ||
- name: Add comment | ||
uses: actions/github-script@v4 | ||
with: | ||
script: | | ||
const summary = process.env.SUMMARY; | ||
github.issues.createComment({ | ||
issue_number: ${{ github.event.issue.number }}, | ||
body: summary, | ||
}); | ||
# Page | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Table of contents | ||
|
||
* [Page](README.md) |