Skip to content

Commit

Permalink
ruff fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
arnavsinghvi11 committed Jun 21, 2024
1 parent f481d5b commit f576bbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dspy/predict/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
from .chain_of_thought import ChainOfThought
from .chain_of_thought_with_hint import ChainOfThoughtWithHint
from .knn import KNN
from .llamaindex import LlamaIndexModule
from .multi_chain_comparison import MultiChainComparison
from .predict import Predict
from .program_of_thought import ProgramOfThought
from .react import ReAct
from .retry import Retry
from .llamaindex import LlamaIndexModule
4 changes: 2 additions & 2 deletions dspy/predict/llamaindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
import dsp
import dspy
from dspy.predict.predict import Predict
from dspy.signatures.field import InputField, OutputField
from dspy.primitives.program import Module
from dspy.signatures import Signature
from dspy.signatures.field import InputField, OutputField
from dspy.signatures.signature import ensure_signature, make_signature, signature_to_template
from dspy.primitives.program import Module


def get_formatted_template(predict_module: Predict, kwargs: Dict[str, Any]) -> str:
Expand Down

0 comments on commit f576bbf

Please sign in to comment.