Skip to content

Commit 0257829

Browse files
authored
Bump Metal to use index_id (langchain-ai#3089)
## Use `index_id` over `app_id` We made a major update to index + retrieve based on Metal Indexes (instead of apps). With this change, we accept an index instead of an app in each of our respective core apis. [More details here](https://docs.getmetal.io/api-reference/core/indexing).
1 parent 064a1db commit 0257829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/modules/indexes/retrievers/examples/metal.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
"from metal_sdk.metal import Metal\n",
3333
"API_KEY = \"\"\n",
3434
"CLIENT_ID = \"\"\n",
35-
"APP_ID = \"\"\n",
35+
"INDEX_ID = \"\"\n",
3636
"\n",
37-
"metal = Metal(API_KEY, CLIENT_ID, APP_ID);\n"
37+
"metal = Metal(API_KEY, CLIENT_ID, INDEX_ID);\n"
3838
]
3939
},
4040
{

0 commit comments

Comments
 (0)