-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from wri/stac-tool
Add support for stac-tool to query for satellite imagery
- Loading branch information
Showing
4 changed files
with
64 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
from zeno.agents.contextfinder.tools import context_layer_tool | ||
from zeno.agents.distalert.tools import dist_alerts_tool | ||
from zeno.agents.location.multitools import location_tool | ||
from zeno.tools.stac.stac_tool import stac_tool | ||
from zeno.agents.zeno.models import ModelFactory | ||
from langchain_anthropic import ChatAnthropic | ||
|
||
haiku = ChatAnthropic(model="claude-3-5-haiku-latest", temperature=0) | ||
|
||
tools_with_hil = [location_tool] | ||
tools_with_hil_names = {t.name for t in tools_with_hil} | ||
tools = [dist_alerts_tool, context_layer_tool] | ||
tools = [dist_alerts_tool, context_layer_tool, stac_tool] | ||
|
||
zeno_agent = haiku.bind_tools(tools + tools_with_hil) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters