diff --git a/dev_gpt/options/generate/static_files/gateway/app_template.py b/dev_gpt/options/generate/static_files/gateway/app_template.py index 5da3b26..4982471 100644 --- a/dev_gpt/options/generate/static_files/gateway/app_template.py +++ b/dev_gpt/options/generate/static_files/gateway/app_template.py @@ -3,6 +3,7 @@ import os import streamlit as st from jina import Client, Document, DocumentArray +# def main(): set_page_config() diff --git a/dev_gpt/options/generate/templates_user.py b/dev_gpt/options/generate/templates_user.py index b6bb0f7..864ee9a 100644 --- a/dev_gpt/options/generate/templates_user.py +++ b/dev_gpt/options/generate/templates_user.py @@ -457,12 +457,8 @@ Most importantly: You must generate the complete app.py file using the following template_chain_of_thought = PromptTemplate.from_template( '''\ -1. write down an extensive list (5 words per item) of obvious and non-obvious observations about {file_name_purpose} that could need an adjustment. -2. Explain why. (5 words per item) -3. Think if all the changes are required -4. decide for the changes you want to make, but you are not allowed disregard the instructions in the previous message. -5. Write the whole content of {file_name_purpose} - even if you decided to change only a small thing or even nothing. -Note: Be very hesitant to change the code. Only make a change if you are sure that it is necessary. +1. Review each part of the playground and look for bugs like missing imports, wrong data types,... +2. Write the whole content of {file_name_purpose} - even if you decided to change only a small thing or even nothing. Note: Output only {file_name_purpose} ''' + '\n' + template_code_wrapping_string + '''