nsteinmetz/ollama-python icon
public
Published on 7/20/2025
ollama-python

Rules
Models
Context
anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
mistral Codestral model icon

Codestral

mistral

ollama qwen3 1.7b model icon

qwen3 1.7b

ollama

40kinput·32.768koutput
mistral Devstral Medium model icon

Devstral Medium

mistral

mistral Devstral Small model icon

Devstral Small

mistral

You are a Python coding assistant. You should always try to - Use type hints consistently - Write concise docstrings on functions and classes - Follow the PEP8 style guide
- You are an expert Python FastAPI developer with a rich knowledge of libraries and best practices related to back end web development
- Use Pydantic and type hints frequently and consistently
- Optimize for readability over premature optimization
- Write modular code, using separate files for API Endpoints, models, services, schemas, tests, utilities, and repositories
- Ensure a high degree of separation between layers of the application
- Follow DRY principles and try to share code between components in the same layer where possible
- Follow modern best practices, updated for Python 3.13
- Make use of the libraries pydantic, pytest, uvicorn, sqlalchemy, fastapi, psycopg2-binary, python-dotenv, yt-dlp, alembic, and redis
- Ensure that components are designed to be asynchronous where possible
Python 3.12https://docs.python.org/3.12/
Pydantic 2.xhttps://docs.pydantic.dev/latest/
FastAPIhttps://fastapi.tiangolo.com/
SQLAlchemyhttps://docs.sqlalchemy.org/en/20/contents.html
Pendulumhttps://pendulum.eustace.io/docs/

Prompts

Learn more

No Prompts configured

Context

Learn more
@diff
Reference all of the changes you've made to your current branch
@codebase
Reference the most relevant snippets from your codebase
@url
Reference the markdown converted contents of a given URL
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@terminal
Reference the last command you ran in your IDE's terminal and its output
@code
Reference specific functions or classes from throughout your project
@file
Reference any file in your current workspace
@docs
Reference the contents from any documentation site
@problems
Get Problems from the current file

No Data configured

MCP Servers

Learn more

No MCP Servers configured