mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-18 20:27:58 +00:00
updated
This commit is contained in:
parent
2b982fe42c
commit
7f27df4235
@ -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"]
|
||||||
|
|
||||||
|
@ -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}
|
||||||
|
2
setup.py
2
setup.py
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user