Replies: 4 comments
-
|
Can you test and compare a solution of using prompt affixes in a preset? If outputs are similar, this has the advantage of being more universal across supported chatbots. By the way, AI Studio supports system instructions and interestingly when we were setting "edit format" instructions there some time ago we're getting worse results than now when we set them at the top and bottom in the prompt. Seems like long context messages benefit from repeated instructions at the end. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
It does work, however we still lose the benefit of automatically grouping the chats into a space. By targeting custom URLs, we could have a different space for CWC chats, and even multiple spaces for different projects by creating multiple profiles (besides the added benefit of more flexibility for other chatbots too). Another drawback is that custom instructions in the prompt itself may make it a lot bigger, depending on the instructions, possibly affecting the context window (I'm not sure if system prompts also consume the context window), and polluting the chat history.
That's interesting. It's not something that happened to me personally, but usually my coding chats are not very long. What I found out, though, is that some models definitely adhere to the system instructions better than others. |
Beta Was this translation helpful? Give feedback.
-
|
I understand your point of view on this issue, and will consider once we're finished with other things like website. By the way are you conversing with a model on coding tasks? I suggest you adjusting initial instructions and chat re-initialization. Conversations are not great for coding because they end up having a lot of noise hurting model's performance significantly after just 2-3 turns. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Perplexity added a nice feature a couple of months ago called Perplexity Spaces. In short, it allows for organizing threads inside these so-called Spaces (akin to folders), but for me the greatest feature is the ability to set custom instructions to each space, which gets sent automatically to the chat model as a system prompt.
Each Space has its own URL, with a scheme similar to this:
https://www.perplexity.ai/spaces/technical-expert-<random_string>. So one idea to add support for Perplexity Spaces into Code Web Chat would be simply to add the ability to override the provider URL with a custom one. So the user could create multiple Perplexity profiles, each one with a custom URL, targeting a specific Space.I quickly inspected the HTML of the chat textbox inside a Space, and it looks like the regular textbox, so probably there won't be any need to adjust element IDs: just the URL replacement should be enough.
URL overrides also have the added benefit of bringing more flexibility to other providers as well (especially for self-hosted solutions), besides Perplexity.
Beta Was this translation helpful? Give feedback.
All reactions