forge
Explore
Log in

Don't you dare go Hollow

hezarfen_rag

Clone
★ 0

0 watching0 forksPython2.4 MiB184b84dAhmet Kaan Gümüş2 months ago189 commits

__init__.py17 lines, 932 bytesHistoryRawDownload
1"""Backend köprüsü — `hezarfen_backend` ile konuşan taraf.
2
3Bu paket backend deposundan **hiçbir şey değiştirmez**; yalnız onun ilan ettiği
4tel biçimini (wire format) Python tarafında karşılar ve testle sabitler.
5Kaynak: `hezarfen_backend/src/ai/protocol.rs` (hab/2), `src/ai/chat.rs`,
6`src/ai/rag.rs`, `src/web/{notes,course_notes,classes,courses,auth}.rs`.
7"""
8from .contract import (AI_CHAT_CAPABILITY, AI_RAG_INDEX_CAPABILITY, ApiRequest,
9 BlobRequest, ChatReplyPayload, ChatRequestPayload, ChatTurn,
10 RagFile, RagIndexPayload)
11from .dispatch import Dispatcher
12from .student import StudentContext, build_context
13
14__all__ = ["AI_CHAT_CAPABILITY", "AI_RAG_INDEX_CAPABILITY", "ApiRequest",
15 "BlobRequest", "ChatReplyPayload", "ChatRequestPayload", "ChatTurn",
16 "RagFile", "RagIndexPayload", "StudentContext", "build_context",
17 "Dispatcher"]