-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from Encamina/@mramos/update-skVisionImageDoc…
…umentConnector Add resolution limit to `SkVisionImageDocumentConnector`
- Loading branch information
Showing
7 changed files
with
72 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
14 changes: 14 additions & 0 deletions
14
...archa.SemanticKernel.Connectors.Document/Options/SkVisionImageDocumentConnectorOptions.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Encamina.Enmarcha.SemanticKernel.Connectors.Document.Connectors; | ||
|
||
namespace Encamina.Enmarcha.SemanticKernel.Connectors.Document.Options; | ||
|
||
/// <summary> | ||
/// Configuration options for <see cref="SkVisionImageDocumentConnector"/>. | ||
/// </summary> | ||
public sealed class SkVisionImageDocumentConnectorOptions | ||
{ | ||
/// <summary> | ||
/// Gets the resolution limit (in pixels) for images. | ||
/// </summary> | ||
public int ResolutionLimit { get; init; } = 8192; | ||
} |
This file contains 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