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

Add RAG search capabilities #105

Open
dgarnitz opened this issue Apr 4, 2024 · 0 comments
Open

Add RAG search capabilities #105

dgarnitz opened this issue Apr 4, 2024 · 0 comments

Comments

@dgarnitz
Copy link
Owner

dgarnitz commented Apr 4, 2024

Highly recommended to do this issue ticket first

What To Build

  • An endpoint add to the api that allows the user to perform RAG with a given text-only search term. Use the following prompt for the RAG
retrieval_prompt = (
            "Context information is below.\n"
            "---------------------\n"
            "{context_str}\n"
            "---------------------\n"
            "Given the context information and not prior knowledge, "
            "answer the query.\n"
            "Query: {query_str}\n"
            "Answer: "
        )
  • Use the semantic search endpoint created here
  • No reranker is needed yet
  • No query pre-processing is needed yet
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