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 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 OllamaEmbedderConfig(BaseEmbedderConfig): |
| #9 | def __init__( |
| #10 | self, |
| #11 | model: Optional[str] = None, |
| #12 | base_url: Optional[str] = None, |
| #13 | vector_dimension: Optional[int] = None, |
| #14 | ): |
| #15 | super().__init__(model=model, vector_dimension=vector_dimension) |
| #16 | self.base_url = base_url or "http://localhost:11434" |
| #17 |