chore: first commit

This commit is contained in:
Han Xiao
2025-01-27 22:19:18 +08:00
parent 4fd7f41e85
commit 1894fba7bc

View File

@@ -18,7 +18,6 @@ npm run dev "what should be jina ai strategy for 2025?"
``` ```
```mermaid ```mermaid
flowchart TD flowchart TD
subgraph Inputs[System Inputs] subgraph Inputs[System Inputs]
OrigQuestion[Original Question] OrigQuestion[Original Question]
@@ -32,6 +31,8 @@ flowchart TD
BadStore[Failed Attempts] BadStore[Failed Attempts]
QuestionStore[Question History] QuestionStore[Question History]
KeywordStore[Keyword History] KeywordStore[Keyword History]
KnowledgeStore[Knowledge Base]
URLStore[URL Map]
end end
subgraph Outputs[System Outputs] subgraph Outputs[System Outputs]
@@ -48,10 +49,12 @@ flowchart TD
ActionType -->|is search| SearchOp[Search Results] ActionType -->|is search| SearchOp[Search Results]
SearchOp -->|store| ContextStore SearchOp -->|store| ContextStore
SearchOp -->|add| KeywordStore SearchOp -->|add| KeywordStore
SearchOp -->|update| URLStore
SearchOp -->|continue| TokenBudget SearchOp -->|continue| TokenBudget
ActionType -->|is read| URLData[URL Content] ActionType -->|is visit| URLData[URL Content]
URLData -->|store| ContextStore URLData -->|store| ContextStore
URLStore -->|provide| URLData
URLData -->|continue| TokenBudget URLData -->|continue| TokenBudget
ActionType -->|is reflect| NewQuestions[Questions] ActionType -->|is reflect| NewQuestions[Questions]
@@ -64,6 +67,7 @@ flowchart TD
ActionType -->|is answer| AnswerCheck{Original Question} ActionType -->|is answer| AnswerCheck{Original Question}
AnswerCheck -->|compare with| OrigQuestion AnswerCheck -->|compare with| OrigQuestion
AnswerCheck -->|is not| ContextStore AnswerCheck -->|is not| ContextStore
AnswerCheck -->|store valid| KnowledgeStore
ContextStore -->|continue| TokenBudget ContextStore -->|continue| TokenBudget
AnswerCheck -->|is| Evaluation[Answer Quality] AnswerCheck -->|is| Evaluation[Answer Quality]
@@ -77,7 +81,7 @@ flowchart TD
classDef state fill:#e1f5fe,stroke:#01579b classDef state fill:#e1f5fe,stroke:#01579b
classDef input fill:#e8f5e9,stroke:#2e7d32 classDef input fill:#e8f5e9,stroke:#2e7d32
classDef output fill:#fce4ec,stroke:#c2185b classDef output fill:#fce4ec,stroke:#c2185b
class GapQueue,ContextStore,BadStore,QuestionStore,KeywordStore state class GapQueue,ContextStore,BadStore,QuestionStore,KeywordStore,KnowledgeStore,URLStore state
class OrigQuestion,TokenBudget input class OrigQuestion,TokenBudget input
class FinalAnswer output class FinalAnswer output
``` ```