Skip to content

Commit

Permalink
Adjust type
Browse files Browse the repository at this point in the history
  • Loading branch information
marikaner committed Oct 14, 2024
1 parent 09c16b4 commit d4a06f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class AzureOpenAiEmbeddingResponse {
* Parses the Azure OpenAI response and returns all embeddings.
* @returns The embedding vectors.
*/
getEmbeddings(): number[][] | undefined {
getEmbeddings(): number[][] {
return this.data.data.map(({ embedding }) => embedding);
}

Expand Down

0 comments on commit d4a06f0

Please sign in to comment.