The web-scraping function description says "url": while the examples below say "uri":
Function name: web-scraping
Function Description: Scrapes the content of a webpage or online resource from a provided URL.
Function parameters in JSON format:
{
\"url\": {
\"type\": \"string\",
\"format\": \"uri\",
\"description\": \"A complete web address URL including protocol. Assumes https if not provided.\"
}
}
Query: \"What is useanything.com about?\"
JSON: {\"uri\":\"https://useanything.com\"}
Query: \"Scrape https://example.com\"
JSON: {\"uri\":\"https://example.com\"}
When a model follows the example using uri the call is invalid Invalid function tool call: Invalid argument schema match
When a model follows the parameter definition using url (with an L) the call is valid Valid tool call found - running web-scraping.
How are you running AnythingLLM?
Docker (local)
What happened?
The web-scraping function description says "url": while the examples below say "uri":
When a model follows the example using
uri
the call is invalidInvalid function tool call: Invalid argument schema match
When a model follows the parameter definition usingurl
(with an L) the call is validValid tool call found - running web-scraping.