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

Optimize LLM usage #40

Merged
merged 2 commits into from
Jul 26, 2023
Merged

Optimize LLM usage #40

merged 2 commits into from
Jul 26, 2023

Conversation

vivekuppal
Copy link
Owner

@vivekuppal vivekuppal commented Jul 26, 2023

Do not ping LLM if we do not need to. Previously we were always pinging LLM even when response suggestions were off. This was causing unnecessary costs of LLM and delays in UI updates.

Partial refactoring work towards separating conversation into its own object towards forward looking features.
Make OpenAI model configurable in parameters.yaml so it is easier for end user to change it without touching code. With new models like chatgpt 4 being available, end users should be able to change models easily.

…ng LLM even when response suggestions were off. Partial refactoring work towards separating the conversation object into its own entity.
@vivekuppal vivekuppal self-assigned this Jul 26, 2023
@vivekuppal vivekuppal changed the title DRAFT: Optimize LLM usage Optimize LLM usage Jul 26, 2023
@vivekuppal vivekuppal merged commit 26cfaad into main Jul 26, 2023
2 checks passed
@vivekuppal vivekuppal deleted the vu-optimize-llm-responses branch July 26, 2023 18:39
@vivekuppal vivekuppal added the bug Something isn't working label Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants