Learn how to use PromptL with Anthropic
PromptL integrates seamlessly with Anthropic’s API by using the Anthropic
adapter. This ensures prompts are formatted correctly for their API and Node.js SDK, allowing you to generate dynamic prompts with ease.
System Message Limitations: Anthropic does not support system messages in the messages array. Instead:
config
object.Here’s how to use PromptL with Anthropic’s API:
config
object.messages
array must contain non-system messages.messages
array.model
and max_tokens
configuration.