Added Prompt for tools (#68)
* Create detailed markdown instructions for all toolkits * Update all toolkit classes to load instructions from external .md files * Add query examples for cryptocurrency report generation
This commit was merged in pull request #68.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from agno.tools import Toolkit
|
||||
from app.api.tools.instructions import MARKET_TOOL_INSTRUCTIONS
|
||||
from app.api.wrapper_handler import WrapperHandler
|
||||
from app.api.core.markets import MarketWrapper, Price, ProductInfo
|
||||
from app.api.markets import BinanceWrapper, CoinBaseWrapper, CryptoCompareWrapper, YFinanceWrapper
|
||||
@@ -29,6 +30,7 @@ class MarketAPIsTool(MarketWrapper, Toolkit):
|
||||
Toolkit.__init__( # type: ignore
|
||||
self,
|
||||
name="Market APIs Toolkit",
|
||||
instructions=MARKET_TOOL_INSTRUCTIONS,
|
||||
tools=[
|
||||
self.get_product,
|
||||
self.get_products,
|
||||
|
||||
Reference in New Issue
Block a user