Feat:remove estimation of embedding cost (#7950)
Co-authored-by: jyong <718720800@qq.com>
This commit is contained in:
parent
83e84865be
commit
14af87527f
14 changed files with 122 additions and 162 deletions
|
|
@ -227,6 +227,8 @@ export type DocumentReq = {
|
|||
export type CreateDocumentReq = DocumentReq & {
|
||||
data_source: DataSource
|
||||
retrieval_model: RetrievalConfig
|
||||
embedding_model: string
|
||||
embedding_model_provider: string
|
||||
}
|
||||
|
||||
export type IndexingEstimateParams = DocumentReq & Partial<DataSource> & {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue