(modelId, options = {})
| 71 | } |
| 72 | |
| 73 | async prepareModel(modelId, options = {}) { |
| 74 | if (this.backend?.prepareModel) { |
| 75 | return this.backend.prepareModel(modelId || this.model, options); |
| 76 | } |
| 77 | return null; |
| 78 | } |
| 79 | |
| 80 | async createEmbedding(request, options = {}) { |
| 81 | const normalized = normalizeEmbeddingRequest(request); |
no outgoing calls
no test coverage detected