Giter Site home page Giter Site logo

Comments (12)

remusao avatar remusao commented on September 14, 2024 2

Hi @devidw and @dpbriggs,

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.

Ompanime avatar Ompanime commented on September 14, 2024 1

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.

Ompanime avatar Ompanime commented on September 14, 2024 1

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.

devidw avatar devidw commented on September 14, 2024 1

Many thanks for the understandable explanation @Ompanime πŸ™Œ

from goggles-quickstart.

devidw avatar devidw commented on September 14, 2024 1

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.

remusao avatar remusao commented on September 14, 2024 1

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.

devidw avatar devidw commented on September 14, 2024 1

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.

devidw avatar devidw commented on September 14, 2024 1

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.

devidw avatar devidw commented on September 14, 2024

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?

Screenshot 2022-08-17 at 08 00 39

from goggles-quickstart.

devidw avatar devidw commented on September 14, 2024

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.

remusao avatar remusao commented on September 14, 2024

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.

remusao avatar remusao commented on September 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.