Featured
Translation tool calling
Translate conversations between different languages during chat sessions.
Web search tool calling
Answer real-time questions by retrieving up-to-date information from the internet during a chat.
Multimodal chat completions
Send both text and images in the same message to enable rich, visual conversations with Palmyra X5.
All cookbooks
Applications
Working with no-code agents
Retrieve no-code agent metadata and generate output from them using the Writer SDK.
Knowledge Graph management
Attach a Knowledge Graph to a no-code agent programmatically.
Run no-code agents asynchronously
Run no-code agents asynchronously and manage asynchronous jobs.
Completions
Text completion
Use the Writer Python SDK for text completion tasks.
Chat completion
Build single-turn and multi-turn chat completions to support conversational AI applications.
Multimodal chat completion
Send both text and images in the same message to enable rich, visual conversations with Palmyra X5.
Structured completions
Get predictable, machine-readable responses from Palmyra LLMs using JSON Schema or Pydantic objects.
Knowledge Graph
Knowledge Graph
Use our RAG implementation to create, manage, and use structured data to enhance AI capabilities.
Knowledge Graph tool calling
Access a Knowledge Graph in a chat with a Palmyra LLM.
Palmyra models
List all models
List all of the Palmyra models available in the Writer API.
Palmyra Creative
Use the Palmyra Creative model to generate creative content.
Palmyra Fin
Use the Palmyra Fin model for financial analysis and forecasting.
Palmyra Med
Use the Palmyra Med model to answer medical questions and analyze medical records.
Tool calling
Tool calling fundamentals
Learn how to use tool calling to enhance the functionality of your LLM.
LLM tool calling
Use model delegation to refer medical questions to the Palmyra Med model during a chat.
Knowledge Graph tool calling
Access a Knowledge Graph in a chat with a Palmyra LLM.
Streaming tool calls
Use tool calling with streaming responses.
Math tool calling example
Extend the capabilities of your LLM with predefined mathematical functions.
Translation tool calling
Translate text between different languages in chat completions.
Web search tool calling
Answer real-time questions by retrieving up-to-date information from the internet during a chat.