Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

rank_memory.md 857B

123456789101112131415161718192021222324252627282930
  1. **Task**: Sort the tool call results based on relevance to the overall goal and current sub-goal. Return ONLY a sorted list of indices (0-indexed).
  2. **Rules**:
  3. 1. Analyze each result's contribution to both:
  4. - The overall goal (primary priority)
  5. - The current sub-goal (secondary priority)
  6. 2. Sort from MOST relevant (highest impact) to LEAST relevant
  7. 3. Output format: Strictly a Python-style list of integers. Example: [2, 0, 1]
  8. 🔹 Overall Goal: {{ goal }}
  9. 🔹 Sub-goal: {{ sub_goal }}
  10. **Examples**:
  11. 🔹 Tool Response:
  12. - index: 0
  13. > Tokyo temperature is 78°F.
  14. - index: 1
  15. > Error: Authentication failed (expired API key).
  16. - index: 2
  17. > Available: 12 widgets in stock (max 5 per customer).
  18. → rank: [1,2,0]<|stop|>
  19. **Your Turn**:
  20. 🔹 Tool Response:
  21. {% for f in results %}
  22. - index: f.i
  23. > f.content
  24. {% endfor %}