mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 14:34:23 +01:00
Automated changes
This commit is contained in:
@@ -3,7 +3,8 @@ import json
|
|||||||
import openai
|
import openai
|
||||||
|
|
||||||
|
|
||||||
# This is a magic function that can do anything with no-code. See https://github.com/Torantulino/AI-Functions for more info.
|
# This is a magic function that can do anything with no-code. See
|
||||||
|
# https://github.com/Torantulino/AI-Functions for more info.
|
||||||
def call_ai_function(function, args, description, model="gpt-4"):
|
def call_ai_function(function, args, description, model="gpt-4"):
|
||||||
# parse args to comma seperated string
|
# parse args to comma seperated string
|
||||||
args = ", ".join(args)
|
args = ", ".join(args)
|
||||||
|
|||||||
@@ -1,2 +1,5 @@
|
|||||||
OPENAI_API_KEY="YOUR-OPENAI-KEY" # Get yours from: https://beta.openai.com/account/api-keys
|
# Get yours from: https://beta.openai.com/account/api-keys
|
||||||
ELEVENLABS_API_KEY="YOUR-ELEVENLABS-KEY" # To access your ElevenLabs API key, head to https://elevenlabs.io, you can view your xi-api-key using the 'Profile' tab on the website.
|
OPENAI_API_KEY = "YOUR-OPENAI-KEY"
|
||||||
|
# To access your ElevenLabs API key, head to https://elevenlabs.io, you
|
||||||
|
# can view your xi-api-key using the 'Profile' tab on the website.
|
||||||
|
ELEVENLABS_API_KEY = "YOUR-ELEVENLABS-KEY"
|
||||||
|
|||||||
Reference in New Issue
Block a user