{ "content": "SYSTEM: You are a helpful assistant for web-app support.\n\nUSER CONTEXT: User ID 123 has previously reported login issues on 2024-01-15. Recent interactions show confusion about password reset flow. User preferences: technical explanations, quick solutions.\n\nKNOWLEDGE BASE: Authentication troubleshooting guide for web-app project shows common issues with OAuth redirects...\n\nRECENT EVENTS: System maintenance completed on auth service...", "metadata": { "token_count": 1247 }}
Endpoints
Resolve prompt
Fetch compressed, context-rich prompts from multiple contexts combined together
{ "content": "SYSTEM: You are a helpful assistant for web-app support.\n\nUSER CONTEXT: User ID 123 has previously reported login issues on 2024-01-15. Recent interactions show confusion about password reset flow. User preferences: technical explanations, quick solutions.\n\nKNOWLEDGE BASE: Authentication troubleshooting guide for web-app project shows common issues with OAuth redirects...\n\nRECENT EVENTS: System maintenance completed on auth service...", "metadata": { "token_count": 1247 }}
The prompt resolve endpoint fetches compressed, data-rich content from all contexts within a specified prompt. This combines multiple contexts in their defined order to create comprehensive prompts that give your LLM contextual awareness across different data sources without context rot.
Optional query string for RAG contexts. This helps filter and rank relevant content, preventing context rot by including only information semantically similar to your query.
{ "content": "SYSTEM: You are a helpful assistant for web-app support.\n\nUSER CONTEXT: User ID 123 has previously reported login issues on 2024-01-15. Recent interactions show confusion about password reset flow. User preferences: technical explanations, quick solutions.\n\nKNOWLEDGE BASE: Authentication troubleshooting guide for web-app project shows common issues with OAuth redirects...\n\nRECENT EVENTS: System maintenance completed on auth service...", "metadata": { "token_count": 1247 }}