SciPhi-AI/R2R

Graph Creation Request Fails When Specifying List of document_ids

Closed this issue · 2 comments

Describe the bug

Call to create_graph() with list of document_ids via Python SDK yields error:

To Reproduce
Steps to reproduce the behavior:

  1. Ingest documents
  2. Enumerate document ids by calling get_all_documents()
  3. Attempt to initiate graph generation by calling create_graph() with list of document_ids from step 3
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hey, thanks for raising this issue. Could you share your snippet and the server logs? (you'll find them inside the r2r docker container).

Also, you can just call create graph with no args to run it on all documents.

Sorry fat fingered this one, please see #1116, closing this case.