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

FEATURE: Additional suggestion options #176

Merged
merged 11 commits into from Sep 2, 2023
Merged

Conversation

xfalcox
Copy link
Member

@xfalcox xfalcox commented Aug 30, 2023

This PR adds 3 new endpoints, suggest_title, suggest_category and suggest_tags.

While the first one is just a shortcut to the existing suggest endpoint where you can omit the prompt id to simplify our front-end logic, the other two ones are brand new. They aren't powered by LLMs but by our existing embeddings. The ordering logic needs some testing and simplification, but it's a start.

This PR also adds the front-end implementation for suggesting categories and tags along with improving the previously added implementation for suggesting titles (#171).

Preview

Category Suggestion

Screen.Recording.2023-09-01.at.11.11.42.mov

Tag Suggestion

Screen.Recording.2023-09-01.at.17.03.21.mov

@keegangeorge keegangeorge changed the title FEATURE: Add suggest title/category/tags backend to AiHelper FEATURE: Additional suggestion options Sep 1, 2023
@keegangeorge keegangeorge marked this pull request as ready for review September 1, 2023 21:15
@keegangeorge keegangeorge merged commit 43e485c into main Sep 2, 2023
4 checks passed
@keegangeorge keegangeorge deleted the suggest-ALL-the-things branch September 2, 2023 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants