mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-23 17:06:42 +08:00
Port PR14140 and PR16881 to GO (#17102)
### Summary Port https://github.com/infiniflow/ragflow/pull/14140/ https://github.com/infiniflow/ragflow/pull/16881
This commit is contained in:
@@ -40,6 +40,9 @@ void RAGAnalyzer_SetFineGrained(RAGAnalyzerHandle handle, bool fine_grained);
|
||||
// Set enable position tracking
|
||||
void RAGAnalyzer_SetEnablePosition(RAGAnalyzerHandle handle, bool enable_position);
|
||||
|
||||
// Set the language for stemming (e.g. "English", "Dutch", "German")
|
||||
void RAGAnalyzer_SetLanguage(RAGAnalyzerHandle handle, const char* language);
|
||||
|
||||
// Analyze text and call callback for each token
|
||||
// Returns: 0 on success, negative value on failure
|
||||
int RAGAnalyzer_Analyze(
|
||||
|
||||
Reference in New Issue
Block a user