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
# 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"):
# parse args to comma seperated string
args = ", ".join(args)