Skip to content

Custom chain promt for Conversational Retrieval QA #172

@mahaboobkhan29

Description

@mahaboobkhan29

How can I add a custom chain prompt for Conversational Retrieval QA Chain? When I ask a question that is unrelated to the context I stored in Pinecone, the Conversational Retrieval QA Chain currently answers with some random text. Instead, I want to provide a prompt to the chain to answer the question based on the given context. Can you guide me on how to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions