Agent skill

prompt-engineering-openai-integration

Sub-skill of prompt-engineering: OpenAI Integration (+1).

Stars 4
Forks 4

Install this agent skill to your Project

npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/ai/prompting/prompt-engineering/openai-integration

SKILL.md

OpenAI Integration (+1)

OpenAI Integration

python
import openai

def create_openai_caller(model: str = "gpt-4", temperature: float = 0.7):
    """Create OpenAI API caller."""
    client = openai.OpenAI()

    def call(prompt: str, system: str = None) -> str:
        messages = []
        if system:

*See sub-skills for full details.*

## Anthropic Integration


```python
import anthropic

def create_anthropic_caller(model: str = "claude-3-opus-20240229"):
    """Create Anthropic API caller."""
    client = anthropic.Anthropic()

    def call(prompt: str, system: str = None) -> str:
        response = client.messages.create(
            model=model,

*See sub-skills for full details.*

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results