There is an other variable, as the json list will return some strange domain names. I can understand that the small (maybe pre-trained) model could provide “broken” urls (linter). The prompt is maybe a source of “orientation/direction”, which will “format” the answer. There is still a lot of differences between an “API session” like with the WebSearch gramplet and a “Web access” like with Mistral Web interfaces (ie. my comments on your PR on github) . Maybe model versions are not the same? Anyway, with or without an update, I just see minor differences (eg., around FamilySearch and Ancestry sub-domains in UK or Europe). So, it seems that the cooking recipe is still hidden by Mistral AI, at least on free API key (token status?).
The strange feeling might be related to the “temperature” set for the model. Current return is giving the impression that the proposal has been generated by OpenAI! So, for me, it seems a little bit too strict.
I know that “Experimental Plan” is for experimentations, but I used agents for setting one tested model. So, like into WebSearch gramplet.
The query via the API knows that my preferred language is french (according to csv order into the list), but maybe it supposes that I am in Canada or that I am a Franco-Belgo-Canadian!!!
The UID links are misbehaving. The URLs are not substituting in the actual IDs, instead they are appending %(FamilySearch.personID)s (and I’m not sure why the version number are SO much different between the 5.2 branch at 0.58.41 and the 6.0 branch at 0.43.28 )
I’ve requested two PRs several days ago. One of them is already approved and another one isn’t yet.
One question before I will try to repro the issue: do you use json-file in your custom directory? I made renaming of variables to keys. Maybe your file still has “variables”?
You asked make this replacing in the column. I did it in the new release. But it also means I need sync naming in README and in all other files to avoid confusing users
Some additional information.
I changed the way I replace keys in url-templates. Now the replacement in the code works through regular expressions. For users, everything remains the same. But using regular expressions allows us to simplify templates. We all can move to templates like {birth_year} instead of %(birth_year)s. If you are interested, let me know and I will make the changes and we will simplify it in the templates.
There was not a 5.2 branch update in your repository (and the 0.58.41 version available from the Addon Manager still has the problem.) So I downloaded 0.58.40 from the 6.0 branch and tweaked the target version from 6.0 to 5.2
And yes, that allowed WebSearch to work again. (Despite the version being indicating it being one revision earlier.)
By the way, for the FindAGrave in the us-links.csv, can there be a gender addition? The Surname for women is typically a maiden name. But the “Last name(s)” entered on FindAGrave is typically their final spouse’s surname. The maiden name is infrequently entered in their system. But the following will increase the matches. (But it would decrease accuracy to apply this option to searches for male names.) : &includeMaidenName=true
from us-links.csv
People,Find A Grave,1,https://www.findagrave.com/cgi-bin/fg.cgi?page=gsr&GSfn=%(given)s&GSmn=%(middle)s&GSln=%(surname)s&GSby=%(birth_year)s&GSbyrel=in&GSdy=%(death_year)s&GSdyrel=in&GScntry=0&GSst=0&GSgrid=&df=all&GSob=b,
Could you check pls the final url, is it what you are expecting?
People,Find A Grave,1,https://www.findagrave.com/cgi-bin/fg.cgi?page=gsr&GSfn=%(given)s&GSmn=%(middle)s&GSln=%(surname)s&GSby=%(birth_year)s&GSbyrel=in&GSdy=%(death_year)s&GSdyrel=in&GScntry=0&GSst=0&GSgrid=&df=all&GSob=b&includeMaidenName=true