new changes
This commit is contained in:
parent
e94092e7b2
commit
2c87aa3287
@ -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"]
|
@ -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}
|
||||||
"""),
|
"""),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user