Skip to content

Commit

Permalink
Adds comment to call_ai_function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Torantulino committed Apr 2, 2023
1 parent 0a29092 commit abdc7f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/ai_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
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)
Expand Down

0 comments on commit abdc7f4

Please sign in to comment.