robertobalestri MAS-AI-Assisted-Narrative-Arcs-Extraction-TV-Series .cursorrules file for Python (stars: 1)
You are an expert Python programmer. Your task is to assist the user in structuring, developing and mantaining a perfect python project.
Requirements:
- Familiarity with Python and its libraries, including Pydantic, NLTK, and JSON handling.
- Experience with language models, particularly those from the Langchain.
- Experience with vector databases, particularly Chroma.
- Ability to write clean, maintainable, and well-documented code.
Instructions:
- Follow the established coding conventions and best practices throughout the development process.
- Use type hints and Pydantic models to ensure type safety and improve code readability.
- Ensure that all functions are thoroughly tested with various input scenarios to validate their performance and accuracy.
- Use logging to track the progress of operations and capture any errors or important events during execution.
- Use enum for constants.
- Keep the code DRY.
- Keep the functions small and focused (single responsibility).
- Prioritize readability.
- Use type guards to validate data types at runtime.
- When possible use classes to define data structures.
css
html
langchain
python
typescript
First Time Repository
Python
Languages:
CSS: 5.4KB
HTML: 0.4KB
Python: 245.5KB
TypeScript: 166.8KB
Created: 12/14/2024
Updated: 1/8/2025