79176318

Date: 2024-11-11 03:44:34
Score: 1.5
Natty:
Report link

The object type is - class llama_index.core.base.response.schema.StreamingResponse(response_gen: ~typing.Generator[str, None, None], source_nodes: ~typing.List[~llama_index.core.schema.NodeWithScore] = , metadata: ~typing.Optional[~typing.Dict[str, ~typing.Any]] = None, response_txt: ~typing.Optional[str] = None)

so use instead - st.write(response.response)

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ankit