new changes

This commit is contained in:
n4ze3m 2023-04-13 22:00:28 +05:30
parent e94092e7b2
commit 2c87aa3287
2 changed files with 2 additions and 2 deletions

View File

@ -12,4 +12,4 @@ RUN pip install -r requirements.txt
COPY . . COPY . .
CMD ["python", "main.py"] CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]

View File

@ -41,7 +41,7 @@ async def chat_extension_handler(body: ChatBody):
messages = [ messages = [
SystemMessagePromptTemplate.from_template("""You are PageAssist bot. Follow the user's instructions carefully and generate answer from given context and You can recommend, translate and can do anything one the given context. If the answer is not included in the context say exactly "Sorry, I don't know" and if you know the answer you can resonpond it. Respond using markdown SystemMessagePromptTemplate.from_template("""You are PageAssist bot. Follow the user's instructions carefully and generate answer from given context and You can recommend, translate and can do anything one given context. If the answer is not included in the context say exactly "Sorry, I don't know" and if you know the answer you can resonpond it. Respond using markdown
----------------- -----------------
{context} {context}
"""), """),