by gitgud · 2y ago · 0 comments
agent = Agent(
task='Go to hackernews on show hn and give me top 10 post titels, their points and hours. Calculate for each the ratio of points per hour.',
llm=ChatOpenAI(model='gpt-4o'),
)
await agent.run()
Passing prompts to a LLM agent... waiting for the black box to run and do something...How would you imagine the perfect scenario? What would make LLM outputs less of a black box?
Then we can review the code before actually running it.
And the reviewed result can be saved for future running.
I guess I wrongly assume regular API’s are more reliable, but you’re right they’re basically black boxes too…