Skip to content

Required parameters for function calling - asking user for missing information #9852

Discussion options

You must be logged in to vote

@deepinderdeol
One thing you can try is:

  1. Don't advertise the parameters to the LLM is the user is supposed to provide them. Take a look at this sample TransformPlugin.cs which is not exactly what you need but does should how to remove parameters from a function.
  2. Then use manual function calling where you handle the function call and as part of your handling you prompt the user. Take a look at the samples here FunctionCalling.cs

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sophialagerkranspandey
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants