Skip to content

griptape-ai/griptape-open-weather

Repository files navigation

Griptape OpenWeather Extension

Overview

This extension provides a Tool for OpenWeather.

import os

from griptape.structures import Agent
from griptape.open_weather.tools import OpenWeatherTool

agent = Agent(
    tools=[
        OpenWeatherTool(
            api_key=os.environ["OPENWEATHER_API_KEY"],
        ),
    ]
)

agent.run("What's the weather currently like in San Francisco?")

Installation

Poetry:

poetry add https://github.com/griptape-ai/griptape-open-weather.git

Pip:

pip install git+https://github.com/griptape-ai/griptape-open-weather.git

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published