cencori 1.16.2 → 1.16.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -400,16 +400,16 @@ const response = await cencori.ai.generateImage({
400
400
  prompt: 'A futuristic city at sunset with flying cars',
401
401
  model: 'gpt-image-1.5', // Best text rendering, top ELO rating
402
402
  size: '1024x1024',
403
- quality: 'hd'
403
+ quality: 'high'
404
404
  });
405
405
 
406
- console.log(response.images[0].url); // https://...
406
+ console.log(response.images[0].b64_json); // base64 image data
407
407
  ```
408
408
 
409
409
  **Supported Models:**
410
410
  | Provider | Models | Description |
411
411
  |----------|--------|-------------|
412
- | **OpenAI** | `gpt-image-1.5`, `gpt-image-1`, `dall-e-3`, `dall-e-2` | Text rendering, creative |
412
+ | **OpenAI** | `gpt-image-2`, `gpt-image-1.5`, `gpt-image-1`, `gpt-image-1-mini` | Text rendering, creative |
413
413
  | **Google** | `gemini-3-pro-image`, `imagen-3` | High photorealism |
414
414
 
415
415
  ## Framework Integrations
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig, a as ChatRequest, b as ChatResponse, T as ToolCall, K as KnowledgeCitation, c as CompletionRequest, E as EmbeddingRequest, d as EmbeddingResponse, M as ModerationRequest, e as ModerationResponse, G as GenerateObjectRequest, f as GenerateObjectResponse, I as ImageGenerationRequest, g as ImageGenerationResponse, R as ResponsesRequest, h as ResponsesResponse } from '../types-9nSEJEk2.mjs';
1
+ import { C as CencoriConfig, a as ChatRequest, b as ChatResponse, T as ToolCall, K as KnowledgeCitation, c as CompletionRequest, E as EmbeddingRequest, d as EmbeddingResponse, M as ModerationRequest, e as ModerationResponse, G as GenerateObjectRequest, f as GenerateObjectResponse, I as ImageGenerationRequest, g as ImageGenerationResponse, R as ResponsesRequest, h as ResponsesResponse } from '../types-B1O7bxwW.mjs';
2
2
 
3
3
  /**
4
4
  * AI Gateway - Chat, Completions, Embeddings, and Streaming
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig, a as ChatRequest, b as ChatResponse, T as ToolCall, K as KnowledgeCitation, c as CompletionRequest, E as EmbeddingRequest, d as EmbeddingResponse, M as ModerationRequest, e as ModerationResponse, G as GenerateObjectRequest, f as GenerateObjectResponse, I as ImageGenerationRequest, g as ImageGenerationResponse, R as ResponsesRequest, h as ResponsesResponse } from '../types-9nSEJEk2.js';
1
+ import { C as CencoriConfig, a as ChatRequest, b as ChatResponse, T as ToolCall, K as KnowledgeCitation, c as CompletionRequest, E as EmbeddingRequest, d as EmbeddingResponse, M as ModerationRequest, e as ModerationResponse, G as GenerateObjectRequest, f as GenerateObjectResponse, I as ImageGenerationRequest, g as ImageGenerationResponse, R as ResponsesRequest, h as ResponsesResponse } from '../types-B1O7bxwW.js';
2
2
 
3
3
  /**
4
4
  * AI Gateway - Chat, Completions, Embeddings, and Streaming
@@ -1,4 +1,4 @@
1
- import { i as ComputeRunOptions } from '../types-9nSEJEk2.mjs';
1
+ import { i as ComputeRunOptions } from '../types-B1O7bxwW.mjs';
2
2
 
3
3
  /**
4
4
  * Compute Namespace - Serverless Functions & GPU Access
@@ -1,4 +1,4 @@
1
- import { i as ComputeRunOptions } from '../types-9nSEJEk2.js';
1
+ import { i as ComputeRunOptions } from '../types-B1O7bxwW.js';
2
2
 
3
3
  /**
4
4
  * Compute Namespace - Serverless Functions & GPU Access
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig } from '../types-9nSEJEk2.mjs';
1
+ import { C as CencoriConfig } from '../types-B1O7bxwW.mjs';
2
2
 
3
3
  /**
4
4
  * Documents API — extract text from PDFs and images, summarize, and query.
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig } from '../types-9nSEJEk2.js';
1
+ import { C as CencoriConfig } from '../types-B1O7bxwW.js';
2
2
 
3
3
  /**
4
4
  * Documents API — extract text from PDFs and images, summarize, and query.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CencoriConfig, j as RequestOptions } from './types-9nSEJEk2.mjs';
2
- export { k as ChatMessage, a as ChatRequest, b as ChatResponse, s as CodeInterpreterTool, c as CompletionRequest, E as EmbeddingRequest, d as EmbeddingResponse, F as FileSearchTool, K as KnowledgeCitation, n as ModerationInputPart, m as ModerationMatch, M as ModerationRequest, e as ModerationResponse, l as ModerationResult, p as ResponseInputItem, o as ResponsesOutputItem, R as ResponsesRequest, h as ResponsesResponse, q as ResponsesTool, U as UrlCitation, r as WebSearchTool } from './types-9nSEJEk2.mjs';
1
+ import { C as CencoriConfig, j as RequestOptions } from './types-B1O7bxwW.mjs';
2
+ export { k as ChatMessage, a as ChatRequest, b as ChatResponse, s as CodeInterpreterTool, c as CompletionRequest, E as EmbeddingRequest, d as EmbeddingResponse, F as FileSearchTool, K as KnowledgeCitation, n as ModerationInputPart, m as ModerationMatch, M as ModerationRequest, e as ModerationResponse, l as ModerationResult, p as ResponseInputItem, o as ResponsesOutputItem, R as ResponsesRequest, h as ResponsesResponse, q as ResponsesTool, U as UrlCitation, r as WebSearchTool } from './types-B1O7bxwW.mjs';
3
3
  import { AINamespace } from './ai/index.mjs';
4
4
  export { StreamChunk } from './ai/index.mjs';
5
5
  import { VisionNamespace } from './vision/index.mjs';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CencoriConfig, j as RequestOptions } from './types-9nSEJEk2.js';
2
- export { k as ChatMessage, a as ChatRequest, b as ChatResponse, s as CodeInterpreterTool, c as CompletionRequest, E as EmbeddingRequest, d as EmbeddingResponse, F as FileSearchTool, K as KnowledgeCitation, n as ModerationInputPart, m as ModerationMatch, M as ModerationRequest, e as ModerationResponse, l as ModerationResult, p as ResponseInputItem, o as ResponsesOutputItem, R as ResponsesRequest, h as ResponsesResponse, q as ResponsesTool, U as UrlCitation, r as WebSearchTool } from './types-9nSEJEk2.js';
1
+ import { C as CencoriConfig, j as RequestOptions } from './types-B1O7bxwW.js';
2
+ export { k as ChatMessage, a as ChatRequest, b as ChatResponse, s as CodeInterpreterTool, c as CompletionRequest, E as EmbeddingRequest, d as EmbeddingResponse, F as FileSearchTool, K as KnowledgeCitation, n as ModerationInputPart, m as ModerationMatch, M as ModerationRequest, e as ModerationResponse, l as ModerationResult, p as ResponseInputItem, o as ResponsesOutputItem, R as ResponsesRequest, h as ResponsesResponse, q as ResponsesTool, U as UrlCitation, r as WebSearchTool } from './types-B1O7bxwW.js';
3
3
  import { AINamespace } from './ai/index.js';
4
4
  export { StreamChunk } from './ai/index.js';
5
5
  import { VisionNamespace } from './vision/index.js';
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig } from '../types-9nSEJEk2.mjs';
1
+ import { C as CencoriConfig } from '../types-B1O7bxwW.mjs';
2
2
 
3
3
  /**
4
4
  * Judgment API — structured decisions from decision models.
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig } from '../types-9nSEJEk2.js';
1
+ import { C as CencoriConfig } from '../types-B1O7bxwW.js';
2
2
 
3
3
  /**
4
4
  * Judgment API — structured decisions from decision models.
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig } from '../types-9nSEJEk2.mjs';
1
+ import { C as CencoriConfig } from '../types-B1O7bxwW.mjs';
2
2
 
3
3
  /**
4
4
  * Cencori Memory SDK
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig } from '../types-9nSEJEk2.js';
1
+ import { C as CencoriConfig } from '../types-B1O7bxwW.js';
2
2
 
3
3
  /**
4
4
  * Cencori Memory SDK
@@ -1,4 +1,4 @@
1
- import { V as VectorSearchOptions } from '../types-9nSEJEk2.mjs';
1
+ import { V as VectorSearchOptions } from '../types-B1O7bxwW.mjs';
2
2
 
3
3
  /**
4
4
  * Storage Namespace - Vector Database, Knowledge Base, RAG
@@ -1,4 +1,4 @@
1
- import { V as VectorSearchOptions } from '../types-9nSEJEk2.js';
1
+ import { V as VectorSearchOptions } from '../types-B1O7bxwW.js';
2
2
 
3
3
  /**
4
4
  * Storage Namespace - Vector Database, Knowledge Base, RAG
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig } from '../types-9nSEJEk2.mjs';
1
+ import { C as CencoriConfig } from '../types-B1O7bxwW.mjs';
2
2
 
3
3
  /**
4
4
  * Cencori Telemetry Client
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig } from '../types-9nSEJEk2.js';
1
+ import { C as CencoriConfig } from '../types-B1O7bxwW.js';
2
2
 
3
3
  /**
4
4
  * Cencori Telemetry Client
@@ -308,9 +308,9 @@ interface ImageGenerationRequest {
308
308
  n?: number;
309
309
  /** Image size (availability varies by model) */
310
310
  size?: '256x256' | '512x512' | '1024x1024' | '1024x1792' | '1792x1024' | '1536x1024' | '1024x1536';
311
- /** Image quality (DALL-E 3 / GPT Image only) */
312
- quality?: 'standard' | 'hd';
313
- /** Image style (DALL-E 3 only) */
311
+ /** Image quality. 'standard' and 'hd' are read as 'medium' and 'high'. */
312
+ quality?: 'low' | 'medium' | 'high' | 'standard' | 'hd';
313
+ /** Not used by the current OpenAI image models. */
314
314
  style?: 'vivid' | 'natural';
315
315
  /** Response format */
316
316
  responseFormat?: 'url' | 'b64_json';
@@ -308,9 +308,9 @@ interface ImageGenerationRequest {
308
308
  n?: number;
309
309
  /** Image size (availability varies by model) */
310
310
  size?: '256x256' | '512x512' | '1024x1024' | '1024x1792' | '1792x1024' | '1536x1024' | '1024x1536';
311
- /** Image quality (DALL-E 3 / GPT Image only) */
312
- quality?: 'standard' | 'hd';
313
- /** Image style (DALL-E 3 only) */
311
+ /** Image quality. 'standard' and 'hd' are read as 'medium' and 'high'. */
312
+ quality?: 'low' | 'medium' | 'high' | 'standard' | 'hd';
313
+ /** Not used by the current OpenAI image models. */
314
314
  style?: 'vivid' | 'natural';
315
315
  /** Response format */
316
316
  responseFormat?: 'url' | 'b64_json';
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig } from '../types-9nSEJEk2.mjs';
1
+ import { C as CencoriConfig } from '../types-B1O7bxwW.mjs';
2
2
 
3
3
  /**
4
4
  * Vision API — analyze, describe, OCR, and classify images.
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig } from '../types-9nSEJEk2.js';
1
+ import { C as CencoriConfig } from '../types-B1O7bxwW.js';
2
2
 
3
3
  /**
4
4
  * Vision API — analyze, describe, OCR, and classify images.
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig } from '../types-9nSEJEk2.mjs';
1
+ import { C as CencoriConfig } from '../types-B1O7bxwW.mjs';
2
2
 
3
3
  /**
4
4
  * Voice API — text-to-speech and speech-to-text across providers.
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig } from '../types-9nSEJEk2.js';
1
+ import { C as CencoriConfig } from '../types-B1O7bxwW.js';
2
2
 
3
3
  /**
4
4
  * Voice API — text-to-speech and speech-to-text across providers.
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig } from '../types-9nSEJEk2.mjs';
1
+ import { C as CencoriConfig } from '../types-B1O7bxwW.mjs';
2
2
 
3
3
  /** Cencori Web — first-party fetch, extraction, crawl, and search primitives. */
4
4
 
@@ -1,4 +1,4 @@
1
- import { C as CencoriConfig } from '../types-9nSEJEk2.js';
1
+ import { C as CencoriConfig } from '../types-B1O7bxwW.js';
2
2
 
3
3
  /** Cencori Web — first-party fetch, extraction, crawl, and search primitives. */
4
4
 
@@ -1,4 +1,4 @@
1
- import { W as WorkflowTriggerOptions } from '../types-9nSEJEk2.mjs';
1
+ import { W as WorkflowTriggerOptions } from '../types-B1O7bxwW.mjs';
2
2
 
3
3
  /**
4
4
  * Workflow Namespace - AI Pipelines & Orchestration
@@ -1,4 +1,4 @@
1
- import { W as WorkflowTriggerOptions } from '../types-9nSEJEk2.js';
1
+ import { W as WorkflowTriggerOptions } from '../types-B1O7bxwW.js';
2
2
 
3
3
  /**
4
4
  * Workflow Namespace - AI Pipelines & Orchestration
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "cencori",
4
- "version": "1.16.2",
4
+ "version": "1.16.3",
5
5
  "description": "Cencori - The unified infrastructure layer for AI applications. One SDK for AI Gateway, Agents, Compute, Workflow, and Storage.",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.mjs",