Hi Guys,
I’m trying to figure the correct request where the AI call external URL for information ?
But no luck on this one ?
>
{ tools := []*genai.Tool{ FunctionDeclarations: []*genai.FunctionDeclaration{ { Name: "room_service", Description: "Used to determine how many available rooms associated to category fetch from https://hook.eu1.make.com/4iw4ste3dp4g334xoqwjgoh7xuv9735u", Parameters: &genai.Schema{ Type: genai.TypeObject, Properties: map[string]*genai.Schema{ "category": { Type: genai.TypeString, Description: "The room category to check availability", Enum: []string{"standard", "deluxe", "suite"}, }, }, Required: []string{"category"}, }, }, }, },}
where to define the URL ?