Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 95e7d5e

Browse files
authored
Update README.md
1 parent 05f1dc6 commit 95e7d5e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<!-- default badges end -->
66
# Office File API – Integrate AI to Generate Accessible Descriptions
77

8-
The following project integrates AI capabilities into a DevExpress-powered Office File API Web API application. OpenAI API is used to generate descriptions for imagesin Microsoft Word files and for Excel charts.
8+
The following project integrates AI capabilities into a DevExpress-powered Office File API Web API application. OpenAI API is used to generate descriptions for images, charts and hyperlinks in Microsoft Word and Excel files.
99

1010
> [!note]
1111
> Before you incorporate this solution in your app, please be sure to read and understand OpenAI's license agreement and terms of use.
@@ -14,14 +14,15 @@ The following project integrates AI capabilities into a DevExpress-powered Offic
1414

1515
The project uses the [Azure.AI.OpenAI](https://www.nuget.org/packages/Azure.AI.OpenAI/) package which adapts OpenAI's REST APIs so it can be used in non-Azure OpenAI development.
1616

17-
The `OpenAIClientImageHelper` class sends a request to describe an image and obtain a string with a response. The `OpenAIClientImageHelper` class methods are executed within corresponding endpoints.
17+
The `OpenAIClientImageHelper` class sends a request to describe an image and obtain a string with a response. The `OpenAIClientHyperlinkHelper` class sends a request to describe an hyperlink and obtain a string with a response. The `OpenAIClientImageHelper.DescribeImageAsync` and `OpenAIClientHyperlinkHelper.DescribeHyperlinkAsync` methods are executed within corresponding endpoints.
1818

1919
For Excel files, charts are converted to images to obtain a relevant description.
2020

2121
## Files to Review
2222

2323
* [OpenAIController.cs](./CS/Controllers/OpenAIController.cs)
2424
* [OpenAIClientImageHelper.cs](./CS/BusinessObjects/OpenAIClientImageHelper.cs)
25+
* [OpenAIClientHyperlinkHelper.cs](./CS/BusinessObjects/OpenAIClientHyperlinkHelper.cs)
2526
* [Helpers.cs](./CS/BusinessObjects/Helpers.cs)
2627

2728
## Documentation

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /