Skip to content

Instantly share code, notes, and snippets.

@zackproser
Created June 6, 2024 11:16
Show Gist options
  • Save zackproser/7939f7207a114753cbfbf0feee428f09 to your computer and use it in GitHub Desktop.
Save zackproser/7939f7207a114753cbfbf0feee428f09 to your computer and use it in GitHub Desktop.
Pinecone iterate over ID prefixes
# Iterate over all chunks from order #1
for ids in index.list(prefix='order1#', namespace='orders'):
print(ids)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment