### Project Installation Steps Source: https://github.com/thunderhead-exe/advanced-prompt-generator/blob/main/README.md These commands provide instructions for cloning the repository, installing necessary Python dependencies, and running the main application script. ```bash git clone https://github.com/Thunderhead-exe/Advanced-Prompt-Generator.git ``` ```bash pip install -r requirements.txt ``` ```bash python3 Advancd_Prompt_Generator.py ``` -------------------------------- ### Example Input Prompt for Fibonacci Spiral Source: https://github.com/thunderhead-exe/advanced-prompt-generator/blob/main/README.md This snippet shows an initial, simple prompt provided by a user to generate a Python script for computing and plotting a Fibonacci spiral. ```text >>> Input Prompt: write a python script to compute and plot the fibonacci spiral ``` -------------------------------- ### Reference Suggestions for Fibonacci Spiral Script Source: https://github.com/thunderhead-exe/advanced-prompt-generator/blob/main/README.md This section lists external resources and their relevance for developing the Fibonacci spiral script, covering plotting, mathematical concepts, and general Python programming. ```APIDOC Matplotlib Documentation: Purpose: Provides details on plotting functions and customization options Integration: Reference for creating and customizing plots in the script Fibonacci Sequence Article: Purpose: Offers insights into the mathematical properties and applications of the Fibonacci sequence Integration: Use as a reference for understanding the sequence's generation and its relation to the spiral Python Programming Guide: Purpose: Serves as a comprehensive resource for Python syntax and libraries Integration: Reference for general Python programming practices and functions used in the script ``` -------------------------------- ### Enhancing a Simple Prompt for Book Writing Guidance Source: https://github.com/thunderhead-exe/advanced-prompt-generator/blob/main/README.md This snippet showcases the transformation of a concise user input into an elaborate prompt. The enhanced prompt provides explicit instructions, outlines content requirements, suggests external references, and details a step-by-step thought process, ensuring a structured and comprehensive AI-generated response on how to write a book. ```Prompt >>> Input Prompt:\nhow to write a book? ``` ```Prompt >>> Enhanced Prompt:\nAs a knowledgeable writing coach, please provide a comprehensive guide on how to write a book.\n\nRequirements:\n1. Outline the key steps involved in the book writing process, including brainstorming, outlining, drafting, and revising.\n2. Offer tips for maintaining motivation and overcoming writer's block.\n3. Include advice on setting a writing schedule and establishing a writing environment.\n4. Suggest resources for further learning about writing techniques and publishing options.\n\nStructure your response as follows:\n- Introduction to the book writing journey\n- Step-by-step guide with actionable tips\n- Strategies for motivation and productivity\n- Recommended resources for aspiring authors\n\nKeep the response medium in length (approximately 200-300 words) to ensure thorough coverage of the topic.\n\n##REFERENCE SUGGESTIONS##\n- \"On Writing: A Memoir of the Craft\" by Stephen King\n Purpose: Offers insights into the writing process and practical advice for aspiring authors\n Integration: Use as a guide for understanding the nuances of writing a book\n\n- \"The Elements of Style\" by William Strunk Jr. and E.B. White\n Purpose: Provides essential rules of English style and composition\n Integration: Reference for improving writing clarity and effectiveness\n\n- \"Bird by Bird: Some Instructions on Writing and Life\" by Anne Lamott\n Purpose: Shares personal anecdotes and practical tips for overcoming writing challenges\n Integration: Use for motivation and strategies to tackle the writing process\n\n##THOUGHT PROCESS##\n\n*Subtask 1*:\n- **Description**: Introduce the book writing journey and its significance.\n- **Reasoning**: Providing an introduction sets the context for aspiring authors, helping them understand the importance and challenges of writing a book.\n- **Success criteria**: The introduction should clearly articulate the purpose of writing a book and inspire readers about the journey ahead.\n\n*Subtask 2*:\n- **Description**: Outline the key steps involved in the book writing process: brainstorming, outlining, drafting, and revising.\n- **Reasoning**: Breaking down the writing process into clear steps helps authors navigate their journey systematically and reduces overwhelm.\n- **Success criteria**: Each step should be defined with actionable tips, such as techniques for brainstorming ideas, structuring an outline, and strategies for effective drafting and revising.\n\n*Subtask 3*:\n- **Description**: Provide tips for maintaining motivation and overcoming writer's block.\n- **Reasoning**: Addressing common challenges like writer's block is crucial for sustaining progress and ensuring authors remain engaged with their writing.\n- **Success criteria**: Include practical strategies, such as setting small goals, taking breaks, and using prompts to reignite creativity.\n\n*Subtask 4*:\n- **Description**: Advise on setting a writing schedule and establishing a conducive writing environment.\n- **Reasoning**: A structured writing schedule and a supportive environment are essential for productivity and focus during the writing process.\n- **Success criteria**: Offer specific recommendations for daily writing routines and tips for creating a distraction-free workspace.\n\n*Subtask 5*:\n- **Description**: Suggest resources for further learning about writing techniques and publishing options.\n- **Reasoning**: Providing additional resources empowers authors to deepen their knowledge and explore various publishing avenues.\n- **Success criteria**: List reputable books, websites, and courses that cover writing skills and the publishing process, ensuring they are accessible and relevant to aspiring authors. ``` -------------------------------- ### Thought Process and Subtask Breakdown for Script Generation Source: https://github.com/thunderhead-exe/advanced-prompt-generator/blob/main/README.md This outlines the step-by-step thought process for generating the Python script, detailing subtasks, their reasoning, and success criteria for each component of the Fibonacci spiral script. ```APIDOC Subtask 1: Description: Create a function to compute Fibonacci numbers up to a specified term. Reasoning: This function is essential for generating the sequence of Fibonacci numbers, which will be used to determine the points for the spiral. Success criteria: The function should return a list of Fibonacci numbers up to the specified term, with correct values (e.g., for n=5, it should return [0, 1, 1, 2, 3]). Subtask 2: Description: Implement a function to plot the Fibonacci spiral using the computed points. Reasoning: Plotting the spiral visually represents the growth of the Fibonacci sequence, making it easier to understand the relationship between the numbers and the spiral shape. Success criteria: The function should create a plot that accurately represents the Fibonacci spiral, with appropriate axes and labels, and should display the plot correctly. Subtask 3: Description: Include comments explaining each step of the code. Reasoning: Comments enhance code readability and maintainability, allowing others (or the future self) to understand the logic and flow of the script. Success criteria: The code should have clear, concise comments that explain the purpose of each function and key steps within the functions. Subtask 4: Description: Ensure the script is modular, allowing for easy adjustments to the number of Fibonacci terms used in the spiral. Reasoning: Modularity allows users to easily modify the number of terms without altering the core logic of the script, enhancing usability and flexibility. Success criteria: The script should allow the user to specify the number of Fibonacci terms as an input parameter, and the plot should update accordingly. Subtask 5: Description: Provide example usage demonstrating the script in action, including a plot display. Reasoning: Example usage helps users understand how to implement and run the script, showcasing its functionality and output. Success criteria: The example should include a clear demonstration of how to call the functions, specify the number of terms, and display the resulting plot, with expected output shown. ``` -------------------------------- ### Enhanced Prompt for Python Fibonacci Spiral Script Source: https://github.com/thunderhead-exe/advanced-prompt-generator/blob/main/README.md This detailed prompt, generated by the system, specifies requirements for a Python script to compute and plot a Fibonacci spiral, including library usage, modularity, and commenting guidelines. ```text >>> Enhanced Prompt: As a programming expert, please create a Python script that computes and plots the Fibonacci spiral. Requirements: - Use the Fibonacci sequence to generate the necessary points for the spiral. - Utilize libraries such as Matplotlib for plotting and NumPy for numerical calculations. - Include comments explaining each step of the code. - Ensure the script is modular, allowing for easy adjustments to the number of Fibonacci terms used in the spiral. Provide the implementation with: - Function to compute Fibonacci numbers up to a specified term. - Function to plot the Fibonacci spiral using the computed points. - Example usage demonstrating the script in action, including a plot display. The Fibonacci spiral should start with the first few Fibonacci numbers and visually represent the growth of the spiral based on these values. ``` -------------------------------- ### Python Project Dependency List Source: https://github.com/thunderhead-exe/advanced-prompt-generator/blob/main/requirements.txt This snippet provides the complete list of Python packages and their pinned versions, essential for setting up the development or production environment. It ensures reproducibility of the project's dependencies by specifying exact versions for each library. ```Python aiohttp==3.9.5 aiosignal==1.3.1 annotated-types==0.7.0 anyio==4.4.0 attrs==23.2.0 certifi==2024.7.4 charset-normalizer==3.3.2 click==8.1.7 distro==1.9.0 dnspython==2.6.1 email_validator==2.2.0 fastapi==0.111.1 fastapi-cli==0.0.4 frozenlist==1.4.1 h11==0.14.0 httpcore==1.0.5 httptools==0.6.1 httpx==0.27.0 idna==3.7 Jinja2==3.1.4 jsonpatch==1.33 jsonpointer==3.0.0 langchain==0.2.10 langchain-core==0.2.22 langchain-openai==0.1.17 langchain-text-splitters==0.2.2 langsmith==0.1.93 markdown-it-py==3.0.0 MarkupSafe==2.1.5 mdurl==0.1.2 multidict==6.0.5 numpy==1.26.4 openai==1.35.15 orjson==3.10.6 packaging==24.1 pydantic==2.8.2 pydantic_core==2.20.1 Pygments==2.18.0 python-dotenv==1.0.1 python-multipart==0.0.9 PyYAML==6.0.1 regex==2024.5.15 requests==2.32.3 rich==13.7.1 shellingham==1.5.4 sniffio==1.3.1 SQLAlchemy==2.0.31 starlette==0.37.2 tenacity==8.5.0 tiktoken==0.7.0 tqdm==4.66.4 typer==0.12.3 typing_extensions==4.12.2 urllib3==2.2.2 uvicorn==0.30.3 uvloop==0.19.0 watchfiles==0.22.0 websockets==12.0 yarl==1.9.4 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.