#Django-anthropic-websocket-stream

1 messages · Page 1 of 1 (latest)

willow marsh
#

Dear Community,

I created a Python-Django-Anthropic-Websocket-streaming Projects. Therefore I used the frame of a chatbot, which can be opened on your local website (http://127.0.0.1:8000), to test the functionality.

You can chat with the Bot very well. Before the response is transmitted to the local website, it is streamed in the terminal and afterwards streamed on the local website.

My aim is to stream the terminal-output simultaneously on the local website while it gets created.

I already implemented websocket for this kind of functionality. Furthermore I integrated Anthropic Asnyc functions (decalaration therefore in: consumers.py).

Right now the output gets streamed in the terminal, but not simultaneously on the local website, but time shifted.

Here is a link to the Github repository: https://github.com/oelpisvandergossau56/Django-anthropic-websocket-stream

Can anyone help me regarding implementing the right functions for my aimed result?

GitHub

Contribute to oelpisvandergossau56/Django-anthropic-websocket-stream development by creating an account on GitHub.

old thicketBOT
#

@willow marsh

Please follow the posting guidelines.

For better assistance from the community or an OpenAI team member, please follow the posting guidelines by clicking the button below.

left lake
long warrenBOT