Skip to content

Instantly share code, notes, and snippets.

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
Step ID Step Description Model Involvement
1 Get 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 Answer User Question Use new stub to formulate and deliver the answer to the user’s question. Model processes stub and generates response
Step ID Step Description Model Involvement
1 Generate JSON Stub Create 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 Answer User Question Use new stub to formulate and deliver the answer to the user’s question. Model processes stub and generates response
Step ID Step Description Model Involvement
1 Generate JSON Stub Create 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 Enrich Stub with Results Update the JSON stub with the results returned from the function. No model involvement
4 Answer User Question Use the enriched stub to formulate and deliver the answer to the user’s question. Model processes stub and generates response
Step ID Step Description Model Involvement
1 Generate JSON Stub Create 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 Enrich Stub with Results Update the JSON stub with the results returned from the function. **No model involvement
**
4 Answer User Question Use the enriched stub to formulate and deliver the answer to the user’s question. Model processes stub and generates response
Step ID Step Description Model Involvement
1 Generate JSON Stub Create 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 Enrich Stub with Results Update the JSON stub with the results returned from the function. **No model involvement
**
4 Answer User Question Use the enriched stub to formulate and deliver the answer to the user’s question. Model processes stub and generates response
Step ID Step Description Model Involvement
1 Generate JSON Stub Create 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 | Enrich Stub with Results | Update the JSON stub with the results returned from the function. | No model involvement | | 4 | Answer User Question | Use the enriched stub to formulate and deliver the answer to the user’s question. | Model processes stub and generates response |

Step ID Step Description Model Involvement
1 Generate JSON Stub Create 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 Enrich Stub with Results Update the JSON stub with the results returned from the function. **No model involvement **
4 Answer User Question Use the enriched stub to formulate and deliver the answer to the user’s question. Model processes stub and generates response
Step ID Step Description Model Involvement
1 Generate JSON Stub Create 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 Enrich Stub with Results Update the JSON stub with the results returned from the function. No model involvement
4 Answer User Question Use the enriched stub to formulate and deliver the answer to the user’s question. Model processes stub and generates response
Step ID Step Description Model Involvement
1 Generate JSON Stub Create 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 Enrich Stub with Results Update the JSON stub with the results returned from the function. No model involvement
4 Answer User Question Use the enriched stub to formulate and deliver the answer to the user’s question. Model processes stub and generates response