Run prettier on all files in core-http#5445
Merged
Merged
Conversation
daviwil
approved these changes
Oct 8, 2019
Contributor
daviwil
left a comment
There was a problem hiding this comment.
Looks good! I had avoided using a formatter on the code for a while so it'd be easier to migrate changes between this and ms-rest-js, but I think it's safe to go ahead now!
| value = value instanceof Date ? value.toUTCString() : new Date(value).toUTCString(); | ||
| } else if (typeName.match(/^UnixTime$/gi) !== null) { | ||
| if ( | ||
| !( |
aditishree1
pushed a commit
that referenced
this pull request
Apr 6, 2026
Implements the Semantic Rerank feature (ported from .NET SDK PR #5445) that enables users to rerank documents using the Cosmos DB Inference Service for semantic relevance scoring. New features: - Container.semanticRerank() public method for reranking documents - InferenceService internal class managing HTTP calls to inference endpoint - SemanticRerankResult, RerankScore, and SemanticRerankOptions types - inferenceEndpoint option in CosmosClientOptions - Separate AAD-authenticated pipeline with inference scope The inference service uses a dedicated HTTP pipeline with its own AAD scope (https://dbinference.azure.com/.default) and does not share the main SDK request pipeline or retry policies. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Every time we make any changes to core-http, we have a series of changes unrelated to the feature/bug-fix and more around formatting.
This PR runs prettier on all files in core-http to avoid such occurrences in the future
Note to reviewer: