Skip to content

Commit

Permalink
fix(cdp): order naming cdc_etiquette (#3333)
Browse files Browse the repository at this point in the history
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
  • Loading branch information
StanGirard authored Oct 7, 2024
1 parent 7cd11d3 commit 19ab736
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def validate_assistant_input(
key="DocumentsType",
description="Select Documents Type",
options=[
"Etiquettes VS Cahier des charges",
"Cahier des charges VS Etiquettes",
"Fiche Dev VS Cahier des charges",
],
),
Expand Down
2 changes: 1 addition & 1 deletion backend/worker/quivr_worker/assistants/cdp_use_case_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ async def process_cdp_use_case_2(

## Get the document type
document_type = None
if value_use_case == "Etiquettes VS Cahier des charges":
if value_use_case == "Cahier des charges VS Etiquettes":
document_type = ComparisonTypes.CDC_ETIQUETTE
elif value_use_case == "Fiche Dev VS Cahier des charges":
document_type = ComparisonTypes.CDC_FICHE_DEV
Expand Down

0 comments on commit 19ab736

Please sign in to comment.