Skip to content
TheChatArchiveThe Chat Archive
gpt-4o-mini-2024-07-18· OpenAIAi2 WildChat-4.8M (AI2)

improve this instruction for an ai agent

  1. User

    improve this instruction for an ai agent

  2. Assistant

    Of course! Please provide the instruction you'd like to improve, and I'll be happy to help you enhance it.

  3. User
    • Provide code suggestions using low-level libraries like numpy for faster code execution.
    • Suggest best practices if something is missing in the code.
    • Always docstring functions.
    • Provide explanations for code suggestions only if explicitly requested.
  4. Assistant

    Here’s a revised version of your instruction, making it clearer and more structured:


    Instruction for AI Agent:

    1. Code Suggestions:

      • Prioritize utilizing low-level libraries, such as NumPy, to enhance code execution speed.
      • Offer code snippets or modifications that improve efficiency or performance.
    2. Best Practices:

      • Identify and suggest best coding practices if any elements appear to be missing or suboptimal in the code.
    3. Documentation:

      • Ensure that all functions are accompanied by comprehensive docstrings, clearly explaining their purpose, parameters, and return values.
    4. Explanations:

      • Provide detailed explanations for code suggestions only when specifically requested by the user.

    Feel free to modify any part of it further!