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

Check for LLM usage #5

Open
shroominic opened this issue Jul 16, 2023 · 4 comments
Open

Check for LLM usage #5

shroominic opened this issue Jul 16, 2023 · 4 comments
Labels
help wanted Extra attention is needed ToDo Task to contribute/work on

Comments

@shroominic
Copy link
Owner

Analyze the project and check how efficient it is using the OpenAI API or LLMs in general.
GPT-4 is expensive so every token counts.
Think about improvements and write them down as issues.

@shroominic shroominic added ToDo Task to contribute/work on help wanted Extra attention is needed labels Jul 16, 2023
@ducanhdt
Copy link
Contributor

for this problem, i think we can add API budget variable like auto-gpt

@shroominic
Copy link
Owner Author

Yeah good idea but I thought there is maybe just a better implementation without tradeoffs in performance

@Ebinjose10
Copy link

Gpt-4 also has a rate limiter,50 hits so I changed it to 3.5 turbo which also gives good results.

@davidkwon11
Copy link

Hi, I'm fairly new to coding and I came across this question. I'd like to change the LLM model to GPT-3.5 turbo, but I'm having a hard time doing so. I went into session.py and changed the following line to "gpt-3.5-turbo" and I'm still having issues. Would you be able to help out?

def _choose_llm(
self, model: str = "gpt-4", openai_api_key: Optional[str] = None, **kwargs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed ToDo Task to contribute/work on
Projects
None yet
Development

No branches or pull requests

4 participants