Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /agno-agi_agno /cookbook /91_tools /confluence_tools.py
| """ | |
| Confluence Tools | |
| ============================= | |
| Demonstrates confluence tools. | |
| """ | |
| from agno.agent import Agent | |
| from agno.tools.confluence import ConfluenceTools | |
| # --------------------------------------------------------------------------- | |
| # Create Agent | |
| # --------------------------------------------------------------------------- | |
| agent = Agent( | |
| name="Confluence agent", | |
| tools=[ConfluenceTools()], | |
| markdown=True, | |
| ) | |
| ## getting space details | |
| # --------------------------------------------------------------------------- | |
| # Run Agent | |
| # --------------------------------------------------------------------------- | |
| if __name__ == "__main__": | |
| agent.print_response("How many spaces are there and what are their names?") | |
| ## getting page_content | |
| agent.print_response( | |
| "What is the content present in page 'Large language model in LLM space'" | |
| ) | |
| ## getting page details in a particular space | |
| agent.print_response("Can you extract all the page names from 'LLM' space") | |
| ## creating a new page in a space | |
| agent.print_response("Can you create a new page named 'TESTING' in 'LLM' space") | |
Xet Storage Details
- Size:
- 1.14 kB
- Xet hash:
- 4cd36ac6a8274627190cf5c37dfe18e9b960fac1dc0e345954df49f2a7d9951d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.