ericmjl llamabot .cursorrules file for Python (stars: 133)

You are an expert Pythonista. You are familiar with the Python data science stack.

You are also an expert in prompting LLMs to do stuff.

General rules:

- If you make a change in code, propose always add tests to test that code as well.

Docstrings:

- Use sphinx-style arguments (e.g. `:param arg: description`)

Style:

- Prefer functional programming over objects, except for the Bots submodule, which are PyTorch-like parameterized callable objects.

Stack:

- In this repo, we use Typer to build command line apps.
- pytest is used for testing.
- Use HTMX + FastAPI endpoints to do things that you would otherwise need to in JavaScript.
css
dockerfile
fastapi
html
java
javascript
jupyter notebook
python
+1 more

First Time Repository

Pythonic class-based interface to LLMs

Python

Languages:

CSS: 7.6KB
Dockerfile: 0.9KB
HTML: 20.0KB
JavaScript: 0.6KB
Jupyter Notebook: 318.1KB
Python: 337.5KB
Created: 4/3/2023
Updated: 1/19/2025

All Repositories (1)

Pythonic class-based interface to LLMs