gollm generate "Write a Python function to calculate factorial"gollm generate "Create a Python script that implements a basic calculator class with unit tests"# Generate code with automatic unit tests (default behavior)
gollm generate "Create a Python class for a bank account with deposit and withdraw methods"
# Disable automatic test generation
gollm generate "Create a Python class for a bank account" --no-tests# GoLLM will automatically detect and complete any incomplete functions
gollm generate "Create a Python class for a payment processor with error handling"
# Disable automatic function completion
gollm generate "Create a Python class for a payment processor" --no-auto-complete# GoLLM will automatically test the generated code by executing it
# and fix any runtime errors (default behavior)
gollm generate "Create a Python script that processes a list of numbers"
# Disable execution testing
gollm generate "Create a Python script that processes a list of numbers" --no-execute-test
# Disable automatic fixing of execution errors
gollm generate "Create a Python script that processes a list of numbers" --no-auto-fix
# Increase the maximum number of fix attempts (default is 5)
gollm generate "Create a complex data processing script" --max-fix-attempts 10# Use the default of 6 iterations for high-quality code
gollm generate "Create a robust error handling system"
# Specify a custom number of iterations
gollm generate "Create a robust error handling system" --iterations 10
# Use fast mode with minimal validation (1 iteration)
gollm generate "Create a simple utility function" --fastgollm generate "Create a simple Flask web app with a single endpoint that returns current time"gollm generate "Generate a FastAPI endpoint that accepts JSON and returns a greeting"# Generate a complete web application with frontend and backend
gollm generate "Create a to-do list web application with Flask and JavaScript"gollm generate "Write a Python script using pandas to load a CSV, clean the data, and create a basic visualization"gollm generate "Create a Python dataclass for a Product with name, price, and quantity"gollm generate "Create a simple machine learning model using scikit-learn for classifying iris flowers"gollm generate "Create a simple Python class" --adapter-type modular
gollm generate "Create a simple Python class" --adapter-type httpgollm generate "Write a Python function to sort a dictionary by value" --fastgollm generate "Write a function to reverse a string in JavaScript"
gollm generate "Create a simple Go HTTP server"gollm generate "Write a Python script that reads all .txt files in a directory and counts word frequencies"gollm generate "Create a Python client for a REST API that fetches and displays weather data"gollm generate "Write a Python script that connects to SQLite, creates a table, and performs CRUD operations"gollm generate "Create an asynchronous Python script that fetches data from multiple APIs concurrently"gollm generate "Implement the Observer design pattern in Python"
gollm generate "Create a Factory pattern implementation for different payment methods"gollm generate "Napisz funkcję w Pythonie, która oblicza średnią z listy liczb"
gollm generate "Stwórz klasę Pracownik z polami imię, nazwisko i wynagrodzenie"gollm generate "Napisz skrypt, który czyta plik CSV i generuje wykres słupkowy"
gollm generate "Stwórz aplikację webową do zarządzania zadaniami z użyciem Flask"gollm generate "Create a Dockerfile for a Python Flask application"gollm generate "Generate a GitHub Actions workflow for Python project with testing"gollm generate "Create a comprehensive .gitignore file for a Python project"
gollm generate "Generate a pyproject.toml file for a modern Python package"gollm generate "Create unit tests for a user authentication system"gollm generate "Write integration tests for a REST API using pytest"gollm generate "Implement a stack data structure using TDD approach"gollm "I'm getting 'IndexError: list index out of range' in my Python code. How to fix it?"gollm generate "Create a Python script that reads a CSV file containing sales data, calculates total sales per product, and generates a bar chart showing the top 10 best-selling products. The script should handle missing values and include error handling for file operations."Task: Process sales data from a CSV file. Calculate total sales per product and visualize the top 10 products. Include error handling and data validation.
gollm generate "Write a Python script using BeautifulSoup to scrape the latest news headlines from a news website. Extract the title, summary, and publication time, then save the results to a JSON file. Include error handling for network requests and HTML parsing."Task: Scrape news headlines from a website. Extract key details and save them in JSON format. Handle potential errors during web requests and parsing.
gollm generate "Create a FastAPI endpoint that accepts a list of email addresses, validates them, and returns which ones are valid. Include rate limiting, input validation, and proper error responses. Add a simple frontend to test the API."Task: Build an email validation API with FastAPI. Validate email addresses and return results. Include security measures and a test interface.
gollm generate "Write a Python script that loads a dataset from a URL, performs exploratory data analysis (missing values, statistics, correlations), and generates a PDF report with visualizations using matplotlib and pandas-profiling."Task: Analyze a dataset from a URL. Perform EDA and create a PDF report. Include visualizations and statistical summaries.
gollm generate "Create a Python script that monitors a directory for new image files, resizes them to a maximum width of 1200px while maintaining aspect ratio, and saves them in a new 'resized' directory. Include logging and proper error handling."Task: Monitor a folder for new images. Automatically resize images while keeping their aspect ratio. Log all operations and handle errors gracefully.
gollm generate "Write a Python script that connects to a PostgreSQL database, creates a 'users' table if it doesn't exist, and provides functions for CRUD operations. Include connection pooling and proper error handling."Task: Implement database operations for a users table. Support create, read, update, and delete operations. Use connection pooling and handle database errors.
gollm generate "Create a set of pytest tests for a simple shopping cart class. Include test cases for adding/removing items, calculating totals, and edge cases like empty cart and negative quantities."Task: Write comprehensive tests for a shopping cart. Cover all main functionalities and edge cases. Ensure tests are independent and maintainable.
gollm generate "Generate a README.md file for a Python package with sections for installation, usage examples, API reference, and contribution guidelines. Include code examples with proper syntax highlighting."Task: Create professional documentation for a Python package. Include all essential sections and clear examples. Format the content with proper markdown.
gollm generate "Write a Python function that securely hashes passwords using bcrypt and includes functions to verify hashed passwords. Include input validation and proper error handling."Task: Implement secure password hashing with bcrypt. Create functions for hashing and verification. Include input validation and error handling.
gollm generate "Create a Python script that renames all files in a directory to follow a specific pattern (e.g., 'image_001.jpg', 'image_002.jpg'). The script should handle different file types and include a dry-run option."Task: Batch rename files in a directory. Support different file types and include a dry-run option. Handle errors and edge cases.
gollm "Review this Python code for potential issues and suggest improvements"gollm generate "Optimize this Python function for better performance" --iterations 8gollm generate "Create a Python package structure for a utility library"gollm generate "Design a modular Flask application structure with blueprints"gollm generate "Design a microservice architecture for an e-commerce system"