KnowledgeBaseRetrievalStream Class
A synchronous stream of typed knowledge base retrieval events.
Constructor
KnowledgeBaseRetrievalStream(*, response: Any, raw_stream: Iterator[bytes])
Keyword-Only Parameters
| Name | Description |
|---|---|
|
response
Required
|
|
|
raw_stream
Required
|
|
Methods
| close |
Close the stream and its underlying HTTP response. |
close
Close the stream and its underlying HTTP response.
close() -> None