"Sure, here's the information from the website agentops.ai:\n",
"\n",
"- Their main value proposition is to fix bad AI Agents and replace black boxes and prompt guessing with compliant, observable AI agents that come with evals and replay analytics.\n",
"- Their latest product is AgentOps. The simple and instant testing & debugging offered promises better-performing compliant AI agents.\n",
"- Integration is easy with just three lines of code.\n",
"- They let you record specific functions.\n",
"- They provide generous free limits and you only need to upgrade when necessary.\n",
"\n",
"Here's a sample of their code:\n",
"```python\n",
"ao_client = agentops.Client(<INSERT YOUR API KEY HERE>)\n",
"\n",
"# optional: record specific functions\n",
"@ao_client.record_action('sample function being record')\n",
"def sample_function(...):\n",
" ...\n",
"\n",
"ao_client.end_session('Success')\n",
"```\n",
"This code is for sample usage of their libraries/functions.\n",
"\n",
"Let me know if you need more specific details.\n",
" message=\"Can you scrape agentops.ai for me?\",\n",
" summary_method=\"reflection_with_llm\",\n",
" summary_args={\n",
" \"summary_prompt\": \"\"\"Summarize the scraped content and format summary EXACTLY as follows:\n",
"---\n",
"*Company name*:\n",
"`Acme Corp`\n",
"---\n",
"*Website*:\n",
"`acmecorp.com`\n",
"---\n",
"*Description*:\n",
"`Company that does things.`\n",
"---\n",
"*Tags*:\n",
"`Manufacturing. Retail. E-commerce.`\n",
"---\n",
"*Takeaways*:\n",
"`Provides shareholders with value by selling products.`\n",
"---\n",
"*Questions*:\n",
"`What products do they sell? How do they make money? What is their market share?`\n",
"---\n",
"\"\"\"\n",
" },\n",
")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The output is stored in the summary."
]
},
{
"cell_type": "code",
"execution_count": 37,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"---\n",
"*Company name*:\n",
"`AgentOps`\n",
"---\n",
"*Website*:\n",
"`agentops.ai`\n",
"---\n",
"*Description*:\n",
"`Company that aims to improve AI agents. They offer observed and evaluable AI agents with replay analytics as an alternative to black box models and blind prompting.`\n",
"---\n",
"*Tags*:\n",
"`Artificial Intelligence, AI agents, Observability, Analytics.`\n",
"---\n",
"*Takeaways*:\n",
"`Their product, AgentOps, allows for easy and instant testing and debugging of AI agents. Integration is as simple as writing three lines of code. They also provide generous free limits and mandate upgrades only when necessary.`\n",
"---\n",
"*Questions*:\n",
"`What differentiates AgentOps from other, similar products? How does their pricing scale with usage? What are the details of their \"generous free limits\"?`\n",
"---\n"
]
}
],
"source": [
"print(chat_result.summary)"
]
}
],
"metadata": {
"front_matter": {
"description": "Scrapping web pages and summarizing the content using agents with tools.",