Conversation
…PI converters - Introduced `ConverterCatalog` for fetching and parsing ConvertAPI's OpenAPI spec. - Added `IConverterCatalog` interface for defining catalog operations. - Implemented model classes for working with converters and tags. - Created a `ConverterCatalogDemo` project demonstrating usage of the new service. - Updated the solution to include the demo project. #66
Update the SearchConverters() method #68
Delete the in-SDK scorer (~190 lines: token weighting, format-pair bonuses, virtual converter synthesis, dead Matches helper). Replace with a single SearchConvertersAsync that hits the server endpoint and parses the response with the existing ParseConverters. API surface: - New: SearchConvertersAsync(string query) — async canonical - New: SearchConverters(string query) — sync overload - Kept: SearchConverters(string[] terms) — joins with spaces Behavior: - Empty/whitespace input short-circuits, returns empty list, no network call. - Server orders paths by x-ca-search-rank, so document order is relevance order — caller gets best-match-first for free. - Hard cutover, no local fallback. Older self-hosted CARA servers without the ?q= filter will throw InvalidOperationException with a clear message. Smoke-tested against staging: - "pdf to docx" → 7 results, pdf→docx rank 1 - "pdf to word" → 7 results, pdf→docx rank 1 (was rank 4 with old local scorer due to substring bug matching "word" inside "password") - "heic to pdf" → 4 results, heic→pdf rank 1 CHANGELOG entry under 3.1.15-dev (current development cycle).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OpenAPI schema parser fixed, old Converter discovery method deprecated