Advertisement
Cabaca

Untitled

Aug 1st, 2024
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. tools = [get_web_results]
  2. functions = [format_tool_to_openai_function(f) for f in tools]
  3. model = ChatOpenAI(temperature=0).bind(functions=functions)
  4.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement