Hey there, I am trying to get the child LLM calls associated with a weave call (or even generally child calls would do) but I can’t get it to work and I am so confused. If I try
import weave
client = weave.init("my_project_name")
parent_call_id = '0191f5cc-f0f2-7a51-b463-68ff17f806c5'
all_child_calls = client.calls(filter={"parent_id": parent_call_id})
all_child_calls = list(all_child_calls)
for call in all_child_calls:
print(f"Call ID: {call.id}")
print(f"Operation Name: {call.op_name}")
print(f"Attributes: {call.attributes}")
print("-" * 40)
with parent call id being the “id” of an Evaluation.predict_and_score ID, it takes minutes and I get literally thousands of calls, many from several days ago. The response doesn’t seem to indicate any sort of parent-child relationship. What am I getting wrong?
Thanks in advance!