export CAMUNDA_AUTH_STRATEGY='NONE'
export CAMUNDA_REST_ADDRESS='http://localhost:8080'

# Directory for documents
DOCUMENTS=documents
MODE=test # development production test

# Camunda job worker types for service/script tasks
Determine_type_based_on_customer_message_content=bnpp.pf.rhapsody:worker:pf-coe:determine_type_based_on_customer_message_content:1
Determine_type_based_on_raw_document_content=bnpp.pf.rhapsody:worker:pf-coe:determine_type_based_on_raw_document_content:1
Extract_formatted_data_from_IMAGE=bnpp.pf.rhapsody:worker:pf-coe:extract_formatted_data_from_IMAGE:1
Extract_formatted_data_from_PDF=bnpp.pf.rhapsody:worker:pf-coe:extract_formatted_data_from_PDF:1
Extract_formatted_data_from_TEXT=bnpp.pf.rhapsody:worker:pf-coe:extract_formatted_data_from_TEXT:1
Log_an_alert=bnpp.pf.rhapsody:worker:pf-coe:log_an_alert:1

# Customer message samples
CorinneBerthier="Bonjour, je vous confirme que mon prénom est Corinne et mon nom de famille Berthier avec un 'r'. Ci-joint le fichier contenant un scan de ma carte d'identité en tant que justificatif d'identité dans le cadre d'une demande d'octroi de prêt Cétélem."

Mistral_AI_OCR_API_key=PVf2Pjd48RLxtenQpLph8itHNPMraRwZ

# The system prompt allows you to set context and instructions for the model before the conversation starts. It’s a powerful way to define the model’s behavior.
System_prompt="Act as an OCR assistant and, (1.) Extract the visible text in the image and return it according to the provided JSON schema. (2.) Maintain the original structure and formatting of the text. (3.) If any words or phrases are unclear, indicate this with [unclear] in the returned transcription. Provide only the transcription without any additional comments."

Temperature=0.1 # It keeps the model near-deterministic. OCR is not a creative task.
Top_k=20
Top_p=0.9
Repeat_penalty=1.2
Repeat_last_n=128
Num_ctx=8192
Num_predict=4096