s-kostyaev / ellama

Ellama is a tool for interacting with large language models from Emacs.
GNU General Public License v3.0
492 stars 30 forks source link

The multi-turn conversation feature is not working as expected. #5

Closed hwiorn closed 11 months ago

hwiorn commented 11 months ago

I can see the ellama-context local variable for storing previous conversation context in the code, but it appears that it's not functioning properly.

Ollama CLI

$ ollama run mistral-openorca
>>> What is the "stay crispy"?
 The term "stay crispy" is an informal phrase that emphasizes maintaining one's freshness, energy, and
enthusiasm in various situations or interactions. In essence, it serves as a reminder to remain alert and
engaged.

>>> Elaborate more!
 "Stay crispy" essentially means that one should always be awake, attentive, and lively in their approach. This
could apply to conversations, work, relationships, or any other scenario where being fully engaged is essential
for success or personal fulfillment. To stay crispy, it's crucial to maintain a positive attitude, be
open-minded, and adapt to the ever-changing dynamics of life and communication.

>>>

Ellama ASK

Do M-x ellama-ask.

## User:
What is the "stay crispy"?

## Ellama:
 "Stay crispy" is an expression used to encourage someone to maintain their strength, energy, or determination in a particular situation. It can be seen as a light-hearted and motivational reminder to persevere through challenges and not let external factors diminish one's spirit or resolve.

Do M-x ellama-ask again. You can observe that the ellama mentioned a different context.

## User:
What is the "stay crispy"?

## Ellama:
 "Stay crispy" is an expression used to encourage someone to maintain their strength, energy, or determination in a particular situation. It can be seen as a light-hearted and motivational reminder to persevere through challenges and not let external factors diminish one's spirit or resolve.

## User:
Elaborate more!

## Ellama:
 In the given statement, "Elaborate more!", you are asking for a more detailed explanation or further information about something. This is generally used when you want to gain deeper insight into a topic or clarify certain aspects of it. For example, if someone mentioned a complex idea or concept briefly, you could ask them to Elaborate more! in order to understand it better.
s-kostyaev commented 11 months ago

@hwiorn Thank you for report.