This directory contains practical examples of using goLLM for various tasks.
gollm generate "Write a Python function to calculate factorial"
gollm generate "Create a Python script that implements a basic calculator class with unit tests"
gollm 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"
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 Python class" --adapter-type modular
gollm generate "Create a simple Python class" --adapter-type http
gollm generate "Write a Python function to sort a dictionary by value" --fast
gollm generate "Write a function to reverse a string in JavaScript"
gollm generate "Create a simple Go HTTP server"
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 "Create a Dockerfile for a Python Flask application"
gollm generate "Generate a GitHub Actions workflow for Python project with testing"
gollm "I'm getting 'IndexError: list index out of range' in my Python code. How to fix it?"
gollm "Review this Python code for potential issues and suggest improvements"
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"
We welcome contributions of new examples! Please follow these guidelines:
If you have questions about any of these examples or want to suggest new ones, please open an issue.