mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Add question parameter to edit chunk modal #3873 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -99,10 +99,12 @@ export const useUpdateChunk = () => {
|
||||
content,
|
||||
keywords,
|
||||
available_int,
|
||||
question_kwd,
|
||||
}: {
|
||||
content: string;
|
||||
keywords: string;
|
||||
available_int: number;
|
||||
question_kwd: string;
|
||||
}) => {
|
||||
const code = await createChunk({
|
||||
content_with_weight: content,
|
||||
@ -110,6 +112,7 @@ export const useUpdateChunk = () => {
|
||||
chunk_id: chunkId,
|
||||
important_kwd: keywords, // keywords
|
||||
available_int,
|
||||
question_kwd,
|
||||
});
|
||||
|
||||
if (code === 0) {
|
||||
|
||||
Reference in New Issue
Block a user