Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tools = [get_web_results]
- functions = [format_tool_to_openai_function(f) for f in tools]
- model = ChatOpenAI(temperature=0).bind(functions=functions)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement