(prompt: string)
| 409 | } |
| 410 | |
| 411 | async callEmbeddingApi(prompt: string): Promise<ProviderEmbeddingResponse> { |
| 412 | if (!this.isInitialized) { |
| 413 | await this.initialize(); |
| 414 | } |
| 415 | return this.executePythonScript(prompt, undefined, 'call_embedding_api'); |
| 416 | } |
| 417 | |
| 418 | async callClassificationApi(prompt: string): Promise<ProviderClassificationResponse> { |
| 419 | if (!this.isInitialized) { |
nothing calls this directly
no test coverage detected