Skip to content

Commit

Permalink
Remove dsp modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
dilarasoylu committed Oct 7, 2024
1 parent 2c93154 commit 56d64df
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions dsp/modules/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from .anthropic import Claude
from .aws_models import AWSAnthropic, AWSMeta, AWSMistral, AWSModel

# Below is obsolete. It has been replaced with Bedrock class in dsp/modules/aws_providers.py
# from .bedrock import *
from .aws_providers import Bedrock, Sagemaker
Expand Down
5 changes: 0 additions & 5 deletions dsp/modules/lm.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
from abc import ABC, abstractmethod
from concurrent.futures import ThreadPoolExecutor, Future
from copy import deepcopy
from enum import Enum
from typing import Optional, Union, List
import ujson


class LM(ABC):
Expand Down
2 changes: 1 addition & 1 deletion dspy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@

# TODO: Consider if this should access settings.lm *or* a list that's shared across all LMs in the program.
def inspect_history(*args, **kwargs):
return settings.lm.inspect_history(*args, **kwargs)
return settings.lm.inspect_history(*args, **kwargs)

0 comments on commit 56d64df

Please sign in to comment.