Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Cost Reduction \ Chat Context #2074

Closed
spammenotinoz opened this issue May 8, 2024 · 2 comments
Closed

Feature Request: Cost Reduction \ Chat Context #2074

spammenotinoz opened this issue May 8, 2024 · 2 comments

Comments

@spammenotinoz
Copy link

Brilliant project, but currently using another project as when using this one my API costs are considerably higher.

High API Usage Costs with Some Users who do not appreciate how API's work.

A clear and concise description of what you want to happen.

  • Ability to truncate conversation history by (n) messages. eg: 10. This avoids the entire conversation that may contain irrelevant information back to the LLM. Typically results is a large speed boost and cost reduction due to significant token reduction.

Describe alternatives you've considered

  • User education (training my children) to regularly start new conversations
  • Training users to start a new conversation when finished with embeddings.

Additional context
No modifications to GUI

@justinh-rahb
Copy link
Collaborator

I too had some expensive months due to people putting everything in the same conversation. The solution was user training: telling them to start new threads for new topics.

@spammenotinoz
Copy link
Author

My bad, this feature is already in "Advanced".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants