https://www.boundaryml.com logo
@aaronv Is this the correct way to use
# troubleshooting-will-be-archived-use-help-instead
s
@aaronv (BAML) Is this the correct way to use LLMCall?
Copy code
async def my_func(x: str) -> str:
    collector = Collector(name="prune_schema_collector")
    llm_call = LLMCall(name="prune_schema_llm_call")
a
so an llmcall is something that usually is just retrieved from the collector -- how come you're instantiating it?
s
Ah, that could be my problem. I am trying to use a collector to get usage and client_name for example.
a
that may be a good reference for you or an AI
s
Awesome; Thank you! 🙏
@aaronv (BAML) This is really helping a lot
a
sweet!
s
@aaronv (BAML) I can show you how I am using the Collector class in ADK and non-ADK agents if you are interested.
a
for sure!! sorry forgot to respond!
s
When do you have time next week? Send me a DM
@aaronv (BAML) I sent an invite; please suggest alternate times if the invite does not work. I have an Opik integration I would like to show you given our talk during the off-site
a
works for me!