This commit is contained in:
Saifeddine ALOUI 2023-10-31 02:08:43 +01:00
parent 2b982fe42c
commit 7f27df4235
3 changed files with 3 additions and 2 deletions

View File

@ -26,6 +26,7 @@ COPY ./setup.py /app/setup.py
COPY ./zoos /app/zoos
COPY ./configs /app/configs
RUN pip install -e .
# Run app.py when the container launches
CMD ["lollms-elf","--host","0.0.0.0", "--port", "9601", "--default_cfg_path", "/app/elf_docker_cfg/config_paths.yaml"]

View File

@ -69,7 +69,7 @@ async def on_message(message):
print("Chatting")
try:
docs, _ = text_vectorzer.recover_text(prompt,3)
docs = "!@>Documentation:\n"+'\n'.join(docs)
docs = "Use the content of those documentation chunks to enhance your answers\n!@>Documentation:\n"+'\n'.join(docs)
except:
docs=""
context_text = f"""{lollms_app.personality.personality_conditioning}

View File

@ -26,7 +26,7 @@ def get_all_files(path):
setuptools.setup(
name="lollms",
version="6.0.6",
version="6.0.7",
author="Saifeddine ALOUI",
author_email="aloui.saifeddine@gmail.com",
description="A python library for AI personality definition",