ItzCrazyKns / Perplexica

Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI
MIT License
10.97k stars 972 forks source link

[FR] system prompt #72

Open wwjCMP opened 2 months ago

wwjCMP commented 2 months ago

Is your feature request related to a problem? Please describe.

The output format and language of the pattern do not always meet expectations.

Describe the solution you'd like

Control the output format of LLM by setting an appropriate system prompt.

Describe alternatives you've considered

Additional context

ItzCrazyKns commented 2 months ago

Hi, I understand that some people might want this feature but this might break how Perplexica gives its replies, It might not cite the sources perfectly or give the responses perfectly. Lets see what the community says!

wwjCMP commented 2 months ago

Hi, I understand that some people might want this feature but this might break how Perplexica gives its replies, It might not cite the sources perfectly or give the responses perfectly. Lets see what the community says!

Alternatively, adding a button in the answer area could solve the issue. When an answer is provided in an unexpected language, clicking the button would translate the answer into specified language without disrupting the original flow of answering.

ItzCrazyKns commented 2 months ago

Oh, It would (most likely) answer the question in the language the question is asked.

delfireinoso commented 1 month ago

And the language of the sources

delfireinoso commented 1 month ago

Oh, It would (most likely) answer the question in the language the question is asked.

This would be a first start