mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-18 12:26:29 +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 ./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"]
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user