mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-27 10:52:03 +08:00
Feat: add skills space to context engine (#13908)
### What problem does this PR solve? issue #13714 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@@ -24,7 +24,7 @@ import (
|
||||
func (p *Parser) parseContextListCommand() (*Command, error) {
|
||||
p.nextToken() // consume LS
|
||||
|
||||
cmd := NewCommand("context_list")
|
||||
cmd := NewCommand("ce_ls")
|
||||
|
||||
if p.curToken.Type == TokenEOF {
|
||||
cmd.Params["path"] = "."
|
||||
@@ -70,7 +70,7 @@ func (p *Parser) parseContextCatCommand() (*Command, error) {
|
||||
return nil, fmt.Errorf("expect a filename")
|
||||
}
|
||||
|
||||
cmd := NewCommand("context_cat")
|
||||
cmd := NewCommand("ce_cat")
|
||||
if p.curToken.Type == TokenIdentifier {
|
||||
for p.curToken.Type != TokenEOF {
|
||||
if p.curToken.Type != TokenIdentifier {
|
||||
@@ -114,7 +114,7 @@ func (p *Parser) parseContextCatCommand() (*Command, error) {
|
||||
func (p *Parser) parseContextSearchCommand() (*Command, error) {
|
||||
p.nextToken() // consume SEARCH
|
||||
|
||||
cmd := NewCommand("context_search")
|
||||
cmd := NewCommand("ce_search")
|
||||
|
||||
for p.curToken.Type != TokenEOF {
|
||||
if p.curToken.Type == TokenDash {
|
||||
|
||||
Reference in New Issue
Block a user