Azure / Azure/azure-rest-api-specs

please implement the function_call feature similar to openAI

Open
#24,835 2 comments 0 reactions 0 assignees View on GitHub
customer-reported question
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

function_call
Controls how the model responds to function calls. "none" means the model does not call a function, and responds to the end-user. "auto" means the model can pick between an end-user or calling a function. Specifying a particular function via {"name":\ "my_function"} forces the model to call that function. "none" is the default when no functions are present. "auto" is the default if functions are present.
[https://platform.openai.com/docs/api-reference/chat/create](https://platform.openai.com/docs/api-reference/chat/create)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the repository's relevant REST API specification and the linked OpenAI Chat Create API reference. Determine which API definition should expose function_call and how its none, auto, and named-function behavior is represented. Done means the specification clearly supports the requested option and its defaults, with appropriate validation or examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.