Κουίζ που συνδέεται με οδηγό · Μεσαίο Επίπεδο
Κουίζ κλήσης παράλληλων συναρτήσεων
Ελέγχει τον τρόπο με τον οποίο οι παράλληλες κλήσεις εργαλείων εκδίδονται και αντιστοιχίζονται με αναγνωριστικό, πότε η ομαδική χρήση είναι ασφαλής σε σχέση με την εξάρτηση και πώς να χειρίζονται μερικές αποτυχίες και χρονικά όρια.
Ερώτηση 1 του 8
Σε μια κλήση παράλληλης συνάρτησης, τι επιστρέφει το μοντέλο σε μία απόκριση;
Προεπισκόπηση κάθε ερώτησης8 ερωτήσεις
Οι απαντήσεις και οι εξηγήσεις εμφανίζονται καθώς κάνετε το κουίζ.
- Σε μια κλήση παράλληλης συνάρτησης, τι επιστρέφει το μοντέλο σε μία απόκριση;
- The model trains on several datasets at once
- The model requests several tool calls in a single response
- Two models answer the same question
- Tools call the model repeatedly
- Ποιος εκτελεί πραγματικά τα εργαλεία ταυτόχρονα;
- The language model itself
- The application or harness
- The user's browser only
- The model provider's billing system
- Ποιο ζεύγος κλήσεων ΔΕΝ πρέπει να εκδίδεται παράλληλα;
- Weather lookups for three different cities
- Searching two unrelated topics
- Creating a folder and then writing a file into that folder
- Fetching orders and support tickets for one customer
- Πώς πρέπει να αντιστοιχιστούν τα αποτελέσματα με τις κλήσεις εργαλείων τους;
- By the order they finish
- By their position in the list
- By the call identifier
- By the length of each result
- Δύο από τις πέντε παράλληλες αναζητήσεις λήγουν. Ποια είναι η καλύτερη απάντηση;
- Discard all five results
- Return the three successes and two clear errors so the model can retry the failures
- Crash the agent
- Pretend the failed searches returned empty results without saying so
- Why use Promise.allSettled or asyncio.gather with return_exceptions?
- So one failed call does not discard the other results
- To make calls run one at a time
- To encrypt tool outputs
- To reduce the number of tools
- Roughly how long does a parallel batch of independent calls take?
- The sum of all call durations
- About the duration of the slowest call
- Zero time
- Always exactly one second
- What helps prevent retries of side-effecting tools from duplicating actions?
- Idempotency keys
- Longer tool descriptions
- Higher model temperature
- Removing call identifiers