Skip to content

Commit

Permalink
Update pinecone.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
berkingurcan committed Jun 28, 2024
1 parent 87b49f5 commit 6021559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tools/utils/pinecone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const getMatchesFromEmbeddings = async (
topK: number,
vector_type: string,
project_name?: string,
isDiscord: boolean = false,
isDiscord?: boolean,
): Promise<ScoredPineconeRecord<Metadata>[]> => {
const pinecone = new Pinecone({
environment: process.env.PINECONE_ENVIRONMENT as string,
Expand Down

0 comments on commit 6021559

Please sign in to comment.