Upgraded configuration

This commit is contained in:
Saifeddine ALOUI 2023-12-30 17:09:10 +01:00
parent 79a9c0296f
commit a2cf0dbf50
3 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# =================== Lord Of Large Language Models Configuration file ===========================
version: 35
version: 36
binding_name: null
model_name: null
@ -81,3 +81,7 @@ data_vectorization_nb_chunks: 2 # number of chunks to use
data_vectorization_build_keys_words: false # If true, when querrying the database, we use keywords generated from the user prompt instead of the prompt itself.
data_vectorization_force_first_chunk: false # If true, the first chunk of the document will systematically be used
data_vectorization_make_persistance: false # If true, the data will be persistant webween runs
# Helpers
pdf_latex_path: null

View File

@ -1,5 +1,5 @@
# =================== Lord Of Large Language Models Configuration file ===========================
version: 35
version: 36
binding_name: null
model_name: null
@ -81,3 +81,7 @@ data_vectorization_nb_chunks: 2 # number of chunks to use
data_vectorization_build_keys_words: false # If true, when querrying the database, we use keywords generated from the user prompt instead of the prompt itself.
data_vectorization_force_first_chunk: false # If true, the first chunk of the document will systematically be used
data_vectorization_make_persistance: false # If true, the data will be persistant webween runs
# Helpers
pdf_latex_path: null

View File

@ -1799,7 +1799,7 @@ class APScript(StateMachine):
if pdf_latex_path:
pdflatex_command = pdf_latex_path
else:
pdflatex_command = 'pdflatex'
pdflatex_command = self.personality.config.pdf_latex_path if self.personality.config.pdf_latex_path is not None else 'pdflatex'
# Run the pdflatex command with the file path
subprocess.run([pdflatex_command, file_path], check=True)