import talk_box as tb
bot = tb.ChatBot().model("gpt-4").temperature(0.2)
config = bot.get_config()
print(config["model"], config["temperature"])gpt-4 0.2
Return a copy of the full chatbot configuration dictionary.
Usage
The returned dictionary includes all settings applied through the fluent API (model, temperature, persona, tools, etc.). Because it is a shallow copy, mutations do not affect the chatbot’s internal state.
dict[str, Any]"model", "temperature", "persona", "tools", "verbose", and others.