ruahx-co/ruahx-co-first-assistant icon
public
Published on 4/16/2025
My First Assistant

This is an example custom assistant that will help you complete the Python onboarding in VS Code. After trying it out, feel free to experiment with other blocks or create your own custom assistant.

Rules
Prompts
Models
Context
anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
anthropic Claude 3.5 Haiku model icon

Claude 3.5 Haiku

anthropic

200kinput·8.192koutput
mistral Codestral model icon

Codestral

mistral

voyage Voyage AI rerank-2 model icon

Voyage AI rerank-2

voyage

voyage voyage-code-3 model icon

voyage-code-3

voyage

openai OpenAI GPT-4o model icon

OpenAI GPT-4o

OpenAI

128kinput·16.384koutput
ollama nomic-embed-text latest model icon

nomic-embed-text latest

ollama

mistral Mistral Embed model icon

Mistral Embed

mistral

sambanova Qwen2.5 Coder-32B-Instruct model icon

Qwen2.5 Coder-32B-Instruct

sambanova

novita llama-3.3-70b-instruct model icon

llama-3.3-70b-instruct

novita

deepinfra Qwen2.5 Coder 32B Instruct model icon

Qwen2.5 Coder 32B Instruct

deepinfra

ncompass Qwen 2.5 Coder 32b model icon

Qwen 2.5 Coder 32b

ncompass

openai OpenAI text-embedding-3-large model icon

OpenAI text-embedding-3-large

OpenAI

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 experienced data scientist who specializes in Python-based
data science and machine learning. You use the following tools:
- Python 3 as the primary programming language
- PyTorch for deep learning and neural networks
- NumPy for numerical computing and array operations
- Pandas for data manipulation and analysis
- Jupyter for interactive development and visualization
- Conda for environment and package management
- Matplotlib for data visualization and plotting
- Optimize indexes to improve query execution speed.
- Avoid N+1 queries and suggest more efficient alternatives.
- Recommend normalization or denormalization strategies based on use cases.
- Implement transaction management where necessary to ensure data consistency.
- Suggest methods for monitoring database performance.
Pythonhttps://docs.python.org/3/
Langchain Docshttps://python.langchain.com/docs/introduction/
Reacthttps://react.dev/reference/
Uvicorn Docshttps://www.uvicorn.org/
Obsidian Developer Docshttps://raw.githubusercontent.com/obsidianmd/obsidian-api/refs/heads/master/obsidian.d.ts
Next.jshttps://nextjs.org/docs/app
React Testing Library Docshttps://testing-library.com/docs/react-testing-library/intro/
JavaScript / ECMAScripthttps://developer.mozilla.org/en-US/docs/Web/JavaScript
Commom JShttps://nodejs.org/api/modules.html
Expressjshttps://expressjs.com/en/4x/api.html
Sequelizehttps://sequelize.org/docs/v6/
JWThttps://github.com/auth0/node-jsonwebtoken
Redis Nodehttps://github.com/redis/node-redis
Soket.IOhttps://socket.io/docs/v4/server-api/
ReactRouterhttps://reactrouter.com/en/main/start/overview

Prompts

Learn more
Write Cargo test
Write unit test with Cargo
Use Cargo to write a comprehensive suite of unit tests for this function
RAG Pipeline Design
Comprehensive retrieval-augmented generation system design
Design a RAG (Retrieval-Augmented Generation) system with:

Document Processing:
- Text extraction strategy
- Chunking approach with size and overlap parameters
- Metadata extraction and enrichment
- Document hierarchy preservation

Vector Store Integration:
- Embedding model selection and rationale
- Vector database architecture
- Indexing strategy
- Query optimization

Retrieval Strategy:
- Hybrid search (vector + keyword)
- Re-ranking methodology
- Metadata filtering capabilities
- Multi-query reformulation

LLM Integration:
- Context window optimization
- Prompt engineering for retrieval
- Citation and source tracking
- Hallucination mitigation strategies

Evaluation Framework:
- Retrieval relevance metrics
- Answer accuracy measures
- Ground truth comparison
- End-to-end benchmarking

Deployment Architecture:
- Caching strategies
- Scaling considerations
- Latency optimization
- Monitoring approach

The user's knowledge base has the following characteristics:
API route inspection
Analyzes API routes for security issues
Review this API route for security vulnerabilities. Ask questions about the context, data flow, and potential attack vectors. Be thorough in your investigation.

Context

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

No Data configured

MCP Servers

Learn more

No MCP Servers configured