Skip to content

chore(package.json): add author, repository, keywords, license, homep… #6

chore(package.json): add author, repository, keywords, license, homep…

chore(package.json): add author, repository, keywords, license, homep… #6

Workflow file for this run

name: Basic Prompt
on:
push:
branches:
- main
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generate AI Text
uses: ./
with:
config: >
{
"provider": "openai",
"provider_options": {
"api_key": "${{ secrets.OPENAI_API_KEY }}"
},
"prompt": "What is the capital of France?",
"model": "gpt-4"
}
- name: Output
run: |
echo "Text: ${{ steps.ai.outputs.text }}"
echo "Usage: ${{ steps.ai.outputs.usage }}"
echo "Finish Reason: ${{ steps.ai.outputs.finishReason }}"