Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

Merge remote-tracking branch 'prc/master'

wizardchenb10e262ce565
diff --cc internal/handler/initialization.go
index d953b031a,b3ce67787..42f62e103
--- a/internal/handler/initialization.go
+++ b/internal/handler/initialization.go
@@@ -1912,13 -1869,11 +1912,13 @@@ func (h *InitializationHandler) extract
return result, nil
}
+// FabriTextRequest is a request for generating example text
type FabriTextRequest struct {
Tags []string `json:"tags"`
- LLMConfig LLMConfig `json:"llmConfig"`
+ LLMConfig LLMConfig `json:"llm_config"`
}
+// FabriTextResponse is a response for generating example text
type FabriTextResponse struct {
Text string `json:"text"`
}
@@@ -1982,12 -1935,10 +1982,12 @@@ func (h *InitializationHandler) fabriTe
return result.Content, nil
}
+// FabriTagRequest is a request for generating tags
type FabriTagRequest struct {
- LLMConfig LLMConfig `json:"llmConfig"`
+ LLMConfig LLMConfig `json:"llm_config"`
}
+// FabriTagResponse is a response for generating tags
type FabriTagResponse struct {
Tags []string `json:"tags"`
}