ollama icon indicating copy to clipboard operation
ollama copied to clipboard

Suggestion: Ignore previous context in chat api.

Open owenzhao opened this issue 11 months ago • 1 comments

Sometimes, we may change subjects when talking. All previous talks are irrelevant. But in chat API, there is no parameter for that. So maybe we can add a bool like isNewChat to start a new conversation.

owenzhao avatar Mar 09 '24 01:03 owenzhao

If you dont send in messages there is No context

Hansson0728 avatar Mar 09 '24 12:03 Hansson0728

If you dont send in messages there is No context

No. The contexts are implicitly included, even you don't send them in messages. You can find it easily

owenzhao avatar Mar 10 '24 01:03 owenzhao