Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
json
2
import
openai
3
from
tenacity
import
retry, wait_random_exponential, stop_after_attempt
4
from
termcolor
import
colored
Callers
nothing calls this directly
Calls
3
ChatGPTFunction
Class · 0.85
change_messages
Method · 0.45
parse
Method · 0.45
Tested by
no test coverage detected