From 7f27df4235316979a08f850495cbee7be26aedb7 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Tue, 31 Oct 2023 02:08:43 +0100 Subject: [PATCH] updated --- Dockerfile | 1 + lollms/apps/discord_bot/__init__.py | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b66cc31..f38ad1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/lollms/apps/discord_bot/__init__.py b/lollms/apps/discord_bot/__init__.py index 42ada30..4dbae12 100644 --- a/lollms/apps/discord_bot/__init__.py +++ b/lollms/apps/discord_bot/__init__.py @@ -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} diff --git a/setup.py b/setup.py index 0ddeb89..0852607 100644 --- a/setup.py +++ b/setup.py @@ -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",