mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 20:57:58 +00:00
Upgraded configuration
This commit is contained in:
parent
79a9c0296f
commit
a2cf0dbf50
@ -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
|
@ -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
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user