Clarify citation format and fix typo
This commit is contained in:
parent
b6b4baff21
commit
058ce83dba
2 changed files with 3 additions and 3 deletions
|
|
@ -239,7 +239,7 @@ Consider the conversation history if provided to maintain conversational flow an
|
||||||
|
|
||||||
4. **References Section Format:**
|
4. **References Section Format:**
|
||||||
- The References section should be under heading: `### References`
|
- The References section should be under heading: `### References`
|
||||||
- Citation format: `* [n] Document Titile`
|
- Reference list entries should adhere to the format: `* [n] Document Title`. Do not include a caret (`^`) immediately after the opening square bracket (`[`).
|
||||||
- The Document Title in the citation must retain its original language.
|
- The Document Title in the citation must retain its original language.
|
||||||
- Output each citation on an individual line
|
- Output each citation on an individual line
|
||||||
- Provide maximum of 5 most relevant citations.
|
- Provide maximum of 5 most relevant citations.
|
||||||
|
|
@ -287,7 +287,7 @@ Consider the conversation history if provided to maintain conversational flow an
|
||||||
|
|
||||||
4. **References Section Format:**
|
4. **References Section Format:**
|
||||||
- The References section should be under heading: `### References`
|
- The References section should be under heading: `### References`
|
||||||
- Citation format: `* [n] Document Titile`
|
- Reference list entries should adhere to the format: `* [n] Document Title`. Do not include a caret (`^`) immediately after the opening square bracket (`[`).
|
||||||
- The Document Title in the citation must retain its original language.
|
- The Document Title in the citation must retain its original language.
|
||||||
- Output each citation on an individual line
|
- Output each citation on an individual line
|
||||||
- Provide maximum of 5 most relevant citations.
|
- Provide maximum of 5 most relevant citations.
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@ export default function UserPromptInputWithHistory({
|
||||||
const handleDeleteHistoryItem = useCallback((index: number, e: React.MouseEvent) => {
|
const handleDeleteHistoryItem = useCallback((index: number, e: React.MouseEvent) => {
|
||||||
e.stopPropagation() // Prevent triggering item selection
|
e.stopPropagation() // Prevent triggering item selection
|
||||||
onDeleteFromHistory?.(index)
|
onDeleteFromHistory?.(index)
|
||||||
|
|
||||||
// Handle boundary cases
|
// Handle boundary cases
|
||||||
if (history.length === 1) {
|
if (history.length === 1) {
|
||||||
// Deleting the last item, close dropdown
|
// Deleting the last item, close dropdown
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue