Skip to content

Add OpenAI functions support #33

Description

@uripeled2

You can see here the openai-cookbook for using functions with openai-python.
The biggest problem for adding support for it in OpenAIClient through chat_completion is that openai functions return an object containing the name of the function and the arguments and not just a string like in regular chat.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions