Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Dec 13, 2023
1 parent ddb4887 commit d72c270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/langchain-community/src/vectorstores/pgvector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ export class PGVectorStore extends VectorStore {
const embedding = vectors[i];
const embeddingString = `[${embedding.join(",")}]`;
values.push(
documents[i].pageContent.replace(/\0/g, ''),
embeddingString.replace(/\0/g, ''),
documents[i].pageContent.replace(/\0/g, ""),
embeddingString.replace(/\0/g, ""),
documents[i].metadata
);
if (collectionId) {
Expand Down

0 comments on commit d72c270

Please sign in to comment.