Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add model based hybrid search optimizer #140

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

wrigleyDan
Copy link

  • add model
  • add API endpoint that accepts a query, and returns the best neural search weight based on max prediction
  • add necessary things to requirements, API, Dockerfile ...

@wrigleyDan wrigleyDan marked this pull request as draft December 11, 2024 11:04
@wrigleyDan
Copy link
Author

The API works technically, so you can call the new endpoint in the following way:

curl "http://localhost:9090/get_neuralness?query=iphone%20case"

And in return you receive the best neural search weight the following way:

{
  "best_neuralness": 0.7000000000000001
}

ToDo:
Wire the endpoint up with the actual query: predict neural weight, and also use it in the query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant