mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
Streaming rag responses (#568)
* Tech spec for streaming RAG * Support for streaming Graph/Doc RAG
This commit is contained in:
parent
b1cc724f7d
commit
1948edaa50
20 changed files with 3087 additions and 94 deletions
29
tests/utils/__init__.py
Normal file
29
tests/utils/__init__.py
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
"""Test utilities for TrustGraph tests"""
|
||||
|
||||
from .streaming_assertions import (
|
||||
assert_streaming_chunks_valid,
|
||||
assert_streaming_sequence,
|
||||
assert_agent_streaming_chunks,
|
||||
assert_rag_streaming_chunks,
|
||||
assert_streaming_completion,
|
||||
assert_streaming_content_matches,
|
||||
assert_no_empty_chunks,
|
||||
assert_streaming_error_handled,
|
||||
assert_chunk_types_valid,
|
||||
assert_streaming_latency_acceptable,
|
||||
assert_callback_invoked,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"assert_streaming_chunks_valid",
|
||||
"assert_streaming_sequence",
|
||||
"assert_agent_streaming_chunks",
|
||||
"assert_rag_streaming_chunks",
|
||||
"assert_streaming_completion",
|
||||
"assert_streaming_content_matches",
|
||||
"assert_no_empty_chunks",
|
||||
"assert_streaming_error_handled",
|
||||
"assert_chunk_types_valid",
|
||||
"assert_streaming_latency_acceptable",
|
||||
"assert_callback_invoked",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue