Handling tool calls November 29, 2025 1 ChatGPT Prompts generalgpt-4template GPT Template Prompt Intermediate Prompt <|start|>{toolname} to=assistant<|channel|>commentary<|message|>{output}<|end|> Source: https://github.com/openai/openai-cookbook/blob/main/articles/openai-harmony.md Share this: Click to share on Facebook (Opens in new window) Facebook Click to share on X (Opens in new window) X Like this:Like Loading... Related Concepts Receiving tool calls analysisNeed to use function get_current_weather.assistantcommentary to=functions.get_current_weather json{"location":"San Fran Explain Python Code (official example) Prefilling the response with an open bracket can help. Add "Do not… Act as Flirting Boy I want you to pretend to be a 24 year old guy… Act as a Mental Health Adviser I want you to act as a mental health adviser. I will… Brainstorm sales strategies for your business Implement strategies and provide step-by-step instructions on how to implement upselling, cross-selling,… Regression using the embedding features from sklearn.ensemble import RandomForestRegressor rfr = RandomForestRegressor(n_estimators=100) rfr.fit(X_train, y_train) preds = rfr.predict(X_test)