Skip to content

[FEATURE] Make cocoindex APIs friendly for Python REPL #365

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

Open
badmonster0 opened this issue Apr 22, 2025 · 1 comment
Open

[FEATURE] Make cocoindex APIs friendly for Python REPL #365

badmonster0 opened this issue Apr 22, 2025 · 1 comment
Labels
python-sdk CocoIndex Python SDK

Comments

@badmonster0
Copy link
Member

Problems:

  • Flow definition happens in a structured function. Users cannot do it step-by-step if they want.
  • Setup is mainly done by CLI now, and API not smooth. Also setup and update have to happen in separate processes for now.

TODOs:

  • Allow users to create flow builder and build flows by manually creating a FlowBuilder without defining a function using the decorator.
  • Flow objects should display something meaningful (e.g. schema / scope for a DataSlice) when users show it.
  • Make setup API well supported.
  • Properly handle setup-related states, so that after setup done users can do update in the same process.

After solving the problems, both Python REPL and Colab can be more interactive in performing mini steps and showing intermediate results.

@badmonster0 badmonster0 added the python-sdk CocoIndex Python SDK label Apr 22, 2025
@badmonster0 badmonster0 moved this to 🐬 Prioritized in 🐳 CocoIndex Roadmap May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python-sdk CocoIndex Python SDK
Projects
Status: 🐬 Prioritized
Development

No branches or pull requests

1 participant