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 ./zoos /app/zoos
COPY ./configs /app/configs COPY ./configs /app/configs
RUN pip install -e . RUN pip install -e .
# Run app.py when the container launches # 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"] 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") print("Chatting")
try: try:
docs, _ = text_vectorzer.recover_text(prompt,3) 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: except:
docs="" docs=""
context_text = f"""{lollms_app.personality.personality_conditioning} context_text = f"""{lollms_app.personality.personality_conditioning}

View File

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