Automated changes

This commit is contained in:
Torantulino
2023-04-02 08:58:19 +00:00
parent abdc7f447c
commit 01b3ef2f66
2 changed files with 7 additions and 3 deletions

View File

@@ -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)

View File

@@ -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"