Current collected state Current
Observed since 20 Oct, 22:10 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AgentHub openai package
This package contains the OpenAI agent implementation for AgentHub.
pip install agenthub-openai
from agenthub import Team, Agent
team = Team()
def get_weather(location) -> str:
return "{'temp':67, 'unit':'F'}"
weather_agent = Agent(
name="Weather AI",
instructions="You are a helpful agent.",
functions=[get_weather],
)
messages = [{"role": "user", "content": "What's the weather in NYC?"}]
response = team.run(agent=weather_agent, messages=messages)
print(response.messages[-1]["content"])
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.7 | 16 Nov 2024 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:10 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:f86d54e3af5d4a0da616c06a7d055904311bdc656a7cc62e7e0391801e5a74cf