Skip to content

Official Documentation Example for Function Calling Does Not Work Post Major Update #691

Closed
@rafgonlop1

Description

@rafgonlop1

Issue Description

Following the recent major update to the OpenAI library, the function calling example provided in the official documentation no longer works.

Steps to Reproduce

  1. Visit the official OpenAI documentation on function calling with Chat models here.
  2. Attempt to run the provided example.

Expected Behavior

The function calling example should execute without errors, demonstrating how to utilize the feature with the latest library version.

Actual Behavior

When attempting to run the function calling example from the official documentation, the following error occurs: [insert error message]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions