Buckets:

download
raw
1.59 kB
"""effGen API Server v2 — Production Gateway.
Modules:
- openai_compat: OpenAI-compatible /v1/chat/completions and /v1/completions
- queue: RequestQueue with priority, fair scheduling, backpressure
- pool: AgentPool with min/max size and auto-scaling
- tenancy: Tenant config, API key management, per-tenant limits
- middleware: Production middleware (request ID, CORS, gzip, etc.)
"""
from __future__ import annotations
from effgen.api.embeddings import (
EmbeddingEngine,
TFIDFEmbedder,
create_embeddings_router,
)
from effgen.api.embeddings import (
LRUCache as EmbeddingLRUCache,
)
from effgen.api.embeddings import (
SQLiteCache as EmbeddingSQLiteCache,
)
from effgen.api.middleware import install_production_middleware
from effgen.api.openai_compat import (
MODEL_ALIASES,
ChatCompletionRequest,
ChatMessage,
CompletionRequest,
create_openai_router,
resolve_model_alias,
)
from effgen.api.pool import AgentPool, PooledAgent
from effgen.api.queue import QueuedRequest, RequestPriority, RequestQueue
from effgen.api.tenancy import APIKey, Tenant, TenantManager
__all__ = [
"MODEL_ALIASES",
"ChatCompletionRequest",
"ChatMessage",
"CompletionRequest",
"create_openai_router",
"resolve_model_alias",
"AgentPool",
"PooledAgent",
"RequestQueue",
"QueuedRequest",
"RequestPriority",
"Tenant",
"APIKey",
"TenantManager",
"install_production_middleware",
"EmbeddingEngine",
"EmbeddingLRUCache",
"EmbeddingSQLiteCache",
"TFIDFEmbedder",
"create_embeddings_router",
]

Xet Storage Details

Size:
1.59 kB
·
Xet hash:
38187f39ce01a3772cdab92f46c1601cd57d046415ca55660b5e0c8a0519bfa7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.