embedding/__init__.py

agentscope · src/agentscope/embedding/__init__.py · python · Apache-2.0
ai, tag:embed-classified

Re-exports embedding model classes and utilities for easy import.

# Source: https://github.com/agentscope-ai/agentscope | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
# -*- coding: utf-8 -*-
"""The embedding module in agentscope."""

from ._embedding_base import EmbeddingModelBase
from ._embedding_model_card import EmbeddingModelCard
from ._embedding_usage import EmbeddingUsage
from ._embedding_response import EmbeddingResponse
from ._dashscope import DashScopeEmbeddingModel
from ._openai import OpenAIEmbeddingModel
from ._gemini import GeminiEmbeddingModel
from ._ollama import OllamaEmbeddingModel
from ._cache_base import EmbeddingCacheBase
from ._file_cache import FileEmbeddingCache


__all__ = [
    "EmbeddingModelBase",
    "EmbeddingModelCa

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key