MCPcopy Create free account
hub / github.com/OpenBMB/ToolBench / chatgpt_function_model.py

File chatgpt_function_model.py

toolbench/inference/LLM/chatgpt_function_model.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import json
2import openai
3from tenacity import retry, wait_random_exponential, stop_after_attempt
4from termcolor import colored

Callers

nothing calls this directly

Calls 3

ChatGPTFunctionClass · 0.85
change_messagesMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected