• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

microsoft / teams-ai / 8442094694
80%

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2024 07:56PM UTC
Jobs 3
Files 316
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Mar 2024 07:55PM UTC coverage: 80.289%. Remained the same
8442094694

push

github

web-flow
[JS] feat: `Azure OpenAI On Your Data` - Azure AI Search support  (#1426)

## Linked issues

closes: #1419 (issue number)

## Details
* Added support for `data_sources` property in Azure OpenAI Chat
Completions API's latest api versions.
* Added support only for the Azure AI Search (`azure_search`) data
source option.
* Created the `08.datasource.azureOpenAI` sample to showcase `Azure
OpenAI on Your Data` capabilities.

#### Change details

* Updated `AzureOpenAIClient` to support `data_sources` field.
* Updated `PromptResponse` to support `context` field (citations &
intents)
* Updated `Message` to support `context` field (citations & intents)
* ~~Updated `PromptTemplate.CompletionConfig` to support a
`data_sources` field that takes in a list of azure openai chat
completion api data source schemas. Currently on `azure_search` is
supported. This can be extended to other data sources as well.~~

## Attestation Checklist

- [x] My code follows the style guidelines of this project

- I have checked for/fixed spelling, linting, and other errors
- I have commented my code for clarity
- I have made corresponding changes to the documentation (updating the
doc strings in the code is sufficient)
- My changes generate no new warnings
- I have added tests that validates my changes, and provides sufficient
test coverage. I have tested with:
  - Local testing
  - E2E testing in Teams
- New and existing unit tests pass locally with my changes

---------

Co-authored-by: Corina <14900841+corinagum@users.noreply.github.com>

2635 of 3783 branches covered (69.65%)

Branch coverage included in aggregate %.

9418 of 11229 relevant lines covered (83.87%)

18.24 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
19
2.21
0.0% js/packages/teams-ai/src/models/OpenAIModel.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
1 dotnet 8442094694.1 26 Mar 2024 07:58PM UTC 141
80.77
GitHub Action Run
2 python 8442094694.2 26 Mar 2024 07:56PM UTC 112
88.85
GitHub Action Run
3 javascript 8442094694.3 26 Mar 2024 07:57PM UTC 63
72.71
GitHub Action Run
Source Files on build 8442094694
  • Tree
  • List 316
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #8442094694
  • 87be7c78 on github
  • Prev Build on main (#8426895326)
  • Next Build on main (#8457786575)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc