Comments (12)
Thanks for reaching out. As @Ompanime mentioned above in his excellent answer, $boost
is a shortcut for $boost=2 (in most Goggles, only one value of boosting is used, and being able to use
$boost` makes the instructions simpler).
Regarding the ranking of results with multiple values of boost
, yes, a higher boost should make your result appear higher (i.e. $boost=3
gives a result more importance than $boost=2
).
I hope this helps,
I'm closing this since questions have been answered but feel free to reopen if anything is missing,
from goggles-quickstart.
My apologies if I've missed it in the docs, but does ranking something with a higher number give it more importance? It's not clear how
$boost=3
interacts with$boost=1
? Will$boost=3
items show up above$boost=1
items?
Hey @dpbriggs, the short answer is yes! In section 5 (Language for Goggles) of the whitepaper it reads:
We leverage this syntax to add ways to further fine-tune the behaviour of Goggles;
either to specify which features of a result candidate should be considered
(i.e. target), or how the ranking should be affected (i.e. action).
For example:
β’ $boost=XXβis used to alter the ranking of specific results
by XX (e.g. $boost=1 would not alter the ranking, while
$boost=2 would make a result two times more important).
If you'd like to see this for yourself, the whitepaper is here: https://brave.com/static-assets/files/goggles.pdf
Hope this helps!
from goggles-quickstart.
Furthermore, in this context, it would be interesting to know if a
$boost
without an explicit defined strength is equal to$boost=1
or$boost=2
?
Hey @devidw, I can't speak for the developers, and I can't find an answer in any of the documentation that I've read. But given my prior comment, knowing that $boost=1
would not alter the ranking of a target, it would make sense to me that $boost
(without an explicitly defined strength following it) by default would at least alter the ranking of the specified target by a maximum of 1 (i.e. $boost=2
) to ensure the command carries out its specific intent.
Sorry if that explanation sounds complicated. If it makes it easier to understand, that Goggle you referenced was created by the Brave team, so I believe the $boost
action (without an explicitly defined strength following it) was intended to equal $boost=2
!
Hope this helps!
from goggles-quickstart.
Many thanks for the understandable explanation @Ompanime π
from goggles-quickstart.
It feels a little like quantum theory, that the existence of a non changing instruction could result in some changes because of its existence rather than what it is saying
I do not fully understand this tbh
But I guess this does not matter in practice that much
Because when we do not want to alter a result, we should not put it into the goggle instead of setting it with some crazy =1
values
from goggles-quickstart.
Over time, it would be quite amazing to have a community forming around creating Goggles but also tooling. I could see how a linter tool could help creators use Goggle instructions well and avoid some of the possible traps you have already identified.
from goggles-quickstart.
Just made a first step into tooling by releasing the first beta version of Gearchy.
A web application that provides a graphical interactive goggle builder to create and edit goggles.
Under the hood, there is a tiny TS library Goggledy, which provides a basic API to parse and generate goggle code.
from goggles-quickstart.
I was wondering if it would be possible to have a way to access some of the features of this tool without having to provide a GitHub authorization token, though?
Currently, Gearchy only integrates with GitHub as storage/hosting solution.
But I could definitely imagine extending the application design to also support storing goggles locally with something like IndexedDB.
Will track this in devidw/gearchy#37 π
from goggles-quickstart.
Furthermore, in this context, it would be interesting to know if a $boost
without an explicit defined strength is equal to $boost=1
or $boost=2
?
Here it says it's 2
, is this correct?
from goggles-quickstart.
knowing that $boost=1 would not alter the ranking of a target
Taking this into aspect, does this mean, that $boost=1
and $downrank=1
are equally, since in both cases a value of 1
does not change the ranking?
from goggles-quickstart.
Yes that's correct, it should be the same, but keep in mind that in practice, adding instructions with boost=1
or downrank=1
might still alter the search results you get since Brave Search will "extend" the set of results considered by taking into account your Goggle.
from goggles-quickstart.
This is great @devidw! I was wondering if it would be possible to have a way to access some of the features of this tool without having to provide a GitHub authorization token, though? It might make it more accessible to try out, and then the uploading to GitHub and such could be "unlocked" if a token is provided?
from goggles-quickstart.
Related Issues (20)
- "How do I use Goggles?" links to old brave-experiments location HOT 2
- Behavior of default option values: `inurl` HOT 5
- `version` identifier as metadata field HOT 2
- No warnings for invalid syntax submissions HOT 5
- Support Gitea instances HOT 3
- Any way to boost individual youtube channels? HOT 2
- { HOT 1
- G
- Cannot add separate files from the same GitLab snippet HOT 4
- Quick scan
- Real number boost amounts HOT 1
- Limits to boost amount HOT 1
- Brave
- "There was an error processing your Goggle" HOT 5
- Is there a generic `downrank` (like the generic `discard`)? HOT 3
- New sites to filter from copycats_removal.goggle HOT 1
- Feature Request: Personal Goggle HOT 2
- Is this a mistake, or syntax that I don't get?
- Is there no wildcard for something like this? HOT 1
- Resubmitting not updating goggle HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goggles-quickstart.