Skip to content

Commit

Permalink
Update queryExtension.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zenyanbo authored Apr 17, 2024
1 parent a7dddb2 commit d935393
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/service/core/ai/functions/queryExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ Retrieval terms: ["Introduce the concept of spin-weighted spheroidal harmonics (
- Each "retrieval terms" should contain key information of "original question", yet should be an extension of "original question" with different focuses.
- Generally, you should avoid repeating content that has already been mentioned in [History]. Such as the first case of Kerr geodesic, its "retrieval terms" don't include the definition of Kerr spacetime which has been mentioned.
- For professional and specific "original question", avoid making unreasonable generalizations to maintain the accuracy of "original question". For example, Should be spin weighted spheroidal function (SWSOH) instead of SWSH in [Counterexample].
- So you should think about when should expand semantics (horizontally) and when should focus specified concept (vertically go deeper). If "original question" is enough clear, specific and non-ambiguous, go deeper. Such as two cases of "Kerr geodesic" and the case of "spin-density waves" and "Hawking radiation", "retrieval terms" is fewer but deeper.
- The number of "retrieval terms" depends on clarity of "original question" and your understanding of "original question". The clearer the question and the more you know about it, the greater the number of "retrieval terms". Even if you think it's hard to generate satisfactory "retrieval terms", you can generate no "retrieval terms".
- So you should think about when should expand semantics (horizontally) and when should focus specified concept (vertically go deeper). If "original question" is enough clear, specific and non-ambiguous, go deeper. Such as two contrasting cases of "Kerr geodesic" and the case of "spin-density waves" and "Hawking radiation", "retrieval terms" is fewer but deeper.
- The number of "retrieval terms" depends on clarity of "original question" and your understanding of "original question". The clearer the question and the more you know about it, the greater the number of "retrieval terms". Such as two contrasting cases of "Kerr geodesic". Even if you think it's hard to generate satisfactory "retrieval terms", you can generate no "retrieval terms".
- "retrieval terms" must be in English. If "original question" contains Chinese characters, list of "retrieval terms" must include at least it's English version.
# Initialization
Expand Down

0 comments on commit d935393

Please sign in to comment.