#240: Fall back to default RAGFlow dataset name when release is missing - #254
Conversation
|
Thanks @fauad123. To fix:
With the parameter default What checks out: the fix is correct for the path that actually breaks, and falling back to The failing |
…ase is missing Signed-off-by: fauad123 <fauadhaleem@gmail.com>
…ease names Signed-off-by: fauad123 <fauadhaleem@gmail.com>
3be2f5c to
ffd0cf5
Compare
Thanks for the review @isolomatov-gd . I have addressed all four points:
Verified with the full CLI test suite (43 passed), type validation and manual RAGFlow checks for both the fallback and guard paths. |
Conflict was a one-line kwarg collision in the RAGFlowClient(...) call in cli.py: main added timeout=config.timeout (griddynamics#311), this branch adds dataset_default=config.dataset_default. Both kept.
|
Thanks @fauad123 — all four points are addressed, and the approach is better than what was asked for. Nothing left to fix. What checks out, verified by execution against post-#311
One behavioural note, not a defect: with a I pushed a merge of |
isolomatov-gd
left a comment
There was a problem hiding this comment.
Approved. Verified by execution: genuine repro of #240, semantics match ContentPublisher, every new assertion independently load-bearing under mutation. 56 passed, mypy clean.
|
@isolomatov-gd Thanks for the detailed review and verification! |
Closes #240
Summary
RAGFlowClient.upload_document()so the release baseddataset_templateis only used whenmetadata.releaseis present.dataset_namefor no release documents instead of resolving to the literalaia-{release}.aia-{release}with releaser2still resolves toaia-r2.test_ragflow_client_dataset_name_resolution.pytest file because the existing RAGFlow client tests focus on metadata handling, dataset caching, and upload exception behavior rather than dataset-name resolution.Testing
rosetta-clitest suite passes with39 passed.src/validate-types.shpasses type validation.Assumptions
None.