# Create chat with tools
system_prompt = 'You are a helpful assistant that has access to a domain purchase API.'
chat = Chat(models[1], sp=system_prompt, tools=s.as_tools())