Skip to content

Commit

Permalink
fix: jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Oct 13, 2023
1 parent 6d454ee commit af3c98b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions langchain/src/embeddings/bedrock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ export class BedrockEmbeddings
}

/**
* Method to generate embeddings for an array of documents. Splits the
* documents into batches and makes requests to Bedrock to generate
* Method to generate embeddings for an array of texts. Splits the
* texts into batches and makes requests to Bedrock to generate
* embeddings.
* @param documents Array of documents for which to generate embeddings.
* @param documents Array of texts for which to generate embeddings.
* @returns Promise that resolves to a 2D array of embeddings for each input document.
*/
async embedDocuments(documents: string[]): Promise<number[][]> {
Expand Down

0 comments on commit af3c98b

Please sign in to comment.