Git Product home page Git Product logo

Comments (7)

sixlive avatar sixlive commented on August 26, 2024 1

Awesome!! I'll test it out this morning. Appreciate you!!

from chat-ui.

sixlive avatar sixlive commented on August 26, 2024 1

Confirmed fixed!! Thank you so much!!!

from chat-ui.

sixlive avatar sixlive commented on August 26, 2024

I'm pretty sure its #807, specifically

I refactored buildPrompt and broke it down into preprocessMessages (inject websearch results and images for

multimodal) and buildPrompt (turn an array of messages into a string prompt).

I moved the prompt building out of the inference-specific code and into the POST endpoint for new messages. (less code duplication)

from chat-ui.

nsarrazin avatar nsarrazin commented on August 26, 2024

Taking a look at this now, can you tell me which endpoint type you're using ?

from chat-ui.

sixlive avatar sixlive commented on August 26, 2024

@nsarrazin Heres some screenshots.


Requests made when sending a chat to an assistant that contains a custom prompt (this does not work as expected)

CleanShot 2024-02-29 at 11 17 07

Question: who are you?
Answer: I am a language model AI assistant here to help you with any questions or tasks you may have. How can I assist you today?

and when creating the assistant

CleanShot 2024-02-29 at 11 19 07

Heres one from just using gpt-3.5-turbo with a custom system prompt (this works as expected)

CleanShot 2024-02-29 at 11 19 07

Question: who are you?
Answer: I am a Nova the optimal AI!


Both the gpt-3.5 model and the assistant have the same prompt configured and the assistant is using the same model.

from chat-ui.

sixlive avatar sixlive commented on August 26, 2024

Just wanted to bump this, eager to use the new features!

from chat-ui.

nsarrazin avatar nsarrazin commented on August 26, 2024

I pushed a fix that should have fixed the issue! let me know if it's resolved for you, otherwise I can reopen the issue 😁

from chat-ui.

Related Issues (20)

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.