Row 11184

Row ID: 11184 | Dataset Entry | Axioma AXP Content Repository

Content Data

This page contains data entry 11184 from the Axioma AXP content repository. The structured data below represents the complete record for this entry.

Ok so I have written my own flask server / python RAG app that correctly streams what I want using the PDF I trained it with.

The results return perfectly in markdown language. Of course I can always tell, using a prompt, for GPT to return data in plain text or HTML instead.

What I have not been able to do is to get streaming working and get a result returned in markdown to render to HTML on the fly which is exactly what GPT playground does.

If you watch playground return a result, it starts to do so in MD and then when the MD phrase is finished, it changes it and renders it in HTML which is exactly what I want to do.

Have spent 2 days banging my head up against this wall trying various libs and tools like Showdown and react-markdown and none of them seem to work with streaming and render the front end on the fly into HTML.

Have also just got the server to return the HTML but when streaming it prints literally the HTML code and does not render either.

Am at the end of my tether with this one. Can anyone help and point me to some simple code examples of how to do this pref on the front end in JS

FieldValue
text Ok so I have written my own flask server / python RAG app that correctly streams what I want using the PDF I trained it with. The results return perfectly in markdown language. Of course I can always tell, using a prompt, for GPT to return data in plain text or HTML instead. What I have not been able to do is to get streaming working and get a result returned in markdown to render to HTML on the fly which is exactly what GPT playground does. If you watch playground return a result, it starts …
label r/openai
dataType post
communityName r/OpenAI
datetime 2024-05-20
username_encoded Z0FBQUFBQm5Lakw1N1ZHZ0tMMDNrN0lIaEZNVGFTeDlUVnd0YUp1a0ZITG1KaDV1OXFjQ0JuakRIUkxjOWs5ajhrQ195b3Ezd1BFOFhhNndfMGVWckZEZHRIRjA0Zmk0UHc9PQ==
url_encoded Z0FBQUFBQm5Lak9KRmFLVWZLZXE2RlgtcktPS0hYSnJ3eDFBX3Y1cXNWa093cWt5MnhCVVhlX2hNSFpROE1Ndm9uc0xVcFdKSURwQ1JtVTFQd1NQRGRpMm9lanZ2MkJzdGRTVTlLUnJsT2JjNk81ZVZia3czbTFQQzR3RTRfQlUzZ01QbDZ2eWhYV2E3S1ZpVl81Um9xaGR2WWU0U0Q5al9weHYxbWhMZURPNHoxN1k4U0tSaTVsZENkVkdSZWFWYkFubGNldHlXRVFD

Raw Record

{
  "text": "Ok so I have written my own flask server / python RAG app that correctly streams what I want using the PDF I trained it with.\n\nThe results return perfectly in markdown language. Of course I can always tell, using a prompt, for GPT to return data in plain text or HTML instead.\n\nWhat I have not been able to do is to get streaming working and get a result returned in markdown to render to HTML on the fly which is exactly what GPT playground does.\n\nIf you watch playground return a result, it starts to do so in MD and then when the MD phrase is finished, it changes it and renders it in HTML which is exactly what I want to do.\n\nHave spent 2 days banging my head up against this wall trying various libs and tools like Showdown and react-markdown and none of them seem to work with streaming and render the front end on the fly into HTML.\n\nHave also just got the server to return the HTML but when streaming it prints literally the HTML code and does not render either.\n\nAm at the end of my tether with this one. Can anyone help and point me to some simple code examples of how to do this pref on the front end in JS",
  "label": "r/openai",
  "dataType": "post",
  "communityName": "r/OpenAI",
  "datetime": "2024-05-20",
  "username_encoded": "Z0FBQUFBQm5Lakw1N1ZHZ0tMMDNrN0lIaEZNVGFTeDlUVnd0YUp1a0ZITG1KaDV1OXFjQ0JuakRIUkxjOWs5ajhrQ195b3Ezd1BFOFhhNndfMGVWckZEZHRIRjA0Zmk0UHc9PQ==",
  "url_encoded": "Z0FBQUFBQm5Lak9KRmFLVWZLZXE2RlgtcktPS0hYSnJ3eDFBX3Y1cXNWa093cWt5MnhCVVhlX2hNSFpROE1Ndm9uc0xVcFdKSURwQ1JtVTFQd1NQRGRpMm9lanZ2MkJzdGRTVTlLUnJsT2JjNk81ZVZia3czbTFQQzR3RTRfQlUzZ01QbDZ2eWhYV2E3S1ZpVl81Um9xaGR2WWU0U0Q5al9weHYxbWhMZURPNHoxN1k4U0tSaTVsZENkVkdSZWFWYkFubGNldHlXRVFD"
}

Entry Information