Skip to content

docs(README): add documentation for file-based input methods to enhan… #28

docs(README): add documentation for file-based input methods to enhan…

docs(README): add documentation for file-based input methods to enhan… #28

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: ./
id: aixion
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.aixion.outputs.text }}"
echo "Usage: ${{ steps.aixion.outputs.usage }}"
echo "Finish Reason: ${{ steps.aixion.outputs.finishReason }}"