Merged in feature/DAIP2-2112-implement-pre-commit-hooks--- (pull request #924)
Feature/DAIP2-2112 implement pre commit hooks * Add pre-commit hooks for local code quality checks Adds .pre-commit-config.yaml with file hygiene hooks (trailing-whitespace, end-of-file-fixer, check-yaml/json, check-merge-conflict, check-added-large-files) plus local hooks for black and mypy on pre-commit and pytest on pre-push. Includes setup documentation and adds pre-commit to dev dependencies. Auto-fixed trailing whitespace and missing newlines caught by the new hooks. * Add sample pre-commit hook for testing purposes * Add test file for pre-commit hook validation * Remove test file for pre-commit hook validation * Merged DEV into feature/DAIP2-2112-implement-pre-commit-hooks--- * Merged DEV into feature/DAIP2-2112-implement-pre-commit-hooks--- * Move to documentation Approved-by: Katon Minhas
This commit is contained in:
committed by
Katon Minhas
parent
2be11faafc
commit
829682d07c
@@ -30,13 +30,13 @@ def find_tin_numbers(text):
|
||||
|
||||
def invoke_llm(context, llm_selected=LLM_SELECTED):
|
||||
prompt_data = f"""
|
||||
|
||||
|
||||
Human: Use the following pieces of context to provide a concise answer to the questions at the end. You must answer in python list format.
|
||||
|
||||
|
||||
{context}
|
||||
|
||||
|
||||
Question: What is the Group provider's taxpayer identification number stated in the contract? This is a 9 digit long number typically with a hyphen after the first 2 digits. Return only this 9 digit number with a hyphen after the first 2 digits. Do not elaborate or add context.
|
||||
|
||||
|
||||
Assistant: Answer in list format: ["""
|
||||
|
||||
if llm_selected == "Claude 3 - Sonnet":
|
||||
|
||||
Reference in New Issue
Block a user