@homeflare/distilled-litellm 0.2.0
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/LICENSE +201 -0
- package/README.md +77 -0
- package/dist/credentials.d.ts +27 -0
- package/dist/credentials.d.ts.map +1 -0
- package/dist/credentials.js +67 -0
- package/dist/credentials.js.map +1 -0
- package/dist/errors.d.ts +92 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +72 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -0
- package/dist/protocol.d.ts +18 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +135 -0
- package/dist/protocol.js.map +1 -0
- package/dist/retry.d.ts +50 -0
- package/dist/retry.d.ts.map +1 -0
- package/dist/retry.js +43 -0
- package/dist/retry.js.map +1 -0
- package/dist/services/a2a.d.ts +70 -0
- package/dist/services/a2a.d.ts.map +1 -0
- package/dist/services/a2a.js +128 -0
- package/dist/services/a2a.js.map +1 -0
- package/dist/services/a2a_registration.d.ts +43 -0
- package/dist/services/a2a_registration.d.ts.map +1 -0
- package/dist/services/a2a_registration.js +40 -0
- package/dist/services/a2a_registration.js.map +1 -0
- package/dist/services/access_groups.d.ts +192 -0
- package/dist/services/access_groups.d.ts.map +1 -0
- package/dist/services/access_groups.js +283 -0
- package/dist/services/access_groups.js.map +1 -0
- package/dist/services/adaptive_router.d.ts +15 -0
- package/dist/services/adaptive_router.d.ts.map +1 -0
- package/dist/services/adaptive_router.js +25 -0
- package/dist/services/adaptive_router.js.map +1 -0
- package/dist/services/agents.d.ts +537 -0
- package/dist/services/agents.d.ts.map +1 -0
- package/dist/services/agents.js +481 -0
- package/dist/services/agents.js.map +1 -0
- package/dist/services/alerting.d.ts +15 -0
- package/dist/services/alerting.d.ts.map +1 -0
- package/dist/services/alerting.js +25 -0
- package/dist/services/alerting.js.map +1 -0
- package/dist/services/anthropic_pass_through.d.ts +70 -0
- package/dist/services/anthropic_pass_through.d.ts.map +1 -0
- package/dist/services/anthropic_pass_through.js +114 -0
- package/dist/services/anthropic_pass_through.js.map +1 -0
- package/dist/services/anthropic_passthrough.d.ts +35 -0
- package/dist/services/anthropic_passthrough.d.ts.map +1 -0
- package/dist/services/anthropic_passthrough.js +59 -0
- package/dist/services/anthropic_passthrough.js.map +1 -0
- package/dist/services/anthropic_skills.d.ts +74 -0
- package/dist/services/anthropic_skills.d.ts.map +1 -0
- package/dist/services/anthropic_skills.js +94 -0
- package/dist/services/anthropic_skills.js.map +1 -0
- package/dist/services/assembly_ai_eu_pass_through.d.ts +70 -0
- package/dist/services/assembly_ai_eu_pass_through.d.ts.map +1 -0
- package/dist/services/assembly_ai_eu_pass_through.js +114 -0
- package/dist/services/assembly_ai_eu_pass_through.js.map +1 -0
- package/dist/services/assembly_ai_pass_through.d.ts +70 -0
- package/dist/services/assembly_ai_pass_through.d.ts.map +1 -0
- package/dist/services/assembly_ai_pass_through.js +114 -0
- package/dist/services/assembly_ai_pass_through.js.map +1 -0
- package/dist/services/assistants.d.ts +185 -0
- package/dist/services/assistants.d.ts.map +1 -0
- package/dist/services/assistants.js +331 -0
- package/dist/services/assistants.js.map +1 -0
- package/dist/services/audio.d.ts +57 -0
- package/dist/services/audio.d.ts.map +1 -0
- package/dist/services/audio.js +96 -0
- package/dist/services/audio.js.map +1 -0
- package/dist/services/audit_logging.d.ts +98 -0
- package/dist/services/audit_logging.d.ts.map +1 -0
- package/dist/services/audit_logging.js +83 -0
- package/dist/services/audit_logging.js.map +1 -0
- package/dist/services/auto_router.d.ts +286 -0
- package/dist/services/auto_router.d.ts.map +1 -0
- package/dist/services/auto_router.js +248 -0
- package/dist/services/auto_router.js.map +1 -0
- package/dist/services/aws_comprehend_medical_pass_through.d.ts +36 -0
- package/dist/services/aws_comprehend_medical_pass_through.d.ts.map +1 -0
- package/dist/services/aws_comprehend_medical_pass_through.js +56 -0
- package/dist/services/aws_comprehend_medical_pass_through.js.map +1 -0
- package/dist/services/azure_ai_pass_through.d.ts +70 -0
- package/dist/services/azure_ai_pass_through.d.ts.map +1 -0
- package/dist/services/azure_ai_pass_through.js +112 -0
- package/dist/services/azure_ai_pass_through.js.map +1 -0
- package/dist/services/azure_pass_through.d.ts +70 -0
- package/dist/services/azure_pass_through.d.ts.map +1 -0
- package/dist/services/azure_pass_through.js +107 -0
- package/dist/services/azure_pass_through.js.map +1 -0
- package/dist/services/batch.d.ts +165 -0
- package/dist/services/batch.d.ts.map +1 -0
- package/dist/services/batch.js +265 -0
- package/dist/services/batch.js.map +1 -0
- package/dist/services/bedrock_pass_through.d.ts +70 -0
- package/dist/services/bedrock_pass_through.d.ts.map +1 -0
- package/dist/services/bedrock_pass_through.js +114 -0
- package/dist/services/bedrock_pass_through.js.map +1 -0
- package/dist/services/beta_agents.d.ts +199 -0
- package/dist/services/beta_agents.d.ts.map +1 -0
- package/dist/services/beta_agents.js +151 -0
- package/dist/services/beta_agents.js.map +1 -0
- package/dist/services/beta_mcp.d.ts +37 -0
- package/dist/services/beta_mcp.d.ts.map +1 -0
- package/dist/services/beta_mcp.js +40 -0
- package/dist/services/beta_mcp.js.map +1 -0
- package/dist/services/budget_management.d.ts +185 -0
- package/dist/services/budget_management.d.ts.map +1 -0
- package/dist/services/budget_management.js +196 -0
- package/dist/services/budget_management.js.map +1 -0
- package/dist/services/budget_spend_tracking.d.ts +967 -0
- package/dist/services/budget_spend_tracking.d.ts.map +1 -0
- package/dist/services/budget_spend_tracking.js +1103 -0
- package/dist/services/budget_spend_tracking.js.map +1 -0
- package/dist/services/cache_settings.d.ts +96 -0
- package/dist/services/cache_settings.d.ts.map +1 -0
- package/dist/services/cache_settings.js +95 -0
- package/dist/services/cache_settings.js.map +1 -0
- package/dist/services/caching.d.ts +54 -0
- package/dist/services/caching.d.ts.map +1 -0
- package/dist/services/caching.js +78 -0
- package/dist/services/caching.js.map +1 -0
- package/dist/services/chat_completions.d.ts +656 -0
- package/dist/services/chat_completions.d.ts.map +1 -0
- package/dist/services/chat_completions.js +590 -0
- package/dist/services/chat_completions.js.map +1 -0
- package/dist/services/claude_code_marketplace.d.ts +212 -0
- package/dist/services/claude_code_marketplace.d.ts.map +1 -0
- package/dist/services/claude_code_marketplace.js +248 -0
- package/dist/services/claude_code_marketplace.js.map +1 -0
- package/dist/services/cloudzero.d.ts +117 -0
- package/dist/services/cloudzero.d.ts.map +1 -0
- package/dist/services/cloudzero.js +130 -0
- package/dist/services/cloudzero.js.map +1 -0
- package/dist/services/cohere_pass_through.d.ts +70 -0
- package/dist/services/cohere_pass_through.d.ts.map +1 -0
- package/dist/services/cohere_pass_through.js +112 -0
- package/dist/services/cohere_pass_through.js.map +1 -0
- package/dist/services/completions.d.ts +59 -0
- package/dist/services/completions.d.ts.map +1 -0
- package/dist/services/completions.js +98 -0
- package/dist/services/completions.js.map +1 -0
- package/dist/services/compliance.d.ts +66 -0
- package/dist/services/compliance.d.ts.map +1 -0
- package/dist/services/compliance.js +74 -0
- package/dist/services/compliance.js.map +1 -0
- package/dist/services/config_overrides.d.ts +157 -0
- package/dist/services/config_overrides.d.ts.map +1 -0
- package/dist/services/config_overrides.js +207 -0
- package/dist/services/config_overrides.js.map +1 -0
- package/dist/services/config_yaml.d.ts +647 -0
- package/dist/services/config_yaml.d.ts.map +1 -0
- package/dist/services/config_yaml.js +504 -0
- package/dist/services/config_yaml.js.map +1 -0
- package/dist/services/containers.d.ts +215 -0
- package/dist/services/containers.d.ts.map +1 -0
- package/dist/services/containers.js +416 -0
- package/dist/services/containers.js.map +1 -0
- package/dist/services/coordination_redis_settings.d.ts +93 -0
- package/dist/services/coordination_redis_settings.d.ts.map +1 -0
- package/dist/services/coordination_redis_settings.js +104 -0
- package/dist/services/coordination_redis_settings.js.map +1 -0
- package/dist/services/cost_tracking.d.ts +140 -0
- package/dist/services/cost_tracking.d.ts.map +1 -0
- package/dist/services/cost_tracking.js +181 -0
- package/dist/services/cost_tracking.js.map +1 -0
- package/dist/services/credential_management.d.ts +133 -0
- package/dist/services/credential_management.d.ts.map +1 -0
- package/dist/services/credential_management.js +198 -0
- package/dist/services/credential_management.js.map +1 -0
- package/dist/services/cursor_pass_through.d.ts +70 -0
- package/dist/services/cursor_pass_through.d.ts.map +1 -0
- package/dist/services/cursor_pass_through.js +112 -0
- package/dist/services/cursor_pass_through.js.map +1 -0
- package/dist/services/customer_management.d.ts +545 -0
- package/dist/services/customer_management.d.ts.map +1 -0
- package/dist/services/customer_management.js +567 -0
- package/dist/services/customer_management.js.map +1 -0
- package/dist/services/email_management.d.ts +57 -0
- package/dist/services/email_management.d.ts.map +1 -0
- package/dist/services/email_management.js +79 -0
- package/dist/services/email_management.js.map +1 -0
- package/dist/services/embeddings.d.ts +155 -0
- package/dist/services/embeddings.d.ts.map +1 -0
- package/dist/services/embeddings.js +168 -0
- package/dist/services/embeddings.js.map +1 -0
- package/dist/services/evals.d.ts +245 -0
- package/dist/services/evals.d.ts.map +1 -0
- package/dist/services/evals.js +292 -0
- package/dist/services/evals.js.map +1 -0
- package/dist/services/experimental.d.ts +166 -0
- package/dist/services/experimental.d.ts.map +1 -0
- package/dist/services/experimental.js +265 -0
- package/dist/services/experimental.js.map +1 -0
- package/dist/services/fallback_management.d.ts +91 -0
- package/dist/services/fallback_management.d.ts.map +1 -0
- package/dist/services/fallback_management.js +86 -0
- package/dist/services/fallback_management.js.map +1 -0
- package/dist/services/files.d.ts +219 -0
- package/dist/services/files.d.ts.map +1 -0
- package/dist/services/files.js +358 -0
- package/dist/services/files.js.map +1 -0
- package/dist/services/fine_tuning.d.ts +155 -0
- package/dist/services/fine_tuning.d.ts.map +1 -0
- package/dist/services/fine_tuning.js +232 -0
- package/dist/services/fine_tuning.js.map +1 -0
- package/dist/services/gemini_agents.d.ts +68 -0
- package/dist/services/gemini_agents.d.ts.map +1 -0
- package/dist/services/gemini_agents.js +110 -0
- package/dist/services/gemini_agents.js.map +1 -0
- package/dist/services/google_ai_studio_pass_through.d.ts +70 -0
- package/dist/services/google_ai_studio_pass_through.d.ts.map +1 -0
- package/dist/services/google_ai_studio_pass_through.js +112 -0
- package/dist/services/google_ai_studio_pass_through.js.map +1 -0
- package/dist/services/google_genai_endpoints.d.ts +174 -0
- package/dist/services/google_genai_endpoints.d.ts.map +1 -0
- package/dist/services/google_genai_endpoints.js +340 -0
- package/dist/services/google_genai_endpoints.js.map +1 -0
- package/dist/services/guardrails.d.ts +1221 -0
- package/dist/services/guardrails.d.ts.map +1 -0
- package/dist/services/guardrails.js +1087 -0
- package/dist/services/guardrails.js.map +1 -0
- package/dist/services/health.d.ts +212 -0
- package/dist/services/health.d.ts.map +1 -0
- package/dist/services/health.js +309 -0
- package/dist/services/health.js.map +1 -0
- package/dist/services/images.d.ts +117 -0
- package/dist/services/images.d.ts.map +1 -0
- package/dist/services/images.js +184 -0
- package/dist/services/images.js.map +1 -0
- package/dist/services/index.d.ts +106 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +107 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/internal_user_management.d.ts +1062 -0
- package/dist/services/internal_user_management.d.ts.map +1 -0
- package/dist/services/internal_user_management.js +850 -0
- package/dist/services/internal_user_management.js.map +1 -0
- package/dist/services/invite_links.d.ts +56 -0
- package/dist/services/invite_links.d.ts.map +1 -0
- package/dist/services/invite_links.js +82 -0
- package/dist/services/invite_links.js.map +1 -0
- package/dist/services/jwt_mappings.d.ts +79 -0
- package/dist/services/jwt_mappings.d.ts.map +1 -0
- package/dist/services/jwt_mappings.js +116 -0
- package/dist/services/jwt_mappings.js.map +1 -0
- package/dist/services/key_management.d.ts +1640 -0
- package/dist/services/key_management.d.ts.map +1 -0
- package/dist/services/key_management.js +1344 -0
- package/dist/services/key_management.js.map +1 -0
- package/dist/services/langfuse_passthrough.d.ts +70 -0
- package/dist/services/langfuse_passthrough.d.ts.map +1 -0
- package/dist/services/langfuse_passthrough.js +114 -0
- package/dist/services/langfuse_passthrough.js.map +1 -0
- package/dist/services/llm_utils.d.ts +101 -0
- package/dist/services/llm_utils.d.ts.map +1 -0
- package/dist/services/llm_utils.js +110 -0
- package/dist/services/llm_utils.js.map +1 -0
- package/dist/services/logging_callbacks.d.ts +33 -0
- package/dist/services/logging_callbacks.d.ts.map +1 -0
- package/dist/services/logging_callbacks.js +46 -0
- package/dist/services/logging_callbacks.js.map +1 -0
- package/dist/services/mcp_byok_oauth.d.ts +112 -0
- package/dist/services/mcp_byok_oauth.d.ts.map +1 -0
- package/dist/services/mcp_byok_oauth.js +226 -0
- package/dist/services/mcp_byok_oauth.js.map +1 -0
- package/dist/services/mcp_discoverable.d.ts +197 -0
- package/dist/services/mcp_discoverable.d.ts.map +1 -0
- package/dist/services/mcp_discoverable.js +304 -0
- package/dist/services/mcp_discoverable.js.map +1 -0
- package/dist/services/mcp_management.d.ts +956 -0
- package/dist/services/mcp_management.d.ts.map +1 -0
- package/dist/services/mcp_management.js +1139 -0
- package/dist/services/mcp_management.js.map +1 -0
- package/dist/services/mcp_rest.d.ts +281 -0
- package/dist/services/mcp_rest.d.ts.map +1 -0
- package/dist/services/mcp_rest.js +269 -0
- package/dist/services/mcp_rest.js.map +1 -0
- package/dist/services/memory_management.d.ts +93 -0
- package/dist/services/memory_management.d.ts.map +1 -0
- package/dist/services/memory_management.js +117 -0
- package/dist/services/memory_management.js.map +1 -0
- package/dist/services/milvus_pass_through.d.ts +70 -0
- package/dist/services/milvus_pass_through.d.ts.map +1 -0
- package/dist/services/milvus_pass_through.js +112 -0
- package/dist/services/milvus_pass_through.js.map +1 -0
- package/dist/services/misc.d.ts +676 -0
- package/dist/services/misc.d.ts.map +1 -0
- package/dist/services/misc.js +954 -0
- package/dist/services/misc.js.map +1 -0
- package/dist/services/mistral_pass_through.d.ts +70 -0
- package/dist/services/mistral_pass_through.d.ts.map +1 -0
- package/dist/services/mistral_pass_through.js +114 -0
- package/dist/services/mistral_pass_through.js.map +1 -0
- package/dist/services/model_management.d.ts +1649 -0
- package/dist/services/model_management.d.ts.map +1 -0
- package/dist/services/model_management.js +1805 -0
- package/dist/services/model_management.js.map +1 -0
- package/dist/services/moderations.d.ts +25 -0
- package/dist/services/moderations.d.ts.map +1 -0
- package/dist/services/moderations.js +39 -0
- package/dist/services/moderations.js.map +1 -0
- package/dist/services/ocr.d.ts +25 -0
- package/dist/services/ocr.d.ts.map +1 -0
- package/dist/services/ocr.js +39 -0
- package/dist/services/ocr.js.map +1 -0
- package/dist/services/open_ai_pass_through.d.ts +125 -0
- package/dist/services/open_ai_pass_through.d.ts.map +1 -0
- package/dist/services/open_ai_pass_through.js +232 -0
- package/dist/services/open_ai_pass_through.js.map +1 -0
- package/dist/services/organization_management.d.ts +664 -0
- package/dist/services/organization_management.d.ts.map +1 -0
- package/dist/services/organization_management.js +644 -0
- package/dist/services/organization_management.js.map +1 -0
- package/dist/services/plugins.d.ts +106 -0
- package/dist/services/plugins.d.ts.map +1 -0
- package/dist/services/plugins.js +180 -0
- package/dist/services/plugins.js.map +1 -0
- package/dist/services/policies.d.ts +618 -0
- package/dist/services/policies.d.ts.map +1 -0
- package/dist/services/policies.js +616 -0
- package/dist/services/policies.js.map +1 -0
- package/dist/services/policy_engine.d.ts +483 -0
- package/dist/services/policy_engine.d.ts.map +1 -0
- package/dist/services/policy_engine.js +501 -0
- package/dist/services/policy_engine.js.map +1 -0
- package/dist/services/project_management.d.ts +356 -0
- package/dist/services/project_management.d.ts.map +1 -0
- package/dist/services/project_management.js +318 -0
- package/dist/services/project_management.js.map +1 -0
- package/dist/services/prompts.d.ts +193 -0
- package/dist/services/prompts.d.ts.map +1 -0
- package/dist/services/prompts.js +260 -0
- package/dist/services/prompts.js.map +1 -0
- package/dist/services/public.d.ts +300 -0
- package/dist/services/public.d.ts.map +1 -0
- package/dist/services/public.js +362 -0
- package/dist/services/public.js.map +1 -0
- package/dist/services/rag.d.ts +45 -0
- package/dist/services/rag.d.ts.map +1 -0
- package/dist/services/rag.js +71 -0
- package/dist/services/rag.js.map +1 -0
- package/dist/services/realtime.d.ts +91 -0
- package/dist/services/realtime.d.ts.map +1 -0
- package/dist/services/realtime.js +164 -0
- package/dist/services/realtime.js.map +1 -0
- package/dist/services/rerank.d.ts +35 -0
- package/dist/services/rerank.d.ts.map +1 -0
- package/dist/services/rerank.js +55 -0
- package/dist/services/rerank.js.map +1 -0
- package/dist/services/responses.d.ts +237 -0
- package/dist/services/responses.d.ts.map +1 -0
- package/dist/services/responses.js +445 -0
- package/dist/services/responses.js.map +1 -0
- package/dist/services/router_settings.d.ts +67 -0
- package/dist/services/router_settings.d.ts.map +1 -0
- package/dist/services/router_settings.js +63 -0
- package/dist/services/router_settings.js.map +1 -0
- package/dist/services/rust_control_plane.d.ts +52 -0
- package/dist/services/rust_control_plane.d.ts.map +1 -0
- package/dist/services/rust_control_plane.js +54 -0
- package/dist/services/rust_control_plane.js.map +1 -0
- package/dist/services/scim.d.ts +412 -0
- package/dist/services/scim.d.ts.map +1 -0
- package/dist/services/scim.js +519 -0
- package/dist/services/scim.js.map +1 -0
- package/dist/services/search.d.ts +79 -0
- package/dist/services/search.d.ts.map +1 -0
- package/dist/services/search.js +122 -0
- package/dist/services/search.js.map +1 -0
- package/dist/services/search_tools.d.ts +140 -0
- package/dist/services/search_tools.d.ts.map +1 -0
- package/dist/services/search_tools.js +201 -0
- package/dist/services/search_tools.js.map +1 -0
- package/dist/services/settings.d.ts +53 -0
- package/dist/services/settings.d.ts.map +1 -0
- package/dist/services/settings.js +67 -0
- package/dist/services/settings.js.map +1 -0
- package/dist/services/sso_settings.d.ts +239 -0
- package/dist/services/sso_settings.d.ts.map +1 -0
- package/dist/services/sso_settings.js +214 -0
- package/dist/services/sso_settings.js.map +1 -0
- package/dist/services/tag_management.d.ts +390 -0
- package/dist/services/tag_management.d.ts.map +1 -0
- package/dist/services/tag_management.js +407 -0
- package/dist/services/tag_management.js.map +1 -0
- package/dist/services/team_management.d.ts +1502 -0
- package/dist/services/team_management.d.ts.map +1 -0
- package/dist/services/team_management.js +1429 -0
- package/dist/services/team_management.js.map +1 -0
- package/dist/services/tools.d.ts +227 -0
- package/dist/services/tools.d.ts.map +1 -0
- package/dist/services/tools.js +266 -0
- package/dist/services/tools.js.map +1 -0
- package/dist/services/ui_settings.d.ts +90 -0
- package/dist/services/ui_settings.d.ts.map +1 -0
- package/dist/services/ui_settings.js +96 -0
- package/dist/services/ui_settings.js.map +1 -0
- package/dist/services/ui_theme_settings.d.ts +62 -0
- package/dist/services/ui_theme_settings.d.ts.map +1 -0
- package/dist/services/ui_theme_settings.js +79 -0
- package/dist/services/ui_theme_settings.js.map +1 -0
- package/dist/services/usage_ai.d.ts +39 -0
- package/dist/services/usage_ai.d.ts.map +1 -0
- package/dist/services/usage_ai.js +40 -0
- package/dist/services/usage_ai.js.map +1 -0
- package/dist/services/vantage.d.ts +108 -0
- package/dist/services/vantage.d.ts.map +1 -0
- package/dist/services/vantage.js +124 -0
- package/dist/services/vantage.js.map +1 -0
- package/dist/services/vector_store_management.d.ts +161 -0
- package/dist/services/vector_store_management.d.ts.map +1 -0
- package/dist/services/vector_store_management.js +191 -0
- package/dist/services/vector_store_management.js.map +1 -0
- package/dist/services/vector_stores.d.ts +342 -0
- package/dist/services/vector_stores.d.ts.map +1 -0
- package/dist/services/vector_stores.js +639 -0
- package/dist/services/vector_stores.js.map +1 -0
- package/dist/services/vertex_ai_pass_through.d.ts +180 -0
- package/dist/services/vertex_ai_pass_through.d.ts.map +1 -0
- package/dist/services/vertex_ai_pass_through.js +334 -0
- package/dist/services/vertex_ai_pass_through.js.map +1 -0
- package/dist/services/videos.d.ts +207 -0
- package/dist/services/videos.d.ts.map +1 -0
- package/dist/services/videos.js +373 -0
- package/dist/services/videos.js.map +1 -0
- package/dist/services/vllm_pass_through.d.ts +70 -0
- package/dist/services/vllm_pass_through.d.ts.map +1 -0
- package/dist/services/vllm_pass_through.js +104 -0
- package/dist/services/vllm_pass_through.js.map +1 -0
- package/dist/services/watsonx_pass_through.d.ts +70 -0
- package/dist/services/watsonx_pass_through.d.ts.map +1 -0
- package/dist/services/watsonx_pass_through.js +114 -0
- package/dist/services/watsonx_pass_through.js.map +1 -0
- package/dist/services/web_socket.d.ts +77 -0
- package/dist/services/web_socket.d.ts.map +1 -0
- package/dist/services/web_socket.js +135 -0
- package/dist/services/web_socket.js.map +1 -0
- package/dist/services/workflow_management.d.ts +140 -0
- package/dist/services/workflow_management.d.ts.map +1 -0
- package/dist/services/workflow_management.js +220 -0
- package/dist/services/workflow_management.js.map +1 -0
- package/dist/traits.d.ts +14 -0
- package/dist/traits.d.ts.map +1 -0
- package/dist/traits.js +15 -0
- package/dist/traits.js.map +1 -0
- package/package.json +75 -0
- package/src/credentials.ts +97 -0
- package/src/errors.ts +108 -0
- package/src/index.ts +33 -0
- package/src/protocol.ts +160 -0
- package/src/retry.ts +74 -0
- package/src/services/a2a.ts +250 -0
- package/src/services/a2a_registration.ts +94 -0
- package/src/services/access_groups.ts +716 -0
- package/src/services/adaptive_router.ts +49 -0
- package/src/services/agents.ts +1314 -0
- package/src/services/alerting.ts +49 -0
- package/src/services/anthropic_pass_through.ts +233 -0
- package/src/services/anthropic_passthrough.ts +123 -0
- package/src/services/anthropic_skills.ts +200 -0
- package/src/services/assembly_ai_eu_pass_through.ts +237 -0
- package/src/services/assembly_ai_pass_through.ts +237 -0
- package/src/services/assistants.ts +685 -0
- package/src/services/audio.ts +189 -0
- package/src/services/audit_logging.ts +194 -0
- package/src/services/auto_router.ts +625 -0
- package/src/services/aws_comprehend_medical_pass_through.ts +109 -0
- package/src/services/azure_ai_pass_through.ts +231 -0
- package/src/services/azure_pass_through.ts +227 -0
- package/src/services/batch.ts +553 -0
- package/src/services/bedrock_pass_through.ts +229 -0
- package/src/services/beta_agents.ts +444 -0
- package/src/services/beta_mcp.ts +105 -0
- package/src/services/budget_management.ts +465 -0
- package/src/services/budget_spend_tracking.ts +2670 -0
- package/src/services/cache_settings.ts +234 -0
- package/src/services/caching.ts +175 -0
- package/src/services/chat_completions.ts +1788 -0
- package/src/services/claude_code_marketplace.ts +569 -0
- package/src/services/cloudzero.ts +297 -0
- package/src/services/cohere_pass_through.ts +227 -0
- package/src/services/completions.ts +194 -0
- package/src/services/compliance.ts +175 -0
- package/src/services/config_overrides.ts +466 -0
- package/src/services/config_yaml.ts +1537 -0
- package/src/services/containers.ts +848 -0
- package/src/services/coordination_redis_settings.ts +251 -0
- package/src/services/cost_tracking.ts +407 -0
- package/src/services/credential_management.ts +436 -0
- package/src/services/cursor_pass_through.ts +227 -0
- package/src/services/customer_management.ts +1475 -0
- package/src/services/email_management.ts +171 -0
- package/src/services/embeddings.ts +424 -0
- package/src/services/evals.ts +672 -0
- package/src/services/experimental.ts +572 -0
- package/src/services/fallback_management.ts +224 -0
- package/src/services/files.ts +732 -0
- package/src/services/fine_tuning.ts +547 -0
- package/src/services/gemini_agents.ts +227 -0
- package/src/services/google_ai_studio_pass_through.ts +227 -0
- package/src/services/google_genai_endpoints.ts +688 -0
- package/src/services/guardrails.ts +3006 -0
- package/src/services/health.ts +713 -0
- package/src/services/images.ts +430 -0
- package/src/services/index.ts +106 -0
- package/src/services/internal_user_management.ts +2574 -0
- package/src/services/invite_links.ts +167 -0
- package/src/services/jwt_mappings.ts +238 -0
- package/src/services/key_management.ts +4162 -0
- package/src/services/langfuse_passthrough.ts +231 -0
- package/src/services/llm_utils.ts +429 -0
- package/src/services/logging_callbacks.ts +104 -0
- package/src/services/mcp_byok_oauth.ts +468 -0
- package/src/services/mcp_discoverable.ts +626 -0
- package/src/services/mcp_management.ts +2915 -0
- package/src/services/mcp_rest.ts +779 -0
- package/src/services/memory_management.ts +248 -0
- package/src/services/milvus_pass_through.ts +227 -0
- package/src/services/misc.ts +2128 -0
- package/src/services/mistral_pass_through.ts +229 -0
- package/src/services/model_management.ts +4501 -0
- package/src/services/moderations.ts +80 -0
- package/src/services/ocr.ts +78 -0
- package/src/services/open_ai_pass_through.ts +462 -0
- package/src/services/organization_management.ts +1749 -0
- package/src/services/plugins.ts +367 -0
- package/src/services/policies.ts +1676 -0
- package/src/services/policy_engine.ts +1318 -0
- package/src/services/project_management.ts +938 -0
- package/src/services/prompts.ts +592 -0
- package/src/services/public.ts +880 -0
- package/src/services/rag.ts +148 -0
- package/src/services/realtime.ts +350 -0
- package/src/services/rerank.ts +111 -0
- package/src/services/responses.ts +909 -0
- package/src/services/router_settings.ts +168 -0
- package/src/services/rust_control_plane.ts +123 -0
- package/src/services/scim.ts +1243 -0
- package/src/services/search.ts +260 -0
- package/src/services/search_tools.ts +439 -0
- package/src/services/settings.ts +146 -0
- package/src/services/sso_settings.ts +626 -0
- package/src/services/tag_management.ts +1004 -0
- package/src/services/team_management.ts +3990 -0
- package/src/services/tools.ts +628 -0
- package/src/services/ui_settings.ts +237 -0
- package/src/services/ui_theme_settings.ts +173 -0
- package/src/services/usage_ai.ts +86 -0
- package/src/services/vantage.ts +283 -0
- package/src/services/vector_store_management.ts +454 -0
- package/src/services/vector_stores.ts +1321 -0
- package/src/services/vertex_ai_pass_through.ts +684 -0
- package/src/services/videos.ts +762 -0
- package/src/services/vllm_pass_through.ts +227 -0
- package/src/services/watsonx_pass_through.ts +229 -0
- package/src/services/web_socket.ts +254 -0
- package/src/services/workflow_management.ts +482 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,1321 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (pinned litellm-openapi @ 1.100.0 — see README). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as C from "@distilled.cloud/core/category";
|
|
5
|
+
import * as T from "../traits.ts";
|
|
6
|
+
import {
|
|
7
|
+
LitellmProtocol,
|
|
8
|
+
type LitellmOpError,
|
|
9
|
+
type LitellmOpContext,
|
|
10
|
+
} from "../protocol.ts";
|
|
11
|
+
import * as Retry from "../retry.ts";
|
|
12
|
+
|
|
13
|
+
export type { LitellmOpError, LitellmOpContext };
|
|
14
|
+
|
|
15
|
+
export class UnprocessableEntity
|
|
16
|
+
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
|
+
/*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
|
|
18
|
+
code: S.Number,
|
|
19
|
+
message: S.String,
|
|
20
|
+
}).pipe(C.withBadRequestError),
|
|
21
|
+
[{ status: 422 }],
|
|
22
|
+
) {}
|
|
23
|
+
|
|
24
|
+
export interface GetVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContentRequest {
|
|
25
|
+
vector_store_id: string;
|
|
26
|
+
file_id: string;
|
|
27
|
+
}
|
|
28
|
+
export const GetVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContentRequest =
|
|
29
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
30
|
+
S.Struct({
|
|
31
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
32
|
+
file_id: S.String.pipe(T.Label()),
|
|
33
|
+
}).pipe(
|
|
34
|
+
T.Http({
|
|
35
|
+
method: "GET",
|
|
36
|
+
uri: "/v1/vector_stores/{vector_store_id}/files/{file_id}/content",
|
|
37
|
+
code: 200,
|
|
38
|
+
}),
|
|
39
|
+
),
|
|
40
|
+
).annotate({
|
|
41
|
+
identifier:
|
|
42
|
+
"GetVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContentRequest",
|
|
43
|
+
}) as any as S.Schema<GetVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContentRequest>;
|
|
44
|
+
|
|
45
|
+
export interface GetVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContentResponse {
|
|
46
|
+
body: unknown;
|
|
47
|
+
}
|
|
48
|
+
export const GetVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContentResponse =
|
|
49
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
50
|
+
S.Struct({
|
|
51
|
+
body: S.Unknown,
|
|
52
|
+
}),
|
|
53
|
+
).annotate({
|
|
54
|
+
identifier:
|
|
55
|
+
"GetVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContentResponse",
|
|
56
|
+
}) as any as S.Schema<GetVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContentResponse>;
|
|
57
|
+
|
|
58
|
+
export interface GetVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContentRequest {
|
|
59
|
+
vector_store_id: string;
|
|
60
|
+
file_id: string;
|
|
61
|
+
}
|
|
62
|
+
export const GetVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContentRequest =
|
|
63
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
64
|
+
S.Struct({
|
|
65
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
66
|
+
file_id: S.String.pipe(T.Label()),
|
|
67
|
+
}).pipe(
|
|
68
|
+
T.Http({
|
|
69
|
+
method: "GET",
|
|
70
|
+
uri: "/vector_stores/{vector_store_id}/files/{file_id}/content",
|
|
71
|
+
code: 200,
|
|
72
|
+
}),
|
|
73
|
+
),
|
|
74
|
+
).annotate({
|
|
75
|
+
identifier:
|
|
76
|
+
"GetVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContentRequest",
|
|
77
|
+
}) as any as S.Schema<GetVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContentRequest>;
|
|
78
|
+
|
|
79
|
+
export interface GetVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContentResponse {
|
|
80
|
+
body: unknown;
|
|
81
|
+
}
|
|
82
|
+
export const GetVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContentResponse =
|
|
83
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
84
|
+
S.Struct({
|
|
85
|
+
body: S.Unknown,
|
|
86
|
+
}),
|
|
87
|
+
).annotate({
|
|
88
|
+
identifier:
|
|
89
|
+
"GetVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContentResponse",
|
|
90
|
+
}) as any as S.Schema<GetVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContentResponse>;
|
|
91
|
+
|
|
92
|
+
export type ListCreateV1IndexesPostRequestIndexInfoMap = {
|
|
93
|
+
[key: string]: unknown | undefined;
|
|
94
|
+
};
|
|
95
|
+
export const ListCreateV1IndexesPostRequestIndexInfoMap =
|
|
96
|
+
/*@__PURE__*/ S.Record(
|
|
97
|
+
S.String,
|
|
98
|
+
S.Unknown,
|
|
99
|
+
) as any as S.Schema<ListCreateV1IndexesPostRequestIndexInfoMap>;
|
|
100
|
+
|
|
101
|
+
export interface IndexCreateLiteLLMParams {
|
|
102
|
+
vector_store_index: string;
|
|
103
|
+
vector_store_name: string;
|
|
104
|
+
}
|
|
105
|
+
export const IndexCreateLiteLLMParams = /*@__PURE__*/ S.suspend(() =>
|
|
106
|
+
S.Struct({
|
|
107
|
+
vector_store_index: S.String,
|
|
108
|
+
vector_store_name: S.String,
|
|
109
|
+
}),
|
|
110
|
+
).annotate({
|
|
111
|
+
identifier: "IndexCreateLiteLLMParams",
|
|
112
|
+
}) as any as S.Schema<IndexCreateLiteLLMParams>;
|
|
113
|
+
|
|
114
|
+
export interface ListCreateV1IndexesPostRequest {
|
|
115
|
+
index_info?: ListCreateV1IndexesPostRequestIndexInfoMap | null;
|
|
116
|
+
index_name: string;
|
|
117
|
+
litellm_params: IndexCreateLiteLLMParams;
|
|
118
|
+
}
|
|
119
|
+
export const ListCreateV1IndexesPostRequest = /*@__PURE__*/ S.suspend(() =>
|
|
120
|
+
S.Struct({
|
|
121
|
+
index_info: S.optional(
|
|
122
|
+
S.NullOr(ListCreateV1IndexesPostRequestIndexInfoMap),
|
|
123
|
+
),
|
|
124
|
+
index_name: S.String,
|
|
125
|
+
litellm_params: IndexCreateLiteLLMParams,
|
|
126
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/indexes", code: 200 })),
|
|
127
|
+
).annotate({
|
|
128
|
+
identifier: "ListCreateV1IndexesPostRequest",
|
|
129
|
+
}) as any as S.Schema<ListCreateV1IndexesPostRequest>;
|
|
130
|
+
|
|
131
|
+
export interface ListCreateV1IndexesPostResponse {
|
|
132
|
+
body: unknown;
|
|
133
|
+
}
|
|
134
|
+
export const ListCreateV1IndexesPostResponse = /*@__PURE__*/ S.suspend(() =>
|
|
135
|
+
S.Struct({
|
|
136
|
+
body: S.Unknown,
|
|
137
|
+
}),
|
|
138
|
+
).annotate({
|
|
139
|
+
identifier: "ListCreateV1IndexesPostResponse",
|
|
140
|
+
}) as any as S.Schema<ListCreateV1IndexesPostResponse>;
|
|
141
|
+
|
|
142
|
+
export interface ListListV1IndexesGetRequest {}
|
|
143
|
+
export const ListListV1IndexesGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
144
|
+
S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v1/indexes", code: 200 })),
|
|
145
|
+
).annotate({
|
|
146
|
+
identifier: "ListListV1IndexesGetRequest",
|
|
147
|
+
}) as any as S.Schema<ListListV1IndexesGetRequest>;
|
|
148
|
+
|
|
149
|
+
export type LiteLLMManagedVectorStoreIndexIndexInfoMap = {
|
|
150
|
+
[key: string]: unknown | undefined;
|
|
151
|
+
};
|
|
152
|
+
export const LiteLLMManagedVectorStoreIndexIndexInfoMap =
|
|
153
|
+
/*@__PURE__*/ S.Record(
|
|
154
|
+
S.String,
|
|
155
|
+
S.Unknown,
|
|
156
|
+
) as any as S.Schema<LiteLLMManagedVectorStoreIndexIndexInfoMap>;
|
|
157
|
+
|
|
158
|
+
/** LiteLLM managed vector store index object - this is is the object stored in the database */
|
|
159
|
+
export interface LiteLLMManagedVectorStoreIndex {
|
|
160
|
+
created_at?: string | null;
|
|
161
|
+
created_by?: string | null;
|
|
162
|
+
id: string;
|
|
163
|
+
index_info?: LiteLLMManagedVectorStoreIndexIndexInfoMap | null;
|
|
164
|
+
index_name: string;
|
|
165
|
+
litellm_params: IndexCreateLiteLLMParams;
|
|
166
|
+
updated_at?: string | null;
|
|
167
|
+
updated_by?: string | null;
|
|
168
|
+
}
|
|
169
|
+
export const LiteLLMManagedVectorStoreIndex = /*@__PURE__*/ S.suspend(() =>
|
|
170
|
+
S.Struct({
|
|
171
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
172
|
+
created_by: S.optional(S.NullOr(S.String)),
|
|
173
|
+
id: S.String,
|
|
174
|
+
index_info: S.optional(
|
|
175
|
+
S.NullOr(LiteLLMManagedVectorStoreIndexIndexInfoMap),
|
|
176
|
+
),
|
|
177
|
+
index_name: S.String,
|
|
178
|
+
litellm_params: IndexCreateLiteLLMParams,
|
|
179
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
180
|
+
updated_by: S.optional(S.NullOr(S.String)),
|
|
181
|
+
}),
|
|
182
|
+
).annotate({
|
|
183
|
+
identifier: "LiteLLMManagedVectorStoreIndex",
|
|
184
|
+
}) as any as S.Schema<LiteLLMManagedVectorStoreIndex>;
|
|
185
|
+
|
|
186
|
+
export type IndexListResponseDataList = Array<LiteLLMManagedVectorStoreIndex>;
|
|
187
|
+
export const IndexListResponseDataList = /*@__PURE__*/ S.Array(
|
|
188
|
+
LiteLLMManagedVectorStoreIndex,
|
|
189
|
+
) as any as S.Schema<IndexListResponseDataList>;
|
|
190
|
+
|
|
191
|
+
export interface IndexListResponse {
|
|
192
|
+
data: IndexListResponseDataList;
|
|
193
|
+
object?: string;
|
|
194
|
+
}
|
|
195
|
+
export const IndexListResponse = /*@__PURE__*/ S.suspend(() =>
|
|
196
|
+
S.Struct({
|
|
197
|
+
data: IndexListResponseDataList,
|
|
198
|
+
object: S.optional(S.String),
|
|
199
|
+
}),
|
|
200
|
+
).annotate({
|
|
201
|
+
identifier: "IndexListResponse",
|
|
202
|
+
}) as any as S.Schema<IndexListResponse>;
|
|
203
|
+
|
|
204
|
+
export interface VectorStoreCreateV1VectorStoresPostRequest {}
|
|
205
|
+
export const VectorStoreCreateV1VectorStoresPostRequest =
|
|
206
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
207
|
+
S.Struct({}).pipe(
|
|
208
|
+
T.Http({ method: "POST", uri: "/v1/vector_stores", code: 200 }),
|
|
209
|
+
),
|
|
210
|
+
).annotate({
|
|
211
|
+
identifier: "VectorStoreCreateV1VectorStoresPostRequest",
|
|
212
|
+
}) as any as S.Schema<VectorStoreCreateV1VectorStoresPostRequest>;
|
|
213
|
+
|
|
214
|
+
export interface VectorStoreCreateV1VectorStoresPostResponse {
|
|
215
|
+
body: unknown;
|
|
216
|
+
}
|
|
217
|
+
export const VectorStoreCreateV1VectorStoresPostResponse =
|
|
218
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
219
|
+
S.Struct({
|
|
220
|
+
body: S.Unknown,
|
|
221
|
+
}),
|
|
222
|
+
).annotate({
|
|
223
|
+
identifier: "VectorStoreCreateV1VectorStoresPostResponse",
|
|
224
|
+
}) as any as S.Schema<VectorStoreCreateV1VectorStoresPostResponse>;
|
|
225
|
+
|
|
226
|
+
export interface VectorStoreCreateVectorStoresPostRequest {}
|
|
227
|
+
export const VectorStoreCreateVectorStoresPostRequest = /*@__PURE__*/ S.suspend(
|
|
228
|
+
() =>
|
|
229
|
+
S.Struct({}).pipe(
|
|
230
|
+
T.Http({ method: "POST", uri: "/vector_stores", code: 200 }),
|
|
231
|
+
),
|
|
232
|
+
).annotate({
|
|
233
|
+
identifier: "VectorStoreCreateVectorStoresPostRequest",
|
|
234
|
+
}) as any as S.Schema<VectorStoreCreateVectorStoresPostRequest>;
|
|
235
|
+
|
|
236
|
+
export interface VectorStoreCreateVectorStoresPostResponse {
|
|
237
|
+
body: unknown;
|
|
238
|
+
}
|
|
239
|
+
export const VectorStoreCreateVectorStoresPostResponse =
|
|
240
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
241
|
+
S.Struct({
|
|
242
|
+
body: S.Unknown,
|
|
243
|
+
}),
|
|
244
|
+
).annotate({
|
|
245
|
+
identifier: "VectorStoreCreateVectorStoresPostResponse",
|
|
246
|
+
}) as any as S.Schema<VectorStoreCreateVectorStoresPostResponse>;
|
|
247
|
+
|
|
248
|
+
export interface VectorStoreDeleteV1VectorStoresVectorStoreIdDeleteRequest {
|
|
249
|
+
vector_store_id: string;
|
|
250
|
+
}
|
|
251
|
+
export const VectorStoreDeleteV1VectorStoresVectorStoreIdDeleteRequest =
|
|
252
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
253
|
+
S.Struct({
|
|
254
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
255
|
+
}).pipe(
|
|
256
|
+
T.Http({
|
|
257
|
+
method: "DELETE",
|
|
258
|
+
uri: "/v1/vector_stores/{vector_store_id}",
|
|
259
|
+
code: 200,
|
|
260
|
+
}),
|
|
261
|
+
),
|
|
262
|
+
).annotate({
|
|
263
|
+
identifier: "VectorStoreDeleteV1VectorStoresVectorStoreIdDeleteRequest",
|
|
264
|
+
}) as any as S.Schema<VectorStoreDeleteV1VectorStoresVectorStoreIdDeleteRequest>;
|
|
265
|
+
|
|
266
|
+
export interface VectorStoreDeleteV1VectorStoresVectorStoreIdDeleteResponse {
|
|
267
|
+
body: unknown;
|
|
268
|
+
}
|
|
269
|
+
export const VectorStoreDeleteV1VectorStoresVectorStoreIdDeleteResponse =
|
|
270
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
271
|
+
S.Struct({
|
|
272
|
+
body: S.Unknown,
|
|
273
|
+
}),
|
|
274
|
+
).annotate({
|
|
275
|
+
identifier: "VectorStoreDeleteV1VectorStoresVectorStoreIdDeleteResponse",
|
|
276
|
+
}) as any as S.Schema<VectorStoreDeleteV1VectorStoresVectorStoreIdDeleteResponse>;
|
|
277
|
+
|
|
278
|
+
export interface VectorStoreDeleteVectorStoresVectorStoreIdDeleteRequest {
|
|
279
|
+
vector_store_id: string;
|
|
280
|
+
}
|
|
281
|
+
export const VectorStoreDeleteVectorStoresVectorStoreIdDeleteRequest =
|
|
282
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
283
|
+
S.Struct({
|
|
284
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
285
|
+
}).pipe(
|
|
286
|
+
T.Http({
|
|
287
|
+
method: "DELETE",
|
|
288
|
+
uri: "/vector_stores/{vector_store_id}",
|
|
289
|
+
code: 200,
|
|
290
|
+
}),
|
|
291
|
+
),
|
|
292
|
+
).annotate({
|
|
293
|
+
identifier: "VectorStoreDeleteVectorStoresVectorStoreIdDeleteRequest",
|
|
294
|
+
}) as any as S.Schema<VectorStoreDeleteVectorStoresVectorStoreIdDeleteRequest>;
|
|
295
|
+
|
|
296
|
+
export interface VectorStoreDeleteVectorStoresVectorStoreIdDeleteResponse {
|
|
297
|
+
body: unknown;
|
|
298
|
+
}
|
|
299
|
+
export const VectorStoreDeleteVectorStoresVectorStoreIdDeleteResponse =
|
|
300
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
301
|
+
S.Struct({
|
|
302
|
+
body: S.Unknown,
|
|
303
|
+
}),
|
|
304
|
+
).annotate({
|
|
305
|
+
identifier: "VectorStoreDeleteVectorStoresVectorStoreIdDeleteResponse",
|
|
306
|
+
}) as any as S.Schema<VectorStoreDeleteVectorStoresVectorStoreIdDeleteResponse>;
|
|
307
|
+
|
|
308
|
+
export interface VectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPostRequest {
|
|
309
|
+
vector_store_id: string;
|
|
310
|
+
}
|
|
311
|
+
export const VectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPostRequest =
|
|
312
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
313
|
+
S.Struct({
|
|
314
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
315
|
+
}).pipe(
|
|
316
|
+
T.Http({
|
|
317
|
+
method: "POST",
|
|
318
|
+
uri: "/v1/vector_stores/{vector_store_id}/files",
|
|
319
|
+
code: 200,
|
|
320
|
+
}),
|
|
321
|
+
),
|
|
322
|
+
).annotate({
|
|
323
|
+
identifier:
|
|
324
|
+
"VectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPostRequest",
|
|
325
|
+
}) as any as S.Schema<VectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPostRequest>;
|
|
326
|
+
|
|
327
|
+
export interface VectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPostResponse {
|
|
328
|
+
body: unknown;
|
|
329
|
+
}
|
|
330
|
+
export const VectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPostResponse =
|
|
331
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
332
|
+
S.Struct({
|
|
333
|
+
body: S.Unknown,
|
|
334
|
+
}),
|
|
335
|
+
).annotate({
|
|
336
|
+
identifier:
|
|
337
|
+
"VectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPostResponse",
|
|
338
|
+
}) as any as S.Schema<VectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPostResponse>;
|
|
339
|
+
|
|
340
|
+
export interface VectorStoreFileCreateVectorStoresVectorStoreIdFilesPostRequest {
|
|
341
|
+
vector_store_id: string;
|
|
342
|
+
}
|
|
343
|
+
export const VectorStoreFileCreateVectorStoresVectorStoreIdFilesPostRequest =
|
|
344
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
345
|
+
S.Struct({
|
|
346
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
347
|
+
}).pipe(
|
|
348
|
+
T.Http({
|
|
349
|
+
method: "POST",
|
|
350
|
+
uri: "/vector_stores/{vector_store_id}/files",
|
|
351
|
+
code: 200,
|
|
352
|
+
}),
|
|
353
|
+
),
|
|
354
|
+
).annotate({
|
|
355
|
+
identifier:
|
|
356
|
+
"VectorStoreFileCreateVectorStoresVectorStoreIdFilesPostRequest",
|
|
357
|
+
}) as any as S.Schema<VectorStoreFileCreateVectorStoresVectorStoreIdFilesPostRequest>;
|
|
358
|
+
|
|
359
|
+
export interface VectorStoreFileCreateVectorStoresVectorStoreIdFilesPostResponse {
|
|
360
|
+
body: unknown;
|
|
361
|
+
}
|
|
362
|
+
export const VectorStoreFileCreateVectorStoresVectorStoreIdFilesPostResponse =
|
|
363
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
364
|
+
S.Struct({
|
|
365
|
+
body: S.Unknown,
|
|
366
|
+
}),
|
|
367
|
+
).annotate({
|
|
368
|
+
identifier:
|
|
369
|
+
"VectorStoreFileCreateVectorStoresVectorStoreIdFilesPostResponse",
|
|
370
|
+
}) as any as S.Schema<VectorStoreFileCreateVectorStoresVectorStoreIdFilesPostResponse>;
|
|
371
|
+
|
|
372
|
+
export interface VectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDeleteRequest {
|
|
373
|
+
vector_store_id: string;
|
|
374
|
+
file_id: string;
|
|
375
|
+
}
|
|
376
|
+
export const VectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDeleteRequest =
|
|
377
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
378
|
+
S.Struct({
|
|
379
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
380
|
+
file_id: S.String.pipe(T.Label()),
|
|
381
|
+
}).pipe(
|
|
382
|
+
T.Http({
|
|
383
|
+
method: "DELETE",
|
|
384
|
+
uri: "/v1/vector_stores/{vector_store_id}/files/{file_id}",
|
|
385
|
+
code: 200,
|
|
386
|
+
}),
|
|
387
|
+
),
|
|
388
|
+
).annotate({
|
|
389
|
+
identifier:
|
|
390
|
+
"VectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDeleteRequest",
|
|
391
|
+
}) as any as S.Schema<VectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDeleteRequest>;
|
|
392
|
+
|
|
393
|
+
export interface VectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDeleteResponse {
|
|
394
|
+
body: unknown;
|
|
395
|
+
}
|
|
396
|
+
export const VectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDeleteResponse =
|
|
397
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
398
|
+
S.Struct({
|
|
399
|
+
body: S.Unknown,
|
|
400
|
+
}),
|
|
401
|
+
).annotate({
|
|
402
|
+
identifier:
|
|
403
|
+
"VectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDeleteResponse",
|
|
404
|
+
}) as any as S.Schema<VectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDeleteResponse>;
|
|
405
|
+
|
|
406
|
+
export interface VectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDeleteRequest {
|
|
407
|
+
vector_store_id: string;
|
|
408
|
+
file_id: string;
|
|
409
|
+
}
|
|
410
|
+
export const VectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDeleteRequest =
|
|
411
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
412
|
+
S.Struct({
|
|
413
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
414
|
+
file_id: S.String.pipe(T.Label()),
|
|
415
|
+
}).pipe(
|
|
416
|
+
T.Http({
|
|
417
|
+
method: "DELETE",
|
|
418
|
+
uri: "/vector_stores/{vector_store_id}/files/{file_id}",
|
|
419
|
+
code: 200,
|
|
420
|
+
}),
|
|
421
|
+
),
|
|
422
|
+
).annotate({
|
|
423
|
+
identifier:
|
|
424
|
+
"VectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDeleteRequest",
|
|
425
|
+
}) as any as S.Schema<VectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDeleteRequest>;
|
|
426
|
+
|
|
427
|
+
export interface VectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDeleteResponse {
|
|
428
|
+
body: unknown;
|
|
429
|
+
}
|
|
430
|
+
export const VectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDeleteResponse =
|
|
431
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
432
|
+
S.Struct({
|
|
433
|
+
body: S.Unknown,
|
|
434
|
+
}),
|
|
435
|
+
).annotate({
|
|
436
|
+
identifier:
|
|
437
|
+
"VectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDeleteResponse",
|
|
438
|
+
}) as any as S.Schema<VectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDeleteResponse>;
|
|
439
|
+
|
|
440
|
+
export interface VectorStoreFileListV1VectorStoresVectorStoreIdFilesGetRequest {
|
|
441
|
+
vector_store_id: string;
|
|
442
|
+
}
|
|
443
|
+
export const VectorStoreFileListV1VectorStoresVectorStoreIdFilesGetRequest =
|
|
444
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
445
|
+
S.Struct({
|
|
446
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
447
|
+
}).pipe(
|
|
448
|
+
T.Http({
|
|
449
|
+
method: "GET",
|
|
450
|
+
uri: "/v1/vector_stores/{vector_store_id}/files",
|
|
451
|
+
code: 200,
|
|
452
|
+
}),
|
|
453
|
+
),
|
|
454
|
+
).annotate({
|
|
455
|
+
identifier: "VectorStoreFileListV1VectorStoresVectorStoreIdFilesGetRequest",
|
|
456
|
+
}) as any as S.Schema<VectorStoreFileListV1VectorStoresVectorStoreIdFilesGetRequest>;
|
|
457
|
+
|
|
458
|
+
export interface VectorStoreFileListV1VectorStoresVectorStoreIdFilesGetResponse {
|
|
459
|
+
body: unknown;
|
|
460
|
+
}
|
|
461
|
+
export const VectorStoreFileListV1VectorStoresVectorStoreIdFilesGetResponse =
|
|
462
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
463
|
+
S.Struct({
|
|
464
|
+
body: S.Unknown,
|
|
465
|
+
}),
|
|
466
|
+
).annotate({
|
|
467
|
+
identifier:
|
|
468
|
+
"VectorStoreFileListV1VectorStoresVectorStoreIdFilesGetResponse",
|
|
469
|
+
}) as any as S.Schema<VectorStoreFileListV1VectorStoresVectorStoreIdFilesGetResponse>;
|
|
470
|
+
|
|
471
|
+
export interface VectorStoreFileListVectorStoresVectorStoreIdFilesGetRequest {
|
|
472
|
+
vector_store_id: string;
|
|
473
|
+
}
|
|
474
|
+
export const VectorStoreFileListVectorStoresVectorStoreIdFilesGetRequest =
|
|
475
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
476
|
+
S.Struct({
|
|
477
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
478
|
+
}).pipe(
|
|
479
|
+
T.Http({
|
|
480
|
+
method: "GET",
|
|
481
|
+
uri: "/vector_stores/{vector_store_id}/files",
|
|
482
|
+
code: 200,
|
|
483
|
+
}),
|
|
484
|
+
),
|
|
485
|
+
).annotate({
|
|
486
|
+
identifier: "VectorStoreFileListVectorStoresVectorStoreIdFilesGetRequest",
|
|
487
|
+
}) as any as S.Schema<VectorStoreFileListVectorStoresVectorStoreIdFilesGetRequest>;
|
|
488
|
+
|
|
489
|
+
export interface VectorStoreFileListVectorStoresVectorStoreIdFilesGetResponse {
|
|
490
|
+
body: unknown;
|
|
491
|
+
}
|
|
492
|
+
export const VectorStoreFileListVectorStoresVectorStoreIdFilesGetResponse =
|
|
493
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
494
|
+
S.Struct({
|
|
495
|
+
body: S.Unknown,
|
|
496
|
+
}),
|
|
497
|
+
).annotate({
|
|
498
|
+
identifier: "VectorStoreFileListVectorStoresVectorStoreIdFilesGetResponse",
|
|
499
|
+
}) as any as S.Schema<VectorStoreFileListVectorStoresVectorStoreIdFilesGetResponse>;
|
|
500
|
+
|
|
501
|
+
export interface VectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGetRequest {
|
|
502
|
+
vector_store_id: string;
|
|
503
|
+
file_id: string;
|
|
504
|
+
}
|
|
505
|
+
export const VectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGetRequest =
|
|
506
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
507
|
+
S.Struct({
|
|
508
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
509
|
+
file_id: S.String.pipe(T.Label()),
|
|
510
|
+
}).pipe(
|
|
511
|
+
T.Http({
|
|
512
|
+
method: "GET",
|
|
513
|
+
uri: "/v1/vector_stores/{vector_store_id}/files/{file_id}",
|
|
514
|
+
code: 200,
|
|
515
|
+
}),
|
|
516
|
+
),
|
|
517
|
+
).annotate({
|
|
518
|
+
identifier:
|
|
519
|
+
"VectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGetRequest",
|
|
520
|
+
}) as any as S.Schema<VectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGetRequest>;
|
|
521
|
+
|
|
522
|
+
export interface VectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGetResponse {
|
|
523
|
+
body: unknown;
|
|
524
|
+
}
|
|
525
|
+
export const VectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGetResponse =
|
|
526
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
527
|
+
S.Struct({
|
|
528
|
+
body: S.Unknown,
|
|
529
|
+
}),
|
|
530
|
+
).annotate({
|
|
531
|
+
identifier:
|
|
532
|
+
"VectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGetResponse",
|
|
533
|
+
}) as any as S.Schema<VectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGetResponse>;
|
|
534
|
+
|
|
535
|
+
export interface VectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGetRequest {
|
|
536
|
+
vector_store_id: string;
|
|
537
|
+
file_id: string;
|
|
538
|
+
}
|
|
539
|
+
export const VectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGetRequest =
|
|
540
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
541
|
+
S.Struct({
|
|
542
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
543
|
+
file_id: S.String.pipe(T.Label()),
|
|
544
|
+
}).pipe(
|
|
545
|
+
T.Http({
|
|
546
|
+
method: "GET",
|
|
547
|
+
uri: "/vector_stores/{vector_store_id}/files/{file_id}",
|
|
548
|
+
code: 200,
|
|
549
|
+
}),
|
|
550
|
+
),
|
|
551
|
+
).annotate({
|
|
552
|
+
identifier:
|
|
553
|
+
"VectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGetRequest",
|
|
554
|
+
}) as any as S.Schema<VectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGetRequest>;
|
|
555
|
+
|
|
556
|
+
export interface VectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGetResponse {
|
|
557
|
+
body: unknown;
|
|
558
|
+
}
|
|
559
|
+
export const VectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGetResponse =
|
|
560
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
561
|
+
S.Struct({
|
|
562
|
+
body: S.Unknown,
|
|
563
|
+
}),
|
|
564
|
+
).annotate({
|
|
565
|
+
identifier:
|
|
566
|
+
"VectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGetResponse",
|
|
567
|
+
}) as any as S.Schema<VectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGetResponse>;
|
|
568
|
+
|
|
569
|
+
export interface VectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPostRequest {
|
|
570
|
+
vector_store_id: string;
|
|
571
|
+
file_id: string;
|
|
572
|
+
}
|
|
573
|
+
export const VectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPostRequest =
|
|
574
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
575
|
+
S.Struct({
|
|
576
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
577
|
+
file_id: S.String.pipe(T.Label()),
|
|
578
|
+
}).pipe(
|
|
579
|
+
T.Http({
|
|
580
|
+
method: "POST",
|
|
581
|
+
uri: "/v1/vector_stores/{vector_store_id}/files/{file_id}",
|
|
582
|
+
code: 200,
|
|
583
|
+
}),
|
|
584
|
+
),
|
|
585
|
+
).annotate({
|
|
586
|
+
identifier:
|
|
587
|
+
"VectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPostRequest",
|
|
588
|
+
}) as any as S.Schema<VectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPostRequest>;
|
|
589
|
+
|
|
590
|
+
export interface VectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPostResponse {
|
|
591
|
+
body: unknown;
|
|
592
|
+
}
|
|
593
|
+
export const VectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPostResponse =
|
|
594
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
595
|
+
S.Struct({
|
|
596
|
+
body: S.Unknown,
|
|
597
|
+
}),
|
|
598
|
+
).annotate({
|
|
599
|
+
identifier:
|
|
600
|
+
"VectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPostResponse",
|
|
601
|
+
}) as any as S.Schema<VectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPostResponse>;
|
|
602
|
+
|
|
603
|
+
export interface VectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPostRequest {
|
|
604
|
+
vector_store_id: string;
|
|
605
|
+
file_id: string;
|
|
606
|
+
}
|
|
607
|
+
export const VectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPostRequest =
|
|
608
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
609
|
+
S.Struct({
|
|
610
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
611
|
+
file_id: S.String.pipe(T.Label()),
|
|
612
|
+
}).pipe(
|
|
613
|
+
T.Http({
|
|
614
|
+
method: "POST",
|
|
615
|
+
uri: "/vector_stores/{vector_store_id}/files/{file_id}",
|
|
616
|
+
code: 200,
|
|
617
|
+
}),
|
|
618
|
+
),
|
|
619
|
+
).annotate({
|
|
620
|
+
identifier:
|
|
621
|
+
"VectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPostRequest",
|
|
622
|
+
}) as any as S.Schema<VectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPostRequest>;
|
|
623
|
+
|
|
624
|
+
export interface VectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPostResponse {
|
|
625
|
+
body: unknown;
|
|
626
|
+
}
|
|
627
|
+
export const VectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPostResponse =
|
|
628
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
629
|
+
S.Struct({
|
|
630
|
+
body: S.Unknown,
|
|
631
|
+
}),
|
|
632
|
+
).annotate({
|
|
633
|
+
identifier:
|
|
634
|
+
"VectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPostResponse",
|
|
635
|
+
}) as any as S.Schema<VectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPostResponse>;
|
|
636
|
+
|
|
637
|
+
export interface VectorStoreListV1VectorStoresGetRequest {
|
|
638
|
+
after?: string;
|
|
639
|
+
before?: string;
|
|
640
|
+
limit?: number;
|
|
641
|
+
order?: string;
|
|
642
|
+
}
|
|
643
|
+
export const VectorStoreListV1VectorStoresGetRequest = /*@__PURE__*/ S.suspend(
|
|
644
|
+
() =>
|
|
645
|
+
S.Struct({
|
|
646
|
+
after: S.optional(S.String.pipe(T.Query())),
|
|
647
|
+
before: S.optional(S.String.pipe(T.Query())),
|
|
648
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
649
|
+
order: S.optional(S.String.pipe(T.Query())),
|
|
650
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/vector_stores", code: 200 })),
|
|
651
|
+
).annotate({
|
|
652
|
+
identifier: "VectorStoreListV1VectorStoresGetRequest",
|
|
653
|
+
}) as any as S.Schema<VectorStoreListV1VectorStoresGetRequest>;
|
|
654
|
+
|
|
655
|
+
export interface VectorStoreListV1VectorStoresGetResponse {
|
|
656
|
+
body: unknown;
|
|
657
|
+
}
|
|
658
|
+
export const VectorStoreListV1VectorStoresGetResponse = /*@__PURE__*/ S.suspend(
|
|
659
|
+
() =>
|
|
660
|
+
S.Struct({
|
|
661
|
+
body: S.Unknown,
|
|
662
|
+
}),
|
|
663
|
+
).annotate({
|
|
664
|
+
identifier: "VectorStoreListV1VectorStoresGetResponse",
|
|
665
|
+
}) as any as S.Schema<VectorStoreListV1VectorStoresGetResponse>;
|
|
666
|
+
|
|
667
|
+
export interface VectorStoreListVectorStoresGetRequest {
|
|
668
|
+
after?: string;
|
|
669
|
+
before?: string;
|
|
670
|
+
limit?: number;
|
|
671
|
+
order?: string;
|
|
672
|
+
}
|
|
673
|
+
export const VectorStoreListVectorStoresGetRequest = /*@__PURE__*/ S.suspend(
|
|
674
|
+
() =>
|
|
675
|
+
S.Struct({
|
|
676
|
+
after: S.optional(S.String.pipe(T.Query())),
|
|
677
|
+
before: S.optional(S.String.pipe(T.Query())),
|
|
678
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
679
|
+
order: S.optional(S.String.pipe(T.Query())),
|
|
680
|
+
}).pipe(T.Http({ method: "GET", uri: "/vector_stores", code: 200 })),
|
|
681
|
+
).annotate({
|
|
682
|
+
identifier: "VectorStoreListVectorStoresGetRequest",
|
|
683
|
+
}) as any as S.Schema<VectorStoreListVectorStoresGetRequest>;
|
|
684
|
+
|
|
685
|
+
export interface VectorStoreListVectorStoresGetResponse {
|
|
686
|
+
body: unknown;
|
|
687
|
+
}
|
|
688
|
+
export const VectorStoreListVectorStoresGetResponse = /*@__PURE__*/ S.suspend(
|
|
689
|
+
() =>
|
|
690
|
+
S.Struct({
|
|
691
|
+
body: S.Unknown,
|
|
692
|
+
}),
|
|
693
|
+
).annotate({
|
|
694
|
+
identifier: "VectorStoreListVectorStoresGetResponse",
|
|
695
|
+
}) as any as S.Schema<VectorStoreListVectorStoresGetResponse>;
|
|
696
|
+
|
|
697
|
+
export interface VectorStoreRetrieveV1VectorStoresVectorStoreIdGetRequest {
|
|
698
|
+
vector_store_id: string;
|
|
699
|
+
}
|
|
700
|
+
export const VectorStoreRetrieveV1VectorStoresVectorStoreIdGetRequest =
|
|
701
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
702
|
+
S.Struct({
|
|
703
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
704
|
+
}).pipe(
|
|
705
|
+
T.Http({
|
|
706
|
+
method: "GET",
|
|
707
|
+
uri: "/v1/vector_stores/{vector_store_id}",
|
|
708
|
+
code: 200,
|
|
709
|
+
}),
|
|
710
|
+
),
|
|
711
|
+
).annotate({
|
|
712
|
+
identifier: "VectorStoreRetrieveV1VectorStoresVectorStoreIdGetRequest",
|
|
713
|
+
}) as any as S.Schema<VectorStoreRetrieveV1VectorStoresVectorStoreIdGetRequest>;
|
|
714
|
+
|
|
715
|
+
export interface VectorStoreRetrieveV1VectorStoresVectorStoreIdGetResponse {
|
|
716
|
+
body: unknown;
|
|
717
|
+
}
|
|
718
|
+
export const VectorStoreRetrieveV1VectorStoresVectorStoreIdGetResponse =
|
|
719
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
720
|
+
S.Struct({
|
|
721
|
+
body: S.Unknown,
|
|
722
|
+
}),
|
|
723
|
+
).annotate({
|
|
724
|
+
identifier: "VectorStoreRetrieveV1VectorStoresVectorStoreIdGetResponse",
|
|
725
|
+
}) as any as S.Schema<VectorStoreRetrieveV1VectorStoresVectorStoreIdGetResponse>;
|
|
726
|
+
|
|
727
|
+
export interface VectorStoreRetrieveVectorStoresVectorStoreIdGetRequest {
|
|
728
|
+
vector_store_id: string;
|
|
729
|
+
}
|
|
730
|
+
export const VectorStoreRetrieveVectorStoresVectorStoreIdGetRequest =
|
|
731
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
732
|
+
S.Struct({
|
|
733
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
734
|
+
}).pipe(
|
|
735
|
+
T.Http({
|
|
736
|
+
method: "GET",
|
|
737
|
+
uri: "/vector_stores/{vector_store_id}",
|
|
738
|
+
code: 200,
|
|
739
|
+
}),
|
|
740
|
+
),
|
|
741
|
+
).annotate({
|
|
742
|
+
identifier: "VectorStoreRetrieveVectorStoresVectorStoreIdGetRequest",
|
|
743
|
+
}) as any as S.Schema<VectorStoreRetrieveVectorStoresVectorStoreIdGetRequest>;
|
|
744
|
+
|
|
745
|
+
export interface VectorStoreRetrieveVectorStoresVectorStoreIdGetResponse {
|
|
746
|
+
body: unknown;
|
|
747
|
+
}
|
|
748
|
+
export const VectorStoreRetrieveVectorStoresVectorStoreIdGetResponse =
|
|
749
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
750
|
+
S.Struct({
|
|
751
|
+
body: S.Unknown,
|
|
752
|
+
}),
|
|
753
|
+
).annotate({
|
|
754
|
+
identifier: "VectorStoreRetrieveVectorStoresVectorStoreIdGetResponse",
|
|
755
|
+
}) as any as S.Schema<VectorStoreRetrieveVectorStoresVectorStoreIdGetResponse>;
|
|
756
|
+
|
|
757
|
+
export interface VectorStoreSearchV1VectorStoresVectorStoreIdSearchPostRequest {
|
|
758
|
+
vector_store_id: string;
|
|
759
|
+
}
|
|
760
|
+
export const VectorStoreSearchV1VectorStoresVectorStoreIdSearchPostRequest =
|
|
761
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
762
|
+
S.Struct({
|
|
763
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
764
|
+
}).pipe(
|
|
765
|
+
T.Http({
|
|
766
|
+
method: "POST",
|
|
767
|
+
uri: "/v1/vector_stores/{vector_store_id}/search",
|
|
768
|
+
code: 200,
|
|
769
|
+
}),
|
|
770
|
+
),
|
|
771
|
+
).annotate({
|
|
772
|
+
identifier: "VectorStoreSearchV1VectorStoresVectorStoreIdSearchPostRequest",
|
|
773
|
+
}) as any as S.Schema<VectorStoreSearchV1VectorStoresVectorStoreIdSearchPostRequest>;
|
|
774
|
+
|
|
775
|
+
export interface VectorStoreSearchV1VectorStoresVectorStoreIdSearchPostResponse {
|
|
776
|
+
body: unknown;
|
|
777
|
+
}
|
|
778
|
+
export const VectorStoreSearchV1VectorStoresVectorStoreIdSearchPostResponse =
|
|
779
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
780
|
+
S.Struct({
|
|
781
|
+
body: S.Unknown,
|
|
782
|
+
}),
|
|
783
|
+
).annotate({
|
|
784
|
+
identifier:
|
|
785
|
+
"VectorStoreSearchV1VectorStoresVectorStoreIdSearchPostResponse",
|
|
786
|
+
}) as any as S.Schema<VectorStoreSearchV1VectorStoresVectorStoreIdSearchPostResponse>;
|
|
787
|
+
|
|
788
|
+
export interface VectorStoreSearchVectorStoresVectorStoreIdSearchPostRequest {
|
|
789
|
+
vector_store_id: string;
|
|
790
|
+
}
|
|
791
|
+
export const VectorStoreSearchVectorStoresVectorStoreIdSearchPostRequest =
|
|
792
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
793
|
+
S.Struct({
|
|
794
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
795
|
+
}).pipe(
|
|
796
|
+
T.Http({
|
|
797
|
+
method: "POST",
|
|
798
|
+
uri: "/vector_stores/{vector_store_id}/search",
|
|
799
|
+
code: 200,
|
|
800
|
+
}),
|
|
801
|
+
),
|
|
802
|
+
).annotate({
|
|
803
|
+
identifier: "VectorStoreSearchVectorStoresVectorStoreIdSearchPostRequest",
|
|
804
|
+
}) as any as S.Schema<VectorStoreSearchVectorStoresVectorStoreIdSearchPostRequest>;
|
|
805
|
+
|
|
806
|
+
export interface VectorStoreSearchVectorStoresVectorStoreIdSearchPostResponse {
|
|
807
|
+
body: unknown;
|
|
808
|
+
}
|
|
809
|
+
export const VectorStoreSearchVectorStoresVectorStoreIdSearchPostResponse =
|
|
810
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
811
|
+
S.Struct({
|
|
812
|
+
body: S.Unknown,
|
|
813
|
+
}),
|
|
814
|
+
).annotate({
|
|
815
|
+
identifier: "VectorStoreSearchVectorStoresVectorStoreIdSearchPostResponse",
|
|
816
|
+
}) as any as S.Schema<VectorStoreSearchVectorStoresVectorStoreIdSearchPostResponse>;
|
|
817
|
+
|
|
818
|
+
export interface VectorStoreUpdateV1VectorStoresVectorStoreIdPostRequest {
|
|
819
|
+
vector_store_id: string;
|
|
820
|
+
}
|
|
821
|
+
export const VectorStoreUpdateV1VectorStoresVectorStoreIdPostRequest =
|
|
822
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
823
|
+
S.Struct({
|
|
824
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
825
|
+
}).pipe(
|
|
826
|
+
T.Http({
|
|
827
|
+
method: "POST",
|
|
828
|
+
uri: "/v1/vector_stores/{vector_store_id}",
|
|
829
|
+
code: 200,
|
|
830
|
+
}),
|
|
831
|
+
),
|
|
832
|
+
).annotate({
|
|
833
|
+
identifier: "VectorStoreUpdateV1VectorStoresVectorStoreIdPostRequest",
|
|
834
|
+
}) as any as S.Schema<VectorStoreUpdateV1VectorStoresVectorStoreIdPostRequest>;
|
|
835
|
+
|
|
836
|
+
export interface VectorStoreUpdateV1VectorStoresVectorStoreIdPostResponse {
|
|
837
|
+
body: unknown;
|
|
838
|
+
}
|
|
839
|
+
export const VectorStoreUpdateV1VectorStoresVectorStoreIdPostResponse =
|
|
840
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
841
|
+
S.Struct({
|
|
842
|
+
body: S.Unknown,
|
|
843
|
+
}),
|
|
844
|
+
).annotate({
|
|
845
|
+
identifier: "VectorStoreUpdateV1VectorStoresVectorStoreIdPostResponse",
|
|
846
|
+
}) as any as S.Schema<VectorStoreUpdateV1VectorStoresVectorStoreIdPostResponse>;
|
|
847
|
+
|
|
848
|
+
export interface VectorStoreUpdateVectorStoresVectorStoreIdPostRequest {
|
|
849
|
+
vector_store_id: string;
|
|
850
|
+
}
|
|
851
|
+
export const VectorStoreUpdateVectorStoresVectorStoreIdPostRequest =
|
|
852
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
853
|
+
S.Struct({
|
|
854
|
+
vector_store_id: S.String.pipe(T.Label()),
|
|
855
|
+
}).pipe(
|
|
856
|
+
T.Http({
|
|
857
|
+
method: "POST",
|
|
858
|
+
uri: "/vector_stores/{vector_store_id}",
|
|
859
|
+
code: 200,
|
|
860
|
+
}),
|
|
861
|
+
),
|
|
862
|
+
).annotate({
|
|
863
|
+
identifier: "VectorStoreUpdateVectorStoresVectorStoreIdPostRequest",
|
|
864
|
+
}) as any as S.Schema<VectorStoreUpdateVectorStoresVectorStoreIdPostRequest>;
|
|
865
|
+
|
|
866
|
+
export interface VectorStoreUpdateVectorStoresVectorStoreIdPostResponse {
|
|
867
|
+
body: unknown;
|
|
868
|
+
}
|
|
869
|
+
export const VectorStoreUpdateVectorStoresVectorStoreIdPostResponse =
|
|
870
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
871
|
+
S.Struct({
|
|
872
|
+
body: S.Unknown,
|
|
873
|
+
}),
|
|
874
|
+
).annotate({
|
|
875
|
+
identifier: "VectorStoreUpdateVectorStoresVectorStoreIdPostResponse",
|
|
876
|
+
}) as any as S.Schema<VectorStoreUpdateVectorStoresVectorStoreIdPostResponse>;
|
|
877
|
+
|
|
878
|
+
export type GetVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContentError =
|
|
879
|
+
| UnprocessableEntity
|
|
880
|
+
| LitellmOpError;
|
|
881
|
+
/** Vector Store File Content */
|
|
882
|
+
export const getVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContent: API.OperationMethod<
|
|
883
|
+
GetVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContentRequest,
|
|
884
|
+
GetVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContentResponse,
|
|
885
|
+
GetVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContentError,
|
|
886
|
+
LitellmOpContext
|
|
887
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
888
|
+
input:
|
|
889
|
+
GetVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContentRequest,
|
|
890
|
+
output:
|
|
891
|
+
GetVectorStoreFileContentV1VectorStoresVectorStoreIdFilesFileIdContentResponse,
|
|
892
|
+
errors: [UnprocessableEntity],
|
|
893
|
+
protocol: LitellmProtocol,
|
|
894
|
+
retry: Retry.Retry,
|
|
895
|
+
}));
|
|
896
|
+
|
|
897
|
+
export type GetVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContentError =
|
|
898
|
+
| UnprocessableEntity
|
|
899
|
+
| LitellmOpError;
|
|
900
|
+
/** Vector Store File Content */
|
|
901
|
+
export const getVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContent: API.OperationMethod<
|
|
902
|
+
GetVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContentRequest,
|
|
903
|
+
GetVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContentResponse,
|
|
904
|
+
GetVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContentError,
|
|
905
|
+
LitellmOpContext
|
|
906
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
907
|
+
input:
|
|
908
|
+
GetVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContentRequest,
|
|
909
|
+
output:
|
|
910
|
+
GetVectorStoreFileContentVectorStoresVectorStoreIdFilesFileIdContentResponse,
|
|
911
|
+
errors: [UnprocessableEntity],
|
|
912
|
+
protocol: LitellmProtocol,
|
|
913
|
+
retry: Retry.Retry,
|
|
914
|
+
}));
|
|
915
|
+
|
|
916
|
+
export type ListCreateV1IndexesPostError = UnprocessableEntity | LitellmOpError;
|
|
917
|
+
/** Index Create Create an index. Just writes the index to the database. ```bash curl -L -X POST 'http://0.0.0.0:4000/v1/indexes' -H 'Content-Type: application/json' -H 'Authorization: Bearer sk-1234' -d '{ "index_name": "dall-e-3", "litellm_params": { "vector_store_index": "real-index-name", "vector_store_name": "azure-ai-search" } }' ``` */
|
|
918
|
+
export const listCreateV1IndexesPost: API.OperationMethod<
|
|
919
|
+
ListCreateV1IndexesPostRequest,
|
|
920
|
+
ListCreateV1IndexesPostResponse,
|
|
921
|
+
ListCreateV1IndexesPostError,
|
|
922
|
+
LitellmOpContext
|
|
923
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
924
|
+
input: ListCreateV1IndexesPostRequest,
|
|
925
|
+
output: ListCreateV1IndexesPostResponse,
|
|
926
|
+
errors: [UnprocessableEntity],
|
|
927
|
+
protocol: LitellmProtocol,
|
|
928
|
+
retry: Retry.Retry,
|
|
929
|
+
}));
|
|
930
|
+
|
|
931
|
+
export type ListListV1IndexesGetError = LitellmOpError;
|
|
932
|
+
/** Index List List all vector store indexes. Proxy admin only. ```bash curl -L -X GET 'http://0.0.0.0:4000/v1/indexes' -H 'Authorization: Bearer sk-1234' ``` */
|
|
933
|
+
export const listListV1IndexesGet: API.OperationMethod<
|
|
934
|
+
ListListV1IndexesGetRequest,
|
|
935
|
+
IndexListResponse,
|
|
936
|
+
ListListV1IndexesGetError,
|
|
937
|
+
LitellmOpContext
|
|
938
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
939
|
+
input: ListListV1IndexesGetRequest,
|
|
940
|
+
output: IndexListResponse,
|
|
941
|
+
errors: [],
|
|
942
|
+
protocol: LitellmProtocol,
|
|
943
|
+
retry: Retry.Retry,
|
|
944
|
+
}));
|
|
945
|
+
|
|
946
|
+
export type VectorStoreCreateV1VectorStoresPostError = LitellmOpError;
|
|
947
|
+
/** Vector Store Create Create a vector store. API Reference: https://platform.openai.com/docs/api-reference/vector-stores/create Supports target_model_names parameter for creating vector stores across multiple models: ```json { "name": "my-vector-store", "target_model_names": "gpt-4,gemini-2.0" } ``` */
|
|
948
|
+
export const vectorStoreCreateV1VectorStoresPost: API.OperationMethod<
|
|
949
|
+
VectorStoreCreateV1VectorStoresPostRequest,
|
|
950
|
+
VectorStoreCreateV1VectorStoresPostResponse,
|
|
951
|
+
VectorStoreCreateV1VectorStoresPostError,
|
|
952
|
+
LitellmOpContext
|
|
953
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
954
|
+
input: VectorStoreCreateV1VectorStoresPostRequest,
|
|
955
|
+
output: VectorStoreCreateV1VectorStoresPostResponse,
|
|
956
|
+
errors: [],
|
|
957
|
+
protocol: LitellmProtocol,
|
|
958
|
+
retry: Retry.Retry,
|
|
959
|
+
}));
|
|
960
|
+
|
|
961
|
+
export type VectorStoreCreateVectorStoresPostError = LitellmOpError;
|
|
962
|
+
/** Vector Store Create Create a vector store. API Reference: https://platform.openai.com/docs/api-reference/vector-stores/create Supports target_model_names parameter for creating vector stores across multiple models: ```json { "name": "my-vector-store", "target_model_names": "gpt-4,gemini-2.0" } ``` */
|
|
963
|
+
export const vectorStoreCreateVectorStoresPost: API.OperationMethod<
|
|
964
|
+
VectorStoreCreateVectorStoresPostRequest,
|
|
965
|
+
VectorStoreCreateVectorStoresPostResponse,
|
|
966
|
+
VectorStoreCreateVectorStoresPostError,
|
|
967
|
+
LitellmOpContext
|
|
968
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
969
|
+
input: VectorStoreCreateVectorStoresPostRequest,
|
|
970
|
+
output: VectorStoreCreateVectorStoresPostResponse,
|
|
971
|
+
errors: [],
|
|
972
|
+
protocol: LitellmProtocol,
|
|
973
|
+
retry: Retry.Retry,
|
|
974
|
+
}));
|
|
975
|
+
|
|
976
|
+
export type VectorStoreDeleteV1VectorStoresVectorStoreIdDeleteError =
|
|
977
|
+
| UnprocessableEntity
|
|
978
|
+
| LitellmOpError;
|
|
979
|
+
/** Vector Store Delete Delete a vector store. API Reference: https://platform.openai.com/docs/api-reference/vector-stores/delete */
|
|
980
|
+
export const vectorStoreDeleteV1VectorStoresVectorStoreIdDelete: API.OperationMethod<
|
|
981
|
+
VectorStoreDeleteV1VectorStoresVectorStoreIdDeleteRequest,
|
|
982
|
+
VectorStoreDeleteV1VectorStoresVectorStoreIdDeleteResponse,
|
|
983
|
+
VectorStoreDeleteV1VectorStoresVectorStoreIdDeleteError,
|
|
984
|
+
LitellmOpContext
|
|
985
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
986
|
+
input: VectorStoreDeleteV1VectorStoresVectorStoreIdDeleteRequest,
|
|
987
|
+
output: VectorStoreDeleteV1VectorStoresVectorStoreIdDeleteResponse,
|
|
988
|
+
errors: [UnprocessableEntity],
|
|
989
|
+
protocol: LitellmProtocol,
|
|
990
|
+
retry: Retry.Retry,
|
|
991
|
+
}));
|
|
992
|
+
|
|
993
|
+
export type VectorStoreDeleteVectorStoresVectorStoreIdDeleteError =
|
|
994
|
+
| UnprocessableEntity
|
|
995
|
+
| LitellmOpError;
|
|
996
|
+
/** Vector Store Delete Delete a vector store. API Reference: https://platform.openai.com/docs/api-reference/vector-stores/delete */
|
|
997
|
+
export const vectorStoreDeleteVectorStoresVectorStoreIdDelete: API.OperationMethod<
|
|
998
|
+
VectorStoreDeleteVectorStoresVectorStoreIdDeleteRequest,
|
|
999
|
+
VectorStoreDeleteVectorStoresVectorStoreIdDeleteResponse,
|
|
1000
|
+
VectorStoreDeleteVectorStoresVectorStoreIdDeleteError,
|
|
1001
|
+
LitellmOpContext
|
|
1002
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1003
|
+
input: VectorStoreDeleteVectorStoresVectorStoreIdDeleteRequest,
|
|
1004
|
+
output: VectorStoreDeleteVectorStoresVectorStoreIdDeleteResponse,
|
|
1005
|
+
errors: [UnprocessableEntity],
|
|
1006
|
+
protocol: LitellmProtocol,
|
|
1007
|
+
retry: Retry.Retry,
|
|
1008
|
+
}));
|
|
1009
|
+
|
|
1010
|
+
export type VectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPostError =
|
|
1011
|
+
| UnprocessableEntity
|
|
1012
|
+
| LitellmOpError;
|
|
1013
|
+
/** Vector Store File Create */
|
|
1014
|
+
export const vectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPost: API.OperationMethod<
|
|
1015
|
+
VectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPostRequest,
|
|
1016
|
+
VectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPostResponse,
|
|
1017
|
+
VectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPostError,
|
|
1018
|
+
LitellmOpContext
|
|
1019
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1020
|
+
input: VectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPostRequest,
|
|
1021
|
+
output: VectorStoreFileCreateV1VectorStoresVectorStoreIdFilesPostResponse,
|
|
1022
|
+
errors: [UnprocessableEntity],
|
|
1023
|
+
protocol: LitellmProtocol,
|
|
1024
|
+
retry: Retry.Retry,
|
|
1025
|
+
}));
|
|
1026
|
+
|
|
1027
|
+
export type VectorStoreFileCreateVectorStoresVectorStoreIdFilesPostError =
|
|
1028
|
+
| UnprocessableEntity
|
|
1029
|
+
| LitellmOpError;
|
|
1030
|
+
/** Vector Store File Create */
|
|
1031
|
+
export const vectorStoreFileCreateVectorStoresVectorStoreIdFilesPost: API.OperationMethod<
|
|
1032
|
+
VectorStoreFileCreateVectorStoresVectorStoreIdFilesPostRequest,
|
|
1033
|
+
VectorStoreFileCreateVectorStoresVectorStoreIdFilesPostResponse,
|
|
1034
|
+
VectorStoreFileCreateVectorStoresVectorStoreIdFilesPostError,
|
|
1035
|
+
LitellmOpContext
|
|
1036
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1037
|
+
input: VectorStoreFileCreateVectorStoresVectorStoreIdFilesPostRequest,
|
|
1038
|
+
output: VectorStoreFileCreateVectorStoresVectorStoreIdFilesPostResponse,
|
|
1039
|
+
errors: [UnprocessableEntity],
|
|
1040
|
+
protocol: LitellmProtocol,
|
|
1041
|
+
retry: Retry.Retry,
|
|
1042
|
+
}));
|
|
1043
|
+
|
|
1044
|
+
export type VectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDeleteError =
|
|
1045
|
+
| UnprocessableEntity
|
|
1046
|
+
| LitellmOpError;
|
|
1047
|
+
/** Vector Store File Delete */
|
|
1048
|
+
export const vectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDelete: API.OperationMethod<
|
|
1049
|
+
VectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDeleteRequest,
|
|
1050
|
+
VectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDeleteResponse,
|
|
1051
|
+
VectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDeleteError,
|
|
1052
|
+
LitellmOpContext
|
|
1053
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1054
|
+
input:
|
|
1055
|
+
VectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDeleteRequest,
|
|
1056
|
+
output:
|
|
1057
|
+
VectorStoreFileDeleteV1VectorStoresVectorStoreIdFilesFileIdDeleteResponse,
|
|
1058
|
+
errors: [UnprocessableEntity],
|
|
1059
|
+
protocol: LitellmProtocol,
|
|
1060
|
+
retry: Retry.Retry,
|
|
1061
|
+
}));
|
|
1062
|
+
|
|
1063
|
+
export type VectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDeleteError =
|
|
1064
|
+
| UnprocessableEntity
|
|
1065
|
+
| LitellmOpError;
|
|
1066
|
+
/** Vector Store File Delete */
|
|
1067
|
+
export const vectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDelete: API.OperationMethod<
|
|
1068
|
+
VectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDeleteRequest,
|
|
1069
|
+
VectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDeleteResponse,
|
|
1070
|
+
VectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDeleteError,
|
|
1071
|
+
LitellmOpContext
|
|
1072
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1073
|
+
input: VectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDeleteRequest,
|
|
1074
|
+
output:
|
|
1075
|
+
VectorStoreFileDeleteVectorStoresVectorStoreIdFilesFileIdDeleteResponse,
|
|
1076
|
+
errors: [UnprocessableEntity],
|
|
1077
|
+
protocol: LitellmProtocol,
|
|
1078
|
+
retry: Retry.Retry,
|
|
1079
|
+
}));
|
|
1080
|
+
|
|
1081
|
+
export type VectorStoreFileListV1VectorStoresVectorStoreIdFilesGetError =
|
|
1082
|
+
| UnprocessableEntity
|
|
1083
|
+
| LitellmOpError;
|
|
1084
|
+
/** Vector Store File List */
|
|
1085
|
+
export const vectorStoreFileListV1VectorStoresVectorStoreIdFilesGet: API.OperationMethod<
|
|
1086
|
+
VectorStoreFileListV1VectorStoresVectorStoreIdFilesGetRequest,
|
|
1087
|
+
VectorStoreFileListV1VectorStoresVectorStoreIdFilesGetResponse,
|
|
1088
|
+
VectorStoreFileListV1VectorStoresVectorStoreIdFilesGetError,
|
|
1089
|
+
LitellmOpContext
|
|
1090
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1091
|
+
input: VectorStoreFileListV1VectorStoresVectorStoreIdFilesGetRequest,
|
|
1092
|
+
output: VectorStoreFileListV1VectorStoresVectorStoreIdFilesGetResponse,
|
|
1093
|
+
errors: [UnprocessableEntity],
|
|
1094
|
+
protocol: LitellmProtocol,
|
|
1095
|
+
retry: Retry.Retry,
|
|
1096
|
+
}));
|
|
1097
|
+
|
|
1098
|
+
export type VectorStoreFileListVectorStoresVectorStoreIdFilesGetError =
|
|
1099
|
+
| UnprocessableEntity
|
|
1100
|
+
| LitellmOpError;
|
|
1101
|
+
/** Vector Store File List */
|
|
1102
|
+
export const vectorStoreFileListVectorStoresVectorStoreIdFilesGet: API.OperationMethod<
|
|
1103
|
+
VectorStoreFileListVectorStoresVectorStoreIdFilesGetRequest,
|
|
1104
|
+
VectorStoreFileListVectorStoresVectorStoreIdFilesGetResponse,
|
|
1105
|
+
VectorStoreFileListVectorStoresVectorStoreIdFilesGetError,
|
|
1106
|
+
LitellmOpContext
|
|
1107
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1108
|
+
input: VectorStoreFileListVectorStoresVectorStoreIdFilesGetRequest,
|
|
1109
|
+
output: VectorStoreFileListVectorStoresVectorStoreIdFilesGetResponse,
|
|
1110
|
+
errors: [UnprocessableEntity],
|
|
1111
|
+
protocol: LitellmProtocol,
|
|
1112
|
+
retry: Retry.Retry,
|
|
1113
|
+
}));
|
|
1114
|
+
|
|
1115
|
+
export type VectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGetError =
|
|
1116
|
+
| UnprocessableEntity
|
|
1117
|
+
| LitellmOpError;
|
|
1118
|
+
/** Vector Store File Retrieve */
|
|
1119
|
+
export const vectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGet: API.OperationMethod<
|
|
1120
|
+
VectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGetRequest,
|
|
1121
|
+
VectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGetResponse,
|
|
1122
|
+
VectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGetError,
|
|
1123
|
+
LitellmOpContext
|
|
1124
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1125
|
+
input:
|
|
1126
|
+
VectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGetRequest,
|
|
1127
|
+
output:
|
|
1128
|
+
VectorStoreFileRetrieveV1VectorStoresVectorStoreIdFilesFileIdGetResponse,
|
|
1129
|
+
errors: [UnprocessableEntity],
|
|
1130
|
+
protocol: LitellmProtocol,
|
|
1131
|
+
retry: Retry.Retry,
|
|
1132
|
+
}));
|
|
1133
|
+
|
|
1134
|
+
export type VectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGetError =
|
|
1135
|
+
| UnprocessableEntity
|
|
1136
|
+
| LitellmOpError;
|
|
1137
|
+
/** Vector Store File Retrieve */
|
|
1138
|
+
export const vectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGet: API.OperationMethod<
|
|
1139
|
+
VectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGetRequest,
|
|
1140
|
+
VectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGetResponse,
|
|
1141
|
+
VectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGetError,
|
|
1142
|
+
LitellmOpContext
|
|
1143
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1144
|
+
input: VectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGetRequest,
|
|
1145
|
+
output:
|
|
1146
|
+
VectorStoreFileRetrieveVectorStoresVectorStoreIdFilesFileIdGetResponse,
|
|
1147
|
+
errors: [UnprocessableEntity],
|
|
1148
|
+
protocol: LitellmProtocol,
|
|
1149
|
+
retry: Retry.Retry,
|
|
1150
|
+
}));
|
|
1151
|
+
|
|
1152
|
+
export type VectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPostError =
|
|
1153
|
+
| UnprocessableEntity
|
|
1154
|
+
| LitellmOpError;
|
|
1155
|
+
/** Vector Store File Update */
|
|
1156
|
+
export const vectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPost: API.OperationMethod<
|
|
1157
|
+
VectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPostRequest,
|
|
1158
|
+
VectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPostResponse,
|
|
1159
|
+
VectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPostError,
|
|
1160
|
+
LitellmOpContext
|
|
1161
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1162
|
+
input: VectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPostRequest,
|
|
1163
|
+
output:
|
|
1164
|
+
VectorStoreFileUpdateV1VectorStoresVectorStoreIdFilesFileIdPostResponse,
|
|
1165
|
+
errors: [UnprocessableEntity],
|
|
1166
|
+
protocol: LitellmProtocol,
|
|
1167
|
+
retry: Retry.Retry,
|
|
1168
|
+
}));
|
|
1169
|
+
|
|
1170
|
+
export type VectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPostError =
|
|
1171
|
+
| UnprocessableEntity
|
|
1172
|
+
| LitellmOpError;
|
|
1173
|
+
/** Vector Store File Update */
|
|
1174
|
+
export const vectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPost: API.OperationMethod<
|
|
1175
|
+
VectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPostRequest,
|
|
1176
|
+
VectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPostResponse,
|
|
1177
|
+
VectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPostError,
|
|
1178
|
+
LitellmOpContext
|
|
1179
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1180
|
+
input: VectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPostRequest,
|
|
1181
|
+
output: VectorStoreFileUpdateVectorStoresVectorStoreIdFilesFileIdPostResponse,
|
|
1182
|
+
errors: [UnprocessableEntity],
|
|
1183
|
+
protocol: LitellmProtocol,
|
|
1184
|
+
retry: Retry.Retry,
|
|
1185
|
+
}));
|
|
1186
|
+
|
|
1187
|
+
export type VectorStoreListV1VectorStoresGetError =
|
|
1188
|
+
| UnprocessableEntity
|
|
1189
|
+
| LitellmOpError;
|
|
1190
|
+
/** Vector Store List List vector stores. API Reference: https://platform.openai.com/docs/api-reference/vector-stores/list */
|
|
1191
|
+
export const vectorStoreListV1VectorStoresGet: API.OperationMethod<
|
|
1192
|
+
VectorStoreListV1VectorStoresGetRequest,
|
|
1193
|
+
VectorStoreListV1VectorStoresGetResponse,
|
|
1194
|
+
VectorStoreListV1VectorStoresGetError,
|
|
1195
|
+
LitellmOpContext
|
|
1196
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1197
|
+
input: VectorStoreListV1VectorStoresGetRequest,
|
|
1198
|
+
output: VectorStoreListV1VectorStoresGetResponse,
|
|
1199
|
+
errors: [UnprocessableEntity],
|
|
1200
|
+
protocol: LitellmProtocol,
|
|
1201
|
+
retry: Retry.Retry,
|
|
1202
|
+
}));
|
|
1203
|
+
|
|
1204
|
+
export type VectorStoreListVectorStoresGetError =
|
|
1205
|
+
| UnprocessableEntity
|
|
1206
|
+
| LitellmOpError;
|
|
1207
|
+
/** Vector Store List List vector stores. API Reference: https://platform.openai.com/docs/api-reference/vector-stores/list */
|
|
1208
|
+
export const vectorStoreListVectorStoresGet: API.OperationMethod<
|
|
1209
|
+
VectorStoreListVectorStoresGetRequest,
|
|
1210
|
+
VectorStoreListVectorStoresGetResponse,
|
|
1211
|
+
VectorStoreListVectorStoresGetError,
|
|
1212
|
+
LitellmOpContext
|
|
1213
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1214
|
+
input: VectorStoreListVectorStoresGetRequest,
|
|
1215
|
+
output: VectorStoreListVectorStoresGetResponse,
|
|
1216
|
+
errors: [UnprocessableEntity],
|
|
1217
|
+
protocol: LitellmProtocol,
|
|
1218
|
+
retry: Retry.Retry,
|
|
1219
|
+
}));
|
|
1220
|
+
|
|
1221
|
+
export type VectorStoreRetrieveV1VectorStoresVectorStoreIdGetError =
|
|
1222
|
+
| UnprocessableEntity
|
|
1223
|
+
| LitellmOpError;
|
|
1224
|
+
/** Vector Store Retrieve Retrieve a vector store. API Reference: https://platform.openai.com/docs/api-reference/vector-stores/retrieve */
|
|
1225
|
+
export const vectorStoreRetrieveV1VectorStoresVectorStoreIdGet: API.OperationMethod<
|
|
1226
|
+
VectorStoreRetrieveV1VectorStoresVectorStoreIdGetRequest,
|
|
1227
|
+
VectorStoreRetrieveV1VectorStoresVectorStoreIdGetResponse,
|
|
1228
|
+
VectorStoreRetrieveV1VectorStoresVectorStoreIdGetError,
|
|
1229
|
+
LitellmOpContext
|
|
1230
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1231
|
+
input: VectorStoreRetrieveV1VectorStoresVectorStoreIdGetRequest,
|
|
1232
|
+
output: VectorStoreRetrieveV1VectorStoresVectorStoreIdGetResponse,
|
|
1233
|
+
errors: [UnprocessableEntity],
|
|
1234
|
+
protocol: LitellmProtocol,
|
|
1235
|
+
retry: Retry.Retry,
|
|
1236
|
+
}));
|
|
1237
|
+
|
|
1238
|
+
export type VectorStoreRetrieveVectorStoresVectorStoreIdGetError =
|
|
1239
|
+
| UnprocessableEntity
|
|
1240
|
+
| LitellmOpError;
|
|
1241
|
+
/** Vector Store Retrieve Retrieve a vector store. API Reference: https://platform.openai.com/docs/api-reference/vector-stores/retrieve */
|
|
1242
|
+
export const vectorStoreRetrieveVectorStoresVectorStoreIdGet: API.OperationMethod<
|
|
1243
|
+
VectorStoreRetrieveVectorStoresVectorStoreIdGetRequest,
|
|
1244
|
+
VectorStoreRetrieveVectorStoresVectorStoreIdGetResponse,
|
|
1245
|
+
VectorStoreRetrieveVectorStoresVectorStoreIdGetError,
|
|
1246
|
+
LitellmOpContext
|
|
1247
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1248
|
+
input: VectorStoreRetrieveVectorStoresVectorStoreIdGetRequest,
|
|
1249
|
+
output: VectorStoreRetrieveVectorStoresVectorStoreIdGetResponse,
|
|
1250
|
+
errors: [UnprocessableEntity],
|
|
1251
|
+
protocol: LitellmProtocol,
|
|
1252
|
+
retry: Retry.Retry,
|
|
1253
|
+
}));
|
|
1254
|
+
|
|
1255
|
+
export type VectorStoreSearchV1VectorStoresVectorStoreIdSearchPostError =
|
|
1256
|
+
| UnprocessableEntity
|
|
1257
|
+
| LitellmOpError;
|
|
1258
|
+
/** Vector Store Search Search a vector store. API Reference: https://platform.openai.com/docs/api-reference/vector-stores/search */
|
|
1259
|
+
export const vectorStoreSearchV1VectorStoresVectorStoreIdSearchPost: API.OperationMethod<
|
|
1260
|
+
VectorStoreSearchV1VectorStoresVectorStoreIdSearchPostRequest,
|
|
1261
|
+
VectorStoreSearchV1VectorStoresVectorStoreIdSearchPostResponse,
|
|
1262
|
+
VectorStoreSearchV1VectorStoresVectorStoreIdSearchPostError,
|
|
1263
|
+
LitellmOpContext
|
|
1264
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1265
|
+
input: VectorStoreSearchV1VectorStoresVectorStoreIdSearchPostRequest,
|
|
1266
|
+
output: VectorStoreSearchV1VectorStoresVectorStoreIdSearchPostResponse,
|
|
1267
|
+
errors: [UnprocessableEntity],
|
|
1268
|
+
protocol: LitellmProtocol,
|
|
1269
|
+
retry: Retry.Retry,
|
|
1270
|
+
}));
|
|
1271
|
+
|
|
1272
|
+
export type VectorStoreSearchVectorStoresVectorStoreIdSearchPostError =
|
|
1273
|
+
| UnprocessableEntity
|
|
1274
|
+
| LitellmOpError;
|
|
1275
|
+
/** Vector Store Search Search a vector store. API Reference: https://platform.openai.com/docs/api-reference/vector-stores/search */
|
|
1276
|
+
export const vectorStoreSearchVectorStoresVectorStoreIdSearchPost: API.OperationMethod<
|
|
1277
|
+
VectorStoreSearchVectorStoresVectorStoreIdSearchPostRequest,
|
|
1278
|
+
VectorStoreSearchVectorStoresVectorStoreIdSearchPostResponse,
|
|
1279
|
+
VectorStoreSearchVectorStoresVectorStoreIdSearchPostError,
|
|
1280
|
+
LitellmOpContext
|
|
1281
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1282
|
+
input: VectorStoreSearchVectorStoresVectorStoreIdSearchPostRequest,
|
|
1283
|
+
output: VectorStoreSearchVectorStoresVectorStoreIdSearchPostResponse,
|
|
1284
|
+
errors: [UnprocessableEntity],
|
|
1285
|
+
protocol: LitellmProtocol,
|
|
1286
|
+
retry: Retry.Retry,
|
|
1287
|
+
}));
|
|
1288
|
+
|
|
1289
|
+
export type VectorStoreUpdateV1VectorStoresVectorStoreIdPostError =
|
|
1290
|
+
| UnprocessableEntity
|
|
1291
|
+
| LitellmOpError;
|
|
1292
|
+
/** Vector Store Update Update a vector store. API Reference: https://platform.openai.com/docs/api-reference/vector-stores/modify */
|
|
1293
|
+
export const vectorStoreUpdateV1VectorStoresVectorStoreIdPost: API.OperationMethod<
|
|
1294
|
+
VectorStoreUpdateV1VectorStoresVectorStoreIdPostRequest,
|
|
1295
|
+
VectorStoreUpdateV1VectorStoresVectorStoreIdPostResponse,
|
|
1296
|
+
VectorStoreUpdateV1VectorStoresVectorStoreIdPostError,
|
|
1297
|
+
LitellmOpContext
|
|
1298
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1299
|
+
input: VectorStoreUpdateV1VectorStoresVectorStoreIdPostRequest,
|
|
1300
|
+
output: VectorStoreUpdateV1VectorStoresVectorStoreIdPostResponse,
|
|
1301
|
+
errors: [UnprocessableEntity],
|
|
1302
|
+
protocol: LitellmProtocol,
|
|
1303
|
+
retry: Retry.Retry,
|
|
1304
|
+
}));
|
|
1305
|
+
|
|
1306
|
+
export type VectorStoreUpdateVectorStoresVectorStoreIdPostError =
|
|
1307
|
+
| UnprocessableEntity
|
|
1308
|
+
| LitellmOpError;
|
|
1309
|
+
/** Vector Store Update Update a vector store. API Reference: https://platform.openai.com/docs/api-reference/vector-stores/modify */
|
|
1310
|
+
export const vectorStoreUpdateVectorStoresVectorStoreIdPost: API.OperationMethod<
|
|
1311
|
+
VectorStoreUpdateVectorStoresVectorStoreIdPostRequest,
|
|
1312
|
+
VectorStoreUpdateVectorStoresVectorStoreIdPostResponse,
|
|
1313
|
+
VectorStoreUpdateVectorStoresVectorStoreIdPostError,
|
|
1314
|
+
LitellmOpContext
|
|
1315
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1316
|
+
input: VectorStoreUpdateVectorStoresVectorStoreIdPostRequest,
|
|
1317
|
+
output: VectorStoreUpdateVectorStoresVectorStoreIdPostResponse,
|
|
1318
|
+
errors: [UnprocessableEntity],
|
|
1319
|
+
protocol: LitellmProtocol,
|
|
1320
|
+
retry: Retry.Retry,
|
|
1321
|
+
}));
|