Skip to content

Commit

Permalink
Format files
Browse files Browse the repository at this point in the history
  • Loading branch information
henchaves committed Dec 12, 2024
1 parent fc827bf commit e06fccd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions giskard/core/savable.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ def dependencies(self) -> Set["Artifact"]:
return set()

@abstractmethod
def _save_locally(self, local_dit: Path): ...
def _save_locally(self, local_dit: Path):
...

@classmethod
@abstractmethod
def load(cls, local_dir: Path, uuid: str, meta: SMT) -> "Artifact": ...
def load(cls, local_dir: Path, uuid: str, meta: SMT) -> "Artifact":
...

@classmethod
def _get_meta_class(cls) -> type(SMT):
Expand Down
6 changes: 4 additions & 2 deletions giskard/llm/client/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ def _format_body(
caller_id: Optional[str] = None,
seed: Optional[int] = None,
format=None,
) -> Dict: ...
) -> Dict:
...

@abstractmethod
def _parse_completion(self, completion, caller_id: Optional[str] = None) -> ChatMessage: ...
def _parse_completion(self, completion, caller_id: Optional[str] = None) -> ChatMessage:
...

def complete(
self,
Expand Down

0 comments on commit e06fccd

Please sign in to comment.