Skip to content

Commit

Permalink
Updated tools.
Browse files Browse the repository at this point in the history
  • Loading branch information
3coins committed Jun 28, 2024
1 parent 2a5b6a8 commit 66973df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@


@tool("AssetDetail::getAssetValue")
def getAssetValue(asset_holder_id: str = " ") -> str:
def getAssetValue(asset_holder_id: str) -> str:
"""Get the asset value for an owner id"""
return f"The total asset value for {asset_holder_id} is 100K"


@tool
def getMortgageRate(asset_holder_id: str = " ", asset_value: str = " ") -> str:
def getMortgageRate(asset_holder_id: str, asset_value: str) -> str:
"""Get the mortgage rate based on asset value"""
return (
f"The mortgage rate for {asset_holder_id} "
Expand Down

0 comments on commit 66973df

Please sign in to comment.