Example 1 engineering report analysis pipeline

From vamseeachanta/workspace-hub · View interactive version

Example 1 engineering report analysis pipeline is an AI agent skill from the GitHub repository vamseeachanta/workspace-hub. Sub-skill of dspy: Example 1: Engineering Report Analysis Pipeline (+2).

How to use this skill

Skill file

Example 1: Engineering Report Analysis Pipeline (+2)

Example 1: Engineering Report Analysis Pipeline

import dspy
from dspy.teleprompt import BootstrapFewShot
from typing import List
import json

# Configure DSPy
dspy.settings.configure(lm=dspy.OpenAI(model="gpt-4", max_tokens=2000))

# Define signatures

*See sub-skills for full details.*

## Example 2: Optimized Technical Q&A System

import dspy

from dspy.teleprompt import BootstrapFewShotWithRandomSearch

from dspy.retrieve.chromadb_rm import ChromadbRM

Setup retriever

retriever = ChromadbRM(

collection_name="engineering_knowledge",

persist_directory="./chroma_db",

k=5

See sub-skills for full details.

Example 3: Comparison with Baseline

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.