DSPy: The framework for programming—not prompting—language models
Python
Fix the following error likely introduced from https://github.com/stanfordnlp/dspy/pull/330
Insop Song0468619663f4
diff --git a/dsp/modules/aws_lm.py b/dsp/modules/aws_lm.pyindex e378ca8a4..40a125d83 100644--- a/dsp/modules/aws_lm.py+++ b/dsp/modules/aws_lm.py@@ -2,6 +2,8 @@A generalized AWS LLM."""+from __future__ import annotations+from abc import abstractmethodimport loggingfrom typing import Any, Literaldiff --git a/dsp/modules/bedrock.py b/dsp/modules/bedrock.pyindex f3b88c09e..8e737c16e 100644--- a/dsp/modules/bedrock.py+++ b/dsp/modules/bedrock.py@@ -1,3 +1,5 @@+from __future__ import annotations+from typing import Anyimport jsonfrom dsp.modules.aws_lm import AWSLM