Skip to content

Commit

Permalink
GitBook: No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
iletai authored and gitbook-bot committed Apr 8, 2024
1 parent c0c3f34 commit cc0b1cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 52 deletions.
53 changes: 1 addition & 52 deletions README.md
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

3 changes: 3 additions & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Table of contents

* [Page](README.md)

0 comments on commit cc0b1cb

Please sign in to comment.