6 models returning JSON as per ARCHITECTURE function_calls schema

This commit is contained in:
Nicholas Albion
2023-09-23 14:52:57 +10:00
parent 18aec507e8
commit f4789538a3
4 changed files with 11 additions and 23 deletions

View File

@@ -28,7 +28,7 @@ def return_array_from_prompt(name_plural, name_singular, return_var_name):
"properties": {
f"{return_var_name}": {
"type": "array",
"description": f"List of {name_plural} that are created in a list.",
"description": f"List of {name_plural}.",
"items": {
"type": "string",
"description": f"{name_singular}"