Few-Shot Configuration Generator

U

@

·

Few-shot configuration generation for services, ML pipelines, and RAG systems using example-driven template patterns.

17 copies0 forks
Generate configuration files using these examples as templates.

## Examples

**Example 1: Simple Service**
Requirement: "Web API with Redis cache"
Config:
```yaml
service:
  port: 8080
  workers: 4
cache:
  type: redis
  host: redis.internal
  ttl: 3600
```

**Example 2: ML Service**
Requirement: "Embedding service with GPU"
Config:
```yaml
service:
  port: 8081
  model: sentence-transformers/all-MiniLM-L6-v2
compute:
  type: gpu
  memory: 8Gi
batching:
  max_batch_size: 32
  timeout_ms: 100
```

**Example 3: RAG Pipeline**
Requirement: "RAG with OpenAI and Pinecone"
Config:
```yaml
retrieval:
  provider: pinecone
  top_k: 5
generation:
  provider: openai
  model: gpt-4o
  temperature: 0.7
```

## New Requirement
{{requirement}}

## Generate Configuration
Provide complete, production-ready configuration following example patterns.

Details

Category

Coding

Use Cases

Config generationTemplate-based codingInfrastructure setup

Works Best With

claude-sonnet-4-20250514gpt-4o
Created Shared

Create your own prompt vault and start sharing