# System prompt in JavaScript

This folder contains JavaScript examples for interacting with OpenAI, Anthropic, and Google Gemini models using system prompts.

## Requirements

- [Node.js](https://nodejs.org/)
- Corresponding API keys are set as environment variables (`OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, and `GOOGLE_API_KEY`) 

## Examples

- `openai-gpt-system-prompt/`: System prompt with OpenAI GPT models.
- `anthropic-claude-system-prompt/`: System prompt with Anthropic Claude models.
- `google-gemini-system-prompt/`: System prompt with Google Gemini models.
- `ollama-local-system-prompt/`: System prompt with Ollama models.

## Other instruction mechanisms

- [Agent skills](../agent-skills/): Reusable packages of instructions and resources.
- [Instruction artifacts](../python/instruction-artifacts/): Project-specific guidance files (e.g., `AGENTS.md`).

## Running the examples

Each example is in its own folder and contains a `README.md` with instructions on how to run it.
