mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 22:14:28 +01:00
Adds comment to call_ai_function.
This commit is contained in:
@@ -3,6 +3,7 @@ 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.
|
||||||
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user