Skip to content

feat(client): removing the term 'policy' from the description of the …#663

Merged
johbaxter merged 1 commit intodevfrom
vector-qa-remove-policy
Mar 10, 2025
Merged

feat(client): removing the term 'policy' from the description of the …#663
johbaxter merged 1 commit intodevfrom
vector-qa-remove-policy

Conversation

@themaherkhalil
Copy link
Copy Markdown
Contributor

…documents in the q&a

@themaherkhalil themaherkhalil requested a review from a team as a code owner March 5, 2025 02:09
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 5, 2025

@CodiumAI-Agent /describe

@QodoAI-Agent
Copy link
Copy Markdown

Title

feat(client): removing the term 'policy' from the description of the …


User description

…documents in the q&a


PR Type

  • Enhancement

Description

  • Updated LLM command text to remove "policy" terminology.

  • Clarified instructions for document-based AI responses.


Changes walkthrough 📝

Relevant files
Enhancement
EngineQAPage.tsx
Modify LLM prompt text to remove policy terminology.         

packages/client/src/pages/engine/EngineQAPage.tsx

  • Replaced "policy documents" with "documents" in the AI prompt.
  • Adjusted LLM command details and instructions.
  • +1/-2     

    Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.
  • @github-actions
    Copy link
    Copy Markdown

    github-actions bot commented Mar 5, 2025

    @CodiumAI-Agent /review

    @QodoAI-Agent
    Copy link
    Copy Markdown

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    ⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ Recommended focus areas for review

    Text Consistency

    The LLM command string was updated to use "provided documents" instead of "provided policy documents". It should be confirmed that this change is intentional and that all related components or documentation have been updated to reflect the terminology change.

    LLM(engine="${selectedModel.database_id}" , command=["<encode>You are an intelligent AI designed to answer queries based on provided documents. If an answer cannot be determined based on the provided documents, inform the user. Answer as truthfully as possible at all times and tell the user if you do not know the answer. Please be concise and get to the point. Here is the question: ${data.QUESTION}. Here are the documents: ${contextDocs}</encode>"], paramValues=[{"temperature":${temperature}}])            `;

    @github-actions
    Copy link
    Copy Markdown

    github-actions bot commented Mar 5, 2025

    @CodiumAI-Agent /improve

    @QodoAI-Agent
    Copy link
    Copy Markdown

    PR Code Suggestions ✨

    No code suggestions found for the PR.

    @johbaxter johbaxter merged commit 624122d into dev Mar 10, 2025
    3 checks passed
    @johbaxter johbaxter deleted the vector-qa-remove-policy branch March 10, 2025 15:17
    @github-actions
    Copy link
    Copy Markdown

    @CodiumAI-Agent /update_changelog

    @QodoAI-Agent
    Copy link
    Copy Markdown

    Changelog updates: 🔄

    2025-03-10

    Changed

    • Updated client query description to remove outdated terminology.

    to commit the new content to the CHANGELOG.md file, please type:
    '/update_changelog --pr_update_changelog.push_changelog_changes=true'

    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

    Successfully merging this pull request may close these issues.

    3 participants