Skip to content

Instantly share code, notes, and snippets.

@pydemo
Created July 21, 2024 23:11
Show Gist options
  • Select an option

  • Save pydemo/257812a7465d8169f26b2c4d61e94098 to your computer and use it in GitHub Desktop.

Select an option

Save pydemo/257812a7465d8169f26b2c4d61e94098 to your computer and use it in GitHub Desktop.
Step ID Step Description Model Involvement
1 Model creates JSON Stub Ask model for a JSON stub specifying the function and its parameters. Model generates stub
2 Execute Function Call the function using the parameters defined in the JSON stub. No model involvement
3 Create new JSON stub with Results Create the JSON stub with the results returned from the function. No model involvement
4 Model answers User Question Use new stub to formulate and deliver the answer to the user’s question. Model processes stub and generates response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment