Skip to content

Commit 2bee88f

Browse files
yberber-sapwsvoja
andcommitted
Set a default internal embedding model ID to SAP_NEB.20240715 in internal embedding example
Co-authored-by: wsvoja <[email protected]>
1 parent bd0edad commit 2bee88f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/indexes/vector_stores/hana_vector/internalEmbeddings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { HanaDB, HanaDBArgs } from "@langchain/community/vectorstores/hanavector
66
// Initialize the internal embeddings instance using the internal model ID.
77
// This instance will use SAP HANA's built-in VECTOR_EMBEDDING function of HanaDB.
88
const internalEmbeddings = new HanaInternalEmbeddings({
9-
internalEmbeddingModelId: process.env.HANA_DB_EMBEDDING_MODEL_ID || "your_model_id",
9+
internalEmbeddingModelId: process.env.HANA_DB_EMBEDDING_MODEL_ID || "SAP_NEB.20240715",
1010
});
1111

1212
// Set up connection parameters from environment variables.

0 commit comments

Comments
 (0)