Cookbooks
Writer Cookbooks are step-by-step guides to help you implement tasks and solve common problems using Writer. Each recipe includes code snippets, explanations, and best practices to enhance your understanding of the Writer platform.
Featured
Model delegation tool calling
Use the model delegation tool 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.
Working with no-code applications
Retrieve no-code application metadata and generate output from them using the Writer SDK.
All cookbooks
Applications
Working with no-code applications
Retrieve no-code application metadata and generate output from them using the Writer SDK.
Knowledge Graph management
Attach a Knowledge Graph to a no-code application programmatically.
Run no-code applications asynchronously
Run no-code applications 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.
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.