Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

adding TODO

Sri Vardhamanan21924078f86c
diff --git a/dsp/utils/settings.py b/dsp/utils/settings.py
index 65c628bd1..5457cf0cb 100644
--- a/dsp/utils/settings.py
+++ b/dsp/utils/settings.py
@@ -17,6 +17,9 @@ class Settings(object):
cls._instance = super().__new__(cls)
cls._instance.stack = []
+ # TODO: remove first-class support for re-ranker and potentially combine with RM to form a pipeline of sorts
+ # eg: RetrieveThenRerankPipeline(RetrievalModel, Reranker)
+ # downstream operations like dsp.retrieve would use configs from the defined pipeline.
config = dotdict(
lm=None,
rm=None,