Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any milestone or timetable on SDK of ragflow ? #1605

Open
yangboz opened this issue Jul 19, 2024 · 6 comments
Open

any milestone or timetable on SDK of ragflow ? #1605

yangboz opened this issue Jul 19, 2024 · 6 comments
Labels
question Further information is requested

Comments

@yangboz
Copy link
Contributor

yangboz commented Jul 19, 2024

Describe your problem

it seems the sdk/python package and codebase is updating here.
I am wondering does any overall milestone or time table on it ? then we can easily integration on our current project. not too much code base incursions happen , thanks.

@yangboz yangboz added the question Further information is requested label Jul 19, 2024
KevinHuSh added a commit that referenced this issue Aug 23, 2024
### What problem does this PR solve?

#1605

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
@nicklhy
Copy link

nicklhy commented Oct 14, 2024

+1.

I tried to use the python sdk recently, but got troubles on a simple knowledge base retrieval test.
The source code has a comment "Note: This is a hypothetical implementation and may need adjustments based on the actual backend service API."

@Feiue
Copy link
Contributor

Feiue commented Oct 15, 2024

+1.

I tried to use the python sdk recently, but got troubles on a simple knowledge base retrieval test. The source code has a comment "Note: This is a hypothetical implementation and may need adjustments based on the actual backend service API."

The SDK API and HTTP API are both being updated. Except for the documentation-related APIs, others has been mostly completed. You can refer to the latest api document python_api and code for reference.

@nicklhy
Copy link

nicklhy commented Oct 16, 2024

+1.
I tried to use the python sdk recently, but got troubles on a simple knowledge base retrieval test. The source code has a comment "Note: This is a hypothetical implementation and may need adjustments based on the actual backend service API."

The SDK API and HTTP API are both being updated. Except for the documentation-related APIs, others has been mostly completed. You can refer to the latest api document python_api and code for reference.

Thanks for your reply. Can I ask when will the python sdk become stable. We are considering if we can integrate RAGFlow as a knowledge retrieval backend in our custom system recently.

@KevinHuSh
Copy link
Collaborator

What do you mean by stable?
The progress mostly depends on the reaction/respond to this SDK by the community.

@nicklhy
Copy link

nicklhy commented Oct 17, 2024

What do you mean by stable? The progress mostly depends on the reaction/respond to this SDK by the community.

Recently, I did a few test about the RAGFlow.retrieval api defined in api/apps/sdk/doc.py but always got some errors with the example code in python_api_reference.md doc .

After looking into the source code, I found either the installed sdk (which comse from the main branch) doesn't match the docker image (i.e. RAGFLOW_IMAGE=swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:dev-slim) or the python sdk code sdk/python/ragflow/ragflow.py doesn't match the api defined in api/apps/sdk/doc.py.

And the api name and parameters are still changing these days. For instance, the RAGFlow.retrieval was just renamed to RAGFlow.retrieve yesterday in this commit.

Thus, I am wondering whether it is a good time for us to integrate RAGFlow using the python sdk right now. If it is still under quick development. Maybe we should wait for a few weeks until it become a stable version.

@KevinHuSh
Copy link
Collaborator

Got it.
I think it's more suitable after 0.13 release which will be next week.

Halfknow pushed a commit to Halfknow/ragflow that referenced this issue Nov 11, 2024
### What problem does this PR solve?

infiniflow#1605

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants