From 4d3dbc565e548fcd2ae145115c6c76fa465666cf Mon Sep 17 00:00:00 2001 From: Stan Girard Date: Tue, 18 Jul 2023 16:52:55 +0200 Subject: [PATCH] feat(ci): fixed --- .github/workflows/aws-preview.yml | 2 +- backend/core/llm/openai_functions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/aws-preview.yml b/.github/workflows/aws-preview.yml index 992c996fb..17880afad 100644 --- a/.github/workflows/aws-preview.yml +++ b/.github/workflows/aws-preview.yml @@ -52,7 +52,7 @@ jobs: # Build a docker container and # push it to ECR so that it can # be deployed to ECS. - docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG . + docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./core/Dockerfile docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT diff --git a/backend/core/llm/openai_functions.py b/backend/core/llm/openai_functions.py index e2ae58236..9d71a4e3b 100644 --- a/backend/core/llm/openai_functions.py +++ b/backend/core/llm/openai_functions.py @@ -180,7 +180,7 @@ class OpenAIFunctionsBrainPicking(BaseBrainPicking): functions = [ { "name": "get_history_and_context", - "description": "Get the chat history between you and the user and also get the relevant documents to answer the question. Always use that unless a very simple question is asked that a 5 years old could answer or if the user says continue or something like that.", + "description": "Get the chat history between you and the user and also get the relevant documents to answer the question. Always use that unless a very simple question is asked that a 5 years old could answer or if the user says continue or something like that", "parameters": {"type": "object", "properties": {}}, }, ]