From 92cdcd90a0f5627e8298dee474cc58634e4902f3 Mon Sep 17 00:00:00 2001 From: Saurav Panda Date: Fri, 14 Jun 2024 18:48:30 -0400 Subject: [PATCH 1/2] fix: updated the structure of github --- docs/pages/_meta.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pages/_meta.json b/docs/pages/_meta.json index 4205bdf3..d0931bf4 100644 --- a/docs/pages/_meta.json +++ b/docs/pages/_meta.json @@ -1,8 +1,8 @@ { "index": "Introduction", "getting_started": "Getting Started", + "features": "Features", "self_hosting_guide": "Self Hosting Guide", "contributing": "Contributing", - "contact_us": "Contact Us", - "features": "Features" + "contact_us": "Contact Us" } \ No newline at end of file From 94f4dc5928d499a81f7b60fd6167c367eee70077 Mon Sep 17 00:00:00 2001 From: Saurav Panda Date: Fri, 14 Jun 2024 18:56:13 -0400 Subject: [PATCH 2/2] fix: added line to generate json --- kaizen/llms/prompts.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kaizen/llms/prompts.py b/kaizen/llms/prompts.py index d5ddc325..4b717706 100644 --- a/kaizen/llms/prompts.py +++ b/kaizen/llms/prompts.py @@ -111,7 +111,7 @@ PR_DESCRIPTION_PROMPT = """ You are a skilled developer reviewing a pull request. Your task is to generate a concise and well-formatted description that summarizes the main purpose, scope of changes, significant modifications, refactoring, or new features introduced in the pull request. -Please provide the output in the following format: +Please provide the output in the following JSON format: {{ "desc": " @@ -137,6 +137,8 @@ - Focus on covering the most significant aspects of the changes. - Avoid unnecessary details or repetition of information already present in the pull request title or description. +Make sure the output is in valid JSON format. + The provided information includes: Pull Request Title: {PULL_REQUEST_TITLE}