diff --git a/README.md b/README.md index 686db4b..11608e1 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ The table below shows the success rate of the AI functions with different GPT mo | Description | GPT-4 Result | GPT-3.5-turbo Result | Reason | |---------------------------|--------------|----------------------|--------| -| Generate fake people | PASSED | FAILED | Incorrect response format | +| Generate fake people | PASSED | PASSED | N/A | | Generate Random Password | PASSED | PASSED | N/A | | Calculate area of triangle| FAILED | FAILED | Incorrect float value (GPT-4), Incorrect response format (GPT-3.5-turbo) | | Calculate the nth prime number | PASSED | PASSED | N/A | diff --git a/test_ai_function.py b/test_ai_function.py index bb2e19d..e87cf8c 100644 --- a/test_ai_function.py +++ b/test_ai_function.py @@ -45,7 +45,7 @@ def run_tests(model): def test_1(model): function_string = "def fake_people(n: int) -> list[dict]:" args = ["4"] - description_string = """Generates n examples of fake data representing people, + description_string = """Generates n examples of fake data representing people in valid JSON format using double quotes not single quotes, each with a name and an age.""" result_string = ai_functions.ai_function(function_string, args, description_string, model)