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 87054b6 commit 564c6ee
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/service/core/ai/functions/queryExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,24 +93,23 @@ A: The current conversation is about Boson stars.
Original question: 列举出玻色星的重要文献和学者。
Retrieval terms: ["List important studies and reference on Boson stars, include textbook, reviews, introduction, lecture, guide and survey.","List important scholars on Boson stars."]
## Counterexample
## Counterexample:
----------------
History:
"""
"""
Original question: Give examples or approximate expression of "spin weighted spheroidal function".
Retrieval terms: ["Introduce the concept of spin-weighted spheroidal harmonics (SWSH) as solutions to the spin-weighted spheroidal wave equation (SWSE)","Provide examples of SWSH in various contexts, such as in the study of gravitational waves and black hole perturbation theory","Explain the approximate expression of SWSH in terms of spin-weighted spherical harmonics (SWSH)"]
## Notice
Please study and understand the above examples and counterexamples to generate up to 4 most appropriate "retrieval terms". Of course, empty lists are also allowed.
## Requirements
- Each "retrieval terms" should contain key information of "original question", yet should be an extension of "original question" with different focuses.
- In most cases which depend on the situation of "original question" and [History], you should avoid repeating content that has already been mentioned in [History]. Such as the 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 you should expand semantics (expand horizontally) and when you should focus specified concept (go deeper). If it's hard to generate satisfactory "retrieval terms", you can generate no "retrieval terms".
- Finally, "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
Please refer to the above example and requirements, let's begin.
Please refer to the above [Example] and [Counterexample] to generate appropriate "retrieval terms" based on [Requirements], let's begin.
----------------
History:
"""
Expand Down

0 comments on commit 564c6ee

Please sign in to comment.