repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | from typing import Any, Dict, Optional |
| #2 | |
| #3 | from embedchain.config.embedder.base import BaseEmbedderConfig |
| #4 | from embedchain.helpers.json_serializable import register_deserializable |
| #5 | |
| #6 | |
| #7 | @register_deserializable |
| #8 | class AWSBedrockEmbedderConfig(BaseEmbedderConfig): |
| #9 | def __init__( |
| #10 | self, |
| #11 | model: Optional[str] = None, |
| #12 | deployment_name: Optional[str] = None, |
| #13 | vector_dimension: Optional[int] = None, |
| #14 | task_type: Optional[str] = None, |
| #15 | title: Optional[str] = None, |
| #16 | model_kwargs: Optional[Dict[str, Any]] = None, |
| #17 | ): |
| #18 | super().__init__(model, deployment_name, vector_dimension) |
| #19 | self.task_type = task_type or "retrieval_document" |
| #20 | self.title = title or "Embeddings for Embedchain" |
| #21 | self.model_kwargs = model_kwargs or {} |
| #22 |