Adds comment to call_ai_function.

This commit is contained in:
Torantulino
2023-04-02 09:56:53 +01:00
parent 0a290927a0
commit abdc7f447c

View File

@@ -3,6 +3,7 @@ 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.
def call_ai_function(function, args, description, model="gpt-4"):
# parse args to comma seperated string
args = ", ".join(args)