Skip to content

Conversation

@fboucher
Copy link
Owner

@fboucher fboucher commented Dec 10, 2025

Improves the AI-powered research suggestions feature by:

  • Enabling structured AI research responses using the Reka SDK
  • Adding a search page and suggestion list component to the Blazor application
  • Consuming the Reka SDK for research suggestions

This pull request also refactors the codebase by:

  • Moving project files to the src folder
  • Updating Aspire packages to v13
  • Configuring the research suggestions endpoint

fixes #72

Updates various package versions across multiple projects.

This ensures the application uses the latest features,
security patches, and bug fixes provided by the updated
dependencies.
Implements a search page with filtering based on search prompt, allowed domains, and blocked domains.

Introduces a suggestion list component to display filtered URLs with actions such as opening the URL, editing the note, and creating a note for the post.
It does nothing but it's there

Adds search functionality to the navigation menu.

Implements the ability to delete suggestions and displays
success/error messages upon completion.
Adds an AI service to provide research suggestions
based on a user-defined topic.

Integrates the AI service into the search page,
allowing users to fetch suggestions using the Reka AI API.

Displays the loading state during the search, and handles errors gracefully with toast notifications.
Moves project files to the src folder to align with standard project structure.
Updates Dockerfile paths, Azure config, and build scripts to reflect the new structure.
Also removes obsolete test file.
Removes the solution file.
The project is now managed by a different build system.
Configures the AI service to return research results in a structured JSON format.

This allows for easier parsing and utilization of the AI-generated suggestions by defining a JSON schema and modifies the query to exclude explicit instructions about credible sources, since that is now managed by the research tool configuration.

Also, introduces domain filtering (allowed/blocked domains) for web searches to refine research scope.
Enhances the AI research suggestion feature by improving error handling, logging, and data persistence for debugging.

Updates the Reka API base URL and simplifies the query construction. Moves domain models to a shared project.

Fixes: #72
Updates the research service to fetch blog posts about a topic
and configures the http client with resilience policies.
Refactors the research service to use the Reka SDK for fetching blog post suggestions.
Changes the return type of SearchSuggestionsAsync to PostSuggestions DTO.
Adapts the Blazor UI to consume the new PostSuggestions data structure and display
the blog post suggestions in the SuggestionList component.

Fixes #72
Updates Aspire packages to version 13.0.2 in the API and AppHost projects.

This upgrade brings in the latest features, performance improvements, and bug fixes provided by the Aspire framework.
The .gitignore file is updated to correctly ignore development settings files.

Fixes #72
Adds the PostSuggestion domain model to represent search suggestions.
Modifies the AI service to format the publication date.
Updates the Search and SuggestionList components to handle and display search suggestions, allowing users to add them as notes.
Fixes a bug related to IQueryable and replace to List collection.
@github-actions
Copy link

Code Coverage

Package Line Rate Branch Rate Health
NoteBookmark.Domain 51% 20%
NoteBookmark.Api 88% 69%
NoteBookmark.ServiceDefaults 96% 75%
NoteBookmark.Domain 51% 20%
NoteBookmark.Api 88% 69%
NoteBookmark.ServiceDefaults 96% 75%
Summary 78% (972 / 1246) 60% (184 / 308)

@fboucher fboucher merged commit f027c1d into v-next Dec 10, 2025
2 checks passed
@fboucher fboucher deleted the 72-ai-read-suggestions branch December 12, 2025 21:01
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