From 7bc42364a2c6a95e25e91ef9c1f7fb04471c341c Mon Sep 17 00:00:00 2001 From: Harry Wang Date: Tue, 4 Jun 2024 14:16:18 -0400 Subject: [PATCH 1/2] fix import from file label --- web/i18n/en-US/dataset-creation.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/i18n/en-US/dataset-creation.ts b/web/i18n/en-US/dataset-creation.ts index 8923170f7f4539..c315b4c4a6d936 100644 --- a/web/i18n/en-US/dataset-creation.ts +++ b/web/i18n/en-US/dataset-creation.ts @@ -15,12 +15,12 @@ const translation = { filePreview: 'File Preview', pagePreview: 'Page Preview', dataSourceType: { - file: 'Import from text file', + file: 'Import from file', notion: 'Sync from Notion', web: 'Sync from website', }, uploader: { - title: 'Upload text file', + title: 'Upload file', button: 'Drag and drop file, or', browse: 'Browse', tip: 'Supports {{supportTypes}}. Max {{size}}MB each.', From 66bde669b65c1f936be4b6e537d940e5c2311270 Mon Sep 17 00:00:00 2001 From: Harry Wang Date: Mon, 10 Jun 2024 09:11:37 -0400 Subject: [PATCH 2/2] fixed a typo and grammar error --- api/constants/recommended_apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/constants/recommended_apps.json b/api/constants/recommended_apps.json index 68c913f80a7517..090a1c3b80ffaa 100644 --- a/api/constants/recommended_apps.json +++ b/api/constants/recommended_apps.json @@ -585,7 +585,7 @@ "name": "SVG Logo Design " }, "2cb0135b-a342-4ef3-be05-d2addbfceec7": { - "export_data": "app:\n icon: \"\\U0001F916\"\n icon_background: '#FFEAD5'\n mode: completion\n name: Fully SEO Optimized Article including FAQs\nmodel_config:\n agent_mode:\n enabled: false\n max_iteration: 5\n strategy: function_call\n tools: []\n annotation_reply:\n enabled: false\n chat_prompt_config: {}\n completion_prompt_config: {}\n dataset_configs:\n datasets:\n datasets: []\n retrieval_model: single\n dataset_query_variable: ''\n external_data_tools: []\n file_upload:\n image:\n detail: high\n enabled: false\n number_limits: 3\n transfer_methods:\n - remote_url\n - local_file\n model:\n completion_params:\n frequency_penalty: 0\n max_tokens: 4096\n presence_penalty: 0\n stop: []\n temperature: 0\n top_p: 1\n mode: chat\n name: gpt-3.5-turbo-0125\n provider: openai\n more_like_this:\n enabled: false\n opening_statement: ''\n pre_prompt: \"## Job Description: Fully SEO Optimized Article including FAQ's\\n##\\\n \\ Workflow\\nFirst Step. Before starting an article, Must Develop a comprehensive\\\n \\ \\\"Outline\\\" for a long-form article for the Keyword {{prompt}}, featuring at\\\n \\ least 18 engaging headings and subheadings that are detailed, mutually exclusive,\\\n \\ collectively exhaustive, and cover the entire topic. Must use LSI Keywords in\\\n \\ headings and sub-headings without mentioning them in the \\\"Content\\\". Must show\\\n \\ these \\\"Outlines\\\" in a table. \\n\\nSecond Step Using markdown formatting, act\\\n \\ as an Expert Article Writer and write a fully detailed, long-form, 100% unique,\\\n \\ creative, and human-like informational article of a minimum of 2000 words in\\\n \\ Grade 7 English, using headings and sub-headings. The article should be written\\\n \\ in a formal, informative, and optimistic tone. \\nMust Read all the information\\\n \\ below. Use {{target_language}} for the keyword \\\"{{prompt}}\\\" and write at least\\\n \\ 400\\u2013500 words of engaging paragraph under each and every Heading. This\\\n \\ article should show the experience, expertise, authority and trust for the Topic\\\n \\ {{prompt}}. Include insights based on first-hand knowledge or experiences, and\\\n \\ support the content with credible sources when necessary. Focus on providing\\\n \\ accurate, relevant, and helpful information to readers, showcasing both subject\\\n \\ matter expertise and personal experience in the topic {{prompt}}. Write engaging,\\\n \\ unique, and plagiarism-free content that incorporates a human-like style, and\\\n \\ simple English and bypass ai detector tests directly without mentioning them.\\\n \\ Try to use contractions, idioms, transitional phrases, interjections, dangling\\\n \\ modifiers, and colloquialisms, and avoid repetitive words and unnatural sentence\\\n \\ structures. The article must include an SEO meta-description right after the\\\n \\ title (you must include the {{prompt}} in the description), an introduction,\\\n \\ and a click-worthy short title. Also, use the seed keyword as the first H2.\\\n \\ Always use a combination of paragraphs, lists, and tables for a better reader\\\n \\ experience. Use fully detailed paragraphs that engage the reader. Write at least\\\n \\ one section with the heading {{prompt}}. Write down at least six FAQs with answers\\\n \\ and a conclusion. \\n\\nNote: Don't assign Numbers to Headings. Don't assign numbers\\\n \\ to Questions. Don't write Q: before the question (faqs) Make sure the article\\\n \\ is plagiarism-free. Don't forget to use a question mark (?) at the end of questions.\\\n \\ Try not to change the original {{prompt}} while writing the title. Try to use\\\n \\ \\\"{{prompt}}\\\" 2-3 times in the article. Try to include {{prompt}} in the headings\\\n \\ as well. write content that can easily pass the AI detection tools test. Bold\\\n \\ all the headings and sub-headings using Markdown formatting. \\n\\n### Constraits:\\\n \\ MUST FOLLOW THESE INSTRUCTIONS IN THE ARTICLE:\\n0. Use {{target_language}} strictly\\\n \\ in your response. \\n1. Make sure you are using the Focus Keyword in the SEO\\\n \\ Title.\\n2. Use The Focus Keyword inside the SEO Meta Description.\\n3. Make Sure\\\n \\ The Focus Keyword appears in the first 10% of the content.\\n4. Make sure The\\\n \\ Focus Keyword was found in the content\\n5. Make sure Your content is 2000 words\\\n \\ long.\\n6. Must use The Focus Keyword in the subheading(s).\\n7. Make sure the\\\n \\ Keyword Density is 1.30\\n8. Must Create At least one external link in the content.\\n\\\n 9. Must use a positive or a negative sentiment word in the Title.\\n10. Must use\\\n \\ a Power Keyword in the Title.\\n11. Must use a Number in the Title. Note: Now\\\n \\ Execute the First step and after completion of first step automatically start\\\n \\ the second step. \\n\\n## Context\\nUse the below information as context of the\\\n \\ SEO article. ## Job Description: Fully SEO Optimized Article including FAQ's\\n\\\n {{context}} \\n\\n\"\n prompt_type: simple\n retriever_resource:\n enabled: false\n sensitive_word_avoidance:\n configs: []\n enabled: false\n type: ''\n speech_to_text:\n enabled: false\n suggested_questions: []\n suggested_questions_after_answer:\n enabled: false\n text_to_speech:\n enabled: false\n language: ''\n voice: ''\n user_input_form:\n - text-input:\n default: ''\n label: Keywords\n required: true\n variable: prompt\n - select:\n default: ''\n label: Target Language\n options:\n - \"\\u4E2D\\u6587\"\n - English\n - \"Portugu\\xEAs\"\n required: true\n variable: target_language\n - paragraph:\n default: ''\n label: Context\n required: true\n variable: context\n", + "export_data": "app:\n icon: \"\\U0001F916\"\n icon_background: '#FFEAD5'\n mode: completion\n name: Fully SEO Optimized Article including FAQs\nmodel_config:\n agent_mode:\n enabled: false\n max_iteration: 5\n strategy: function_call\n tools: []\n annotation_reply:\n enabled: false\n chat_prompt_config: {}\n completion_prompt_config: {}\n dataset_configs:\n datasets:\n datasets: []\n retrieval_model: single\n dataset_query_variable: ''\n external_data_tools: []\n file_upload:\n image:\n detail: high\n enabled: false\n number_limits: 3\n transfer_methods:\n - remote_url\n - local_file\n model:\n completion_params:\n frequency_penalty: 0\n max_tokens: 4096\n presence_penalty: 0\n stop: []\n temperature: 0\n top_p: 1\n mode: chat\n name: gpt-3.5-turbo-0125\n provider: openai\n more_like_this:\n enabled: false\n opening_statement: ''\n pre_prompt: \"## Job Description: Fully SEO Optimized Article including FAQ's\\n##\\\n \\ Workflow\\nFirst Step. Before starting an article, Must Develop a comprehensive\\\n \\ \\\"Outline\\\" for a long-form article for the Keyword {{prompt}}, featuring at\\\n \\ least 18 engaging headings and subheadings that are detailed, mutually exclusive,\\\n \\ collectively exhaustive, and cover the entire topic. Must use LSI Keywords in\\\n \\ headings and sub-headings without mentioning them in the \\\"Content\\\". Must show\\\n \\ these \\\"Outlines\\\" in a table. \\n\\nSecond Step Using markdown formatting, act\\\n \\ as an Expert Article Writer and write a fully detailed, long-form, 100% unique,\\\n \\ creative, and human-like informational article of a minimum of 2000 words in\\\n \\ Grade 7 English, using headings and sub-headings. The article should be written\\\n \\ in a formal, informative, and optimistic tone. \\nMust Read all the information\\\n \\ below. Use {{target_language}} for the keyword \\\"{{prompt}}\\\" and write at least\\\n \\ 400\\u2013500 words of engaging paragraph under each and every Heading. This\\\n \\ article should show the experience, expertise, authority and trust for the Topic\\\n \\ {{prompt}}. Include insights based on first-hand knowledge or experiences, and\\\n \\ support the content with credible sources when necessary. Focus on providing\\\n \\ accurate, relevant, and helpful information to readers, showcasing both subject\\\n \\ matter expertise and personal experience in the topic {{prompt}}. Write engaging,\\\n \\ unique, and plagiarism-free content that incorporates a human-like style, and\\\n \\ simple English and bypass ai detector tests directly without mentioning them.\\\n \\ Try to use contractions, idioms, transitional phrases, interjections, dangling\\\n \\ modifiers, and colloquialisms, and avoid repetitive words and unnatural sentence\\\n \\ structures. The article must include an SEO meta-description right after the\\\n \\ title (you must include the {{prompt}} in the description), an introduction,\\\n \\ and a click-worthy short title. Also, use the seed keyword as the first H2.\\\n \\ Always use a combination of paragraphs, lists, and tables for a better reader\\\n \\ experience. Use fully detailed paragraphs that engage the reader. Write at least\\\n \\ one section with the heading {{prompt}}. Write down at least six FAQs with answers\\\n \\ and a conclusion. \\n\\nNote: Don't assign Numbers to Headings. Don't assign numbers\\\n \\ to Questions. Don't write Q: before the question (faqs) Make sure the article\\\n \\ is plagiarism-free. Don't forget to use a question mark (?) at the end of questions.\\\n \\ Try not to change the original {{prompt}} while writing the title. Try to use\\\n \\ \\\"{{prompt}}\\\" 2-3 times in the article. Try to include {{prompt}} in the headings\\\n \\ as well. write content that can easily pass the AI detection tools test. Bold\\\n \\ all the headings and sub-headings using Markdown formatting. \\n\\n## Constrains:\\\n \\ MUST FOLLOW THESE INSTRUCTIONS IN THE ARTICLE:\\n0. Use {{target_language}} strictly\\\n \\ in your response. \\n1. Make sure you are using the Focus Keyword in the SEO\\\n \\ Title.\\n2. Use The Focus Keyword inside the SEO Meta Description.\\n3. Make Sure\\\n \\ The Focus Keyword appears in the first 10% of the content.\\n4. Make sure The\\\n \\ Focus Keyword was found in the content\\n5. Make sure Your content is 2000 words\\\n \\ long.\\n6. Must use The Focus Keyword in the subheading(s).\\n7. Make sure the\\\n \\ Keyword Density is 1.30\\n8. Must Create At least one external link in the content.\\n\\\n 9. Must use a positive or a negative sentiment word in the Title.\\n10. Must use\\\n \\ a Power Keyword in the Title.\\n11. Must use a Number in the Title. Note: Now\\\n \\ Execute the First step and after completion of first step automatically start\\\n \\ the second step. \\n\\n## Context\\nUse the information below as the context of the\\\n \\ SEO article. ## Job Description: Fully SEO Optimized Article including FAQ's\\n\\\n {{context}} \\n\\n\"\n prompt_type: simple\n retriever_resource:\n enabled: false\n sensitive_word_avoidance:\n configs: []\n enabled: false\n type: ''\n speech_to_text:\n enabled: false\n suggested_questions: []\n suggested_questions_after_answer:\n enabled: false\n text_to_speech:\n enabled: false\n language: ''\n voice: ''\n user_input_form:\n - text-input:\n default: ''\n label: Keywords\n required: true\n variable: prompt\n - select:\n default: ''\n label: Target Language\n options:\n - \"\\u4E2D\\u6587\"\n - English\n - \"Portugu\\xEAs\"\n required: true\n variable: target_language\n - paragraph:\n default: ''\n label: Context\n required: true\n variable: context\n", "icon": "\ud83e\udd16", "icon_background": "#FFEAD5", "id": "2cb0135b-a342-4ef3-be05-d2addbfceec7",