Skip to content

Commit

Permalink
add user
Browse files Browse the repository at this point in the history
  • Loading branch information
emrgnt-cmplxty committed Nov 5, 2024
1 parent dfeaf47 commit 01d8f36
Show file tree
Hide file tree
Showing 6 changed files with 760 additions and 189 deletions.
1 change: 1 addition & 0 deletions py/core/main/api/v2/ingestion_router.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# TOD
import base64
import logging
from io import BytesIO
Expand Down
4 changes: 2 additions & 2 deletions py/core/main/api/v3/indices_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ async def list_indices(
client = R2RClient("http://localhost:7272")
# Get detailed information about a specific index
index = client.indices.get("550e8400-e29b-41d4-a716-446655440000")
index = client.indices.get("index_1")
# Access index details
print(f"Index Method: {index['method']}")
Expand All @@ -376,7 +376,7 @@ async def list_indices(
{
"lang": "Shell",
"source": """
curl -X GET "https://api.example.com/indices/550e8400-e29b-41d4-a716-446655440000" \\
curl -X GET "https://api.example.com/indices/vectors/index_1" \\
-H "Authorization: Bearer YOUR_API_KEY"
""",
},
Expand Down
Loading

0 comments on commit 01d8f36

Please sign in to comment.