بنقرة واحدة
llm-development
// LLM and ML development best practices with LangChain and transformers. Use when building AI/ML applications.
// LLM and ML development best practices with LangChain and transformers. Use when building AI/ML applications.
Simplify and clean up code after changes are complete. Reduces complexity, improves readability, and ensures consistency.
Commit changes, push to remote, and create a pull request. Use for completing features or fixes ready for review.
Find and fix technical debt including duplicated code, dead code, outdated patterns, and code smells. Run at the end of sessions to clean up.
Python code style and formatting standards using Ruff. Use when writing or reviewing Python code.
Git workflow and commit conventions. Use when committing code, creating branches, or making pull requests.
Testing conventions using pytest. Use when writing tests, creating fixtures, or running test suites.
| name | llm-development |
| description | LLM and ML development best practices with LangChain and transformers. Use when building AI/ML applications. |
Example config structure:
config/
base.yaml
models/
gpt4.yaml
claude.yaml
experiments/
baseline.yaml
Example:
from langchain_core.prompts import ChatPromptTemplate
from langchain_core.output_parsers import StrOutputParser
prompt = ChatPromptTemplate.from_template("Summarize: {text}")
chain = prompt | llm | StrOutputParser()