DSPy: The framework for programming—not prompting—language models
Python
remove Optional type for pg_table_name param
Brian Muhiaecd71388e8b9
diff --git a/dspy/retrieve/pgvector_rm.py b/dspy/retrieve/pgvector_rm.pyindex a06f474c4..da28b4269 100644--- a/dspy/retrieve/pgvector_rm.py+++ b/dspy/retrieve/pgvector_rm.py@@ -57,7 +57,7 @@ class PgVectorRM(dspy.Retrieve):def __init__(self,db_url: str,- pg_table_name: Optional[str],+ pg_table_name: str,openai_client: openai.OpenAI,k: Optional[int]=20,embedding_field: str = "embedding",