Skip to content

Commit

Permalink
feat: bump @azure-rest/ai-inference from 1.0.0-beta.2 to 1.0.0-beta.3 (
Browse files Browse the repository at this point in the history
…#61)

* build(deps): bump @azure-rest/ai-inference

Bumps [@azure-rest/ai-inference](https://github.com/Azure/azure-sdk-for-js) from 1.0.0-beta.2 to 1.0.0-beta.3.
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md)
- [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure-rest/ai-inference_1.0.0-beta.2...@azure-rest/ai-inference_1.0.0-beta.3)

---
updated-dependencies:
- dependency-name: "@azure-rest/ai-inference"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: change type

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: xavidop <xavi_tb@hotmail.com>
  • Loading branch information
dependabot[bot] and xavidop authored Oct 22, 2024
1 parent 71af3da commit ce0464c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/github_embedders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export function githubEmbedder(name: string, options?: PluginOptions) {
.post(body)) as GetEmbeddings200Response;
return {
embeddings: embeddings.body.data.map((d) => ({
embedding: d.embedding,
embedding: Array.isArray(d.embedding) ? d.embedding : [],
})),
};
},
Expand Down
15 changes: 8 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@


"@azure-rest/ai-inference@^1.0.0-beta.2":
version "1.0.0-beta.2"
resolved "https://registry.npmjs.org/@azure-rest/ai-inference/-/ai-inference-1.0.0-beta.2.tgz"
integrity sha512-xPnXJmldQ7vufTT1GtoHPk+korWFnl72whoDB34tb9DALTGGBKIAWobDQBMGYdV2ce0/KdhRFPwnfeZjNyfVsw==
version "1.0.0-beta.3"
resolved "https://registry.yarnpkg.com/@azure-rest/ai-inference/-/ai-inference-1.0.0-beta.3.tgz#36594335b2b10430a15aab7c0113ee18d6fc84b7"
integrity sha512-vCiQSD06F9w0FQMEQkH7SNrrjXkHtaHYwGm9J1V5+6XX6vTkqpTkJ2e/gVakNCi4bnNXdc5mecKZf5U/js1RXw==
dependencies:
"@azure-rest/core-client" "^2.1.0"
"@azure/abort-controller" "^1.0.0"
"@azure/core-auth" "^1.7.2"
"@azure/core-lro" "^2.6.0"
"@azure/core-rest-pipeline" "^1.14.0"
"@azure/core-tracing" "^1.2.0"
"@azure/logger" "^1.0.0"
tslib "^2.6.2"

Expand Down Expand Up @@ -81,10 +82,10 @@
dependencies:
tslib "^2.6.2"

"@azure/core-tracing@^1.0.1":
version "1.1.2"
resolved "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.1.2.tgz"
integrity sha512-dawW9ifvWAWmUm9/h+/UQ2jrdvjCJ7VJEuCJ6XVNudzcOwm53BFZH4Q845vjfgoUAM8ZxokvVNxNxAITc502YA==
"@azure/core-tracing@^1.0.1", "@azure/core-tracing@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@azure/core-tracing/-/core-tracing-1.2.0.tgz#7be5d53c3522d639cf19042cbcdb19f71bc35ab2"
integrity sha512-UKTiEJPkWcESPYJz3X5uKRYyOcJD+4nYph+KpfdPRnQJVrZfk0KJgdnaAWKfhsBBtAf/D58Az4AvCJEmWgIBAg==
dependencies:
tslib "^2.6.2"

Expand Down

0 comments on commit ce0464c

Please sign in to comment.