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

Implement initial version Retrieval-Augmented Generation (RAG) System for Kyma Agent #200

Open
3 tasks
Teneroy opened this issue Oct 2, 2024 · 0 comments
Open
3 tasks
Assignees

Comments

@Teneroy
Copy link
Collaborator

Teneroy commented Oct 2, 2024

Description

The goal of this task is to implement a Retrieval-Augmented Generation (RAG) system for the Kyma agent. The RAG system will enhance the Kyma agent's ability to provide accurate and relevant responses by retrieving relevant documents from a knowledge base and combining the retrieved information with a generative model. The system should include proper query-translation techniques, efficient information retrieval, and a reranking mechanism to improve the quality of retrieved information.

Ensure that the flow works, necessary steps are implemented. Further optimization of performance will go in the following tickets

Subtasks

  1. Query Translation:

    • Implement query-translation techniques to transform user queries into an optimal format for the retrieval system.
    • Ensure that the Kyma agent can handle diverse and complex queries by translating them into effective search queries.
    • Test different query-translation strategies to enhance the accuracy and relevance of the retrieval process.
  2. Information Retrieval:

    • Develop a retrieval mechanism to pull relevant documents or data from the knowledge base, such as Kyma documentation or related resources.
    • Integrate the Hana Vector Database client as the main source for retrieving embedded information.
  3. Reranking Mechanism:

    • Implement a reranking system that scores and ranks the retrieved documents based on their relevance to the original query.
    • Use relevant metrics or machine learning-based approaches to ensure that the most important and accurate information is ranked higher.
    • Test the reranking system with a variety of test cases to validate its effectiveness.

Acceptance Criteria

  • Query-translation techniques are implemented and improve the quality of search queries - Mansur
  • The information retrieval system pulls relevant documents from the knowledge base efficiently
  • A reranking mechanism is implemented and significantly improves the relevance of retrieved documents.
@Teneroy Teneroy changed the title Implement Retrieval-Augmented Generation (RAG) System for Kyma Agent Implement initial version Retrieval-Augmented Generation (RAG) System for Kyma Agent Oct 2, 2024
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

3 participants