Git Product home page Git Product logo

Comments (8)

orhanerday avatar orhanerday commented on July 30, 2024

This is not an issue can you please ask this question in our discord server?

from chatgpt.

AIContributor avatar AIContributor commented on July 30, 2024

This is not an issue can you please ask this question in our discord server?

I can't :( can you writte here how change it?

from chatgpt.

orhanerday avatar orhanerday commented on July 30, 2024

What is '"object":"chat.completion.chunk"'?

from chatgpt.

AIContributor avatar AIContributor commented on July 30, 2024

In event-stream.php echo $data; returns "object":"chat.completion.chunk" which is why the bot response is returned by chunk

from chatgpt.

AIContributor avatar AIContributor commented on July 30, 2024

"How can I assist you" see "content" in every data

data: {"id":"","object":"chat.completion.chunk","created":,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":" How"},"index":0,"finish_reason":null}]}
data: {"id":"","object":"chat.completion.chunk","created":,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":" can"},"index":0,"finish_reason":null}]}
data: {"id":"","object":"chat.completion.chunk","created":,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":" I"},"index":0,"finish_reason":null}]}
data: {"id":"","object":"chat.completion.chunk","created":,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":" assist"},"index":0,"finish_reason":null}]}
data: {"id":"","object":"chat.completion.chunk","created":,"model":"gpt-3.5-turbo-0301","choices":[{"delta":{"content":" you"},"index":0,"finish_reason":null}]}

from chatgpt.

orhanerday avatar orhanerday commented on July 30, 2024

This is SSE feature you can disable it.

from chatgpt.

AIContributor avatar AIContributor commented on July 30, 2024

How?

from chatgpt.

orhanerday avatar orhanerday commented on July 30, 2024

Please read https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events

I locked the issue.

from chatgpt.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.