mirror of
https://github.com/langgenius/dify.git
synced 2026-04-10 21:00:30 -04:00
12 lines
229 B
Python
12 lines
229 B
Python
from pydantic import BaseModel
|
|
|
|
from core.rag.entities import KeywordSetting, VectorSetting
|
|
|
|
|
|
class Weights(BaseModel):
|
|
"""Model for weighted rerank."""
|
|
|
|
vector_setting: VectorSetting
|
|
|
|
keyword_setting: KeywordSetting
|