Storing Completions
Basic Storage
TypeScript
Retrieving Completions
List Stored Completions
TypeScript
Filter by Metadata
TypeScript
Get Specific Completion
TypeScript
Updating Completions
Update Metadata
TypeScript
Deleting Completions
Delete Single Completion
TypeScript
CRUD operations are only available for completions created with
store=True. This feature is designed for OpenAI API compatibility and works with both Python and TypeScript SDKs.Summary
The Sudo SDK provides comprehensive functionality for building AI-powered applications in both Python and TypeScript:- System Endpoints: Monitor API health and discover available models
- Chat Completion: Generate responses from various AI models with extensive customization
- Streaming: Real-time response generation for interactive applications
- Tool Calling: Enable AI models to execute functions and interact with external systems
- Structured Output: Generate validated JSON responses for reliable data extraction
- Image Input: Process images and multimodal content with vision-capable models
- Reasoning: Access advanced reasoning capabilities for complex problem-solving
- CRUD Operations: Manage stored completions for analysis and improvement
- Python: GitHub Repository | PyPI Package
- TypeScript: GitHub Repository | npm Package