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

Create TUI for Corpora Rust CLI incorporating corpora_client #52

Open
skyl opened this issue Nov 17, 2024 · 0 comments
Open

Create TUI for Corpora Rust CLI incorporating corpora_client #52

skyl opened this issue Nov 17, 2024 · 0 comments

Comments

@skyl
Copy link
Owner

skyl commented Nov 17, 2024

Overview

The Corpora project aims to enhance its Rust-based CLI tools by developing a full TUI (Text User Interface) command center. A key component of this effort is the integration of the corpora_client, which is responsible for executing RAG (retrieval-augmented generation) over HTTP calls with pgvector on the backend.

Objectives

  • Develop a prototype TUI to enhance command execution and user interaction.
  • Integrate corpora_client to facilitate efficient RAG operations in the TUI.
  • Leverage pgvector backend functionality to enhance retrieval and AI-driven operations.

Exploratory Tasks

  1. Prototype TUI:

    • Develop a basic TUI prototype using Ratatui in the corpora_cli module.
    • Include support for making HTTP-based retrieval requests using corpora_client.
    • Demonstrate RAG capabilities through interactive commands.
  2. Research TUI Libraries:

    • Evaluate Ratatui for building TUIs in Rust.
    • Identify how it can be effectively integrated with corpora_client for RAG operations.
  3. Integration with corpora_client

    • Ensure seamless interaction between the TUI commands and the corpora_client's API request capabilities.
    • Utilize pgvector for vectorized data retrieval and processing.
  4. Usability Testing:

    • Collect feedback on the TUI prototype's effectiveness compared to existing CLI interactions.

Considerations

  • Ensure that the TUI design does not compromise the modularity and scalability of the existing Rust CLI architecture.
  • Maintain compatibility with backend data processing via pgvector and HTTP APIs.

The success of this prototype could potentially lead to a full-fledged TUI command center, enhancing the usability and functionality of Corpora's Rust CLI tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant