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

epic: conversation pipeline #310

Open
mhordynski opened this issue Jan 27, 2025 · 0 comments
Open

epic: conversation pipeline #310

mhordynski opened this issue Jan 27, 2025 · 0 comments
Labels
blocked This task is blocked by something else. feature New feature or request

Comments

@mhordynski
Copy link
Member

mhordynski commented Jan 27, 2025

Feature description

Ragbits should provide streamlined way to create chat / conversation pipelines.

It should handle:

  • Input / Output models for pipeline
  • Allow for metadata / external method to determine current user
  • Allow for plugin for conversation history persistence (feat: add history persistence component #255)
  • Allow for calling tools like DocumentSearch (either by function calling or linear) or HistoryCompressor
  • If any of the tools, in this example DocumentSearch, returns any additional context such as DocumentSearch' Element it should be part of output schema from the pipeline.
  • Text output from the model should be streamed

Motivation

Ragbits is commonly used to generate chatbot experiences, thus this process should be streamlined and provide nice integration with ecosystem.

Additional context

Implementation should start with #316

Draft of Input schema:

  • Prompt Input
  • Message of the user, history

Pipeline should accept main Prompt instance that is used in conversation with LLM. Output of the pipeline is inferred from this prompt.

@mhordynski mhordynski added the feature New feature or request label Jan 27, 2025
@mhordynski mhordynski moved this to Backlog in ragbits Jan 27, 2025
@mhordynski mhordynski added this to the 7 / Chat interfaces milestone Jan 27, 2025
@mhordynski mhordynski self-assigned this Jan 27, 2025
@mhordynski mhordynski moved this from Backlog to Ready in ragbits Jan 27, 2025
@mhordynski mhordynski removed their assignment Jan 27, 2025
@mhordynski mhordynski changed the title feat: conversation pipeline epic: conversation pipeline Jan 27, 2025
@ludwiktrammer ludwiktrammer added the blocked This task is blocked by something else. label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This task is blocked by something else. feature New feature or request
Projects
Status: Ready
Development

No branches or pull requests

2 participants