mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	fix interface issues
This commit is contained in:
		| @@ -9,7 +9,7 @@ import type { EmbeddingModelInfo } from '../interfaces/embedding_interfaces.js'; | |||||||
| export interface EmbeddingConfig { | export interface EmbeddingConfig { | ||||||
|     model: string; |     model: string; | ||||||
|     dimension: number; |     dimension: number; | ||||||
|     type: string; |     type: 'float32' | 'float64'; | ||||||
|     apiKey?: string; |     apiKey?: string; | ||||||
|     baseUrl?: string; |     baseUrl?: string; | ||||||
|     batchSize?: number; |     batchSize?: number; | ||||||
| @@ -23,7 +23,7 @@ export interface EmbeddingConfig { | |||||||
| export abstract class BaseEmbeddingProvider { | export abstract class BaseEmbeddingProvider { | ||||||
|     protected model: string; |     protected model: string; | ||||||
|     protected dimension: number; |     protected dimension: number; | ||||||
|     protected type: string; |     protected type: 'float32' | 'float64'; | ||||||
|     protected maxBatchSize: number = 100; |     protected maxBatchSize: number = 100; | ||||||
|     protected apiKey?: string; |     protected apiKey?: string; | ||||||
|     protected baseUrl: string; |     protected baseUrl: string; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user