mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-05-10 15:22:37 +02:00
feat: add PageIndex SDK with local/cloud dual-mode support (#207)
This commit is contained in:
parent
f2dcffc0b7
commit
c7fe93bb56
45 changed files with 4225 additions and 274 deletions
9
pageindex/events.py
Normal file
9
pageindex/events.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from dataclasses import dataclass
|
||||
from typing import Literal, Any
|
||||
|
||||
|
||||
@dataclass
|
||||
class QueryEvent:
|
||||
"""Event emitted during streaming query."""
|
||||
type: Literal["reasoning", "tool_call", "tool_result", "answer_delta", "answer_done"]
|
||||
data: Any
|
||||
Loading…
Add table
Add a link
Reference in a new issue