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

Add usage considerations to the docs #121

Open
lainisourgod opened this issue Dec 10, 2024 · 1 comment
Open

Add usage considerations to the docs #121

lainisourgod opened this issue Dec 10, 2024 · 1 comment

Comments

@lainisourgod
Copy link

Hi! Very interesting project and nice documentation overall, but I have a lot of questions right from the beginning

  • how much does it cost on average?
  • speed
  • some comparisons to other methods: when it works better, when worse

I think having this info right in README would help popularise this method 🙌

@igorlima
Copy link

Indeed, it's an interesting project. Going through your questions, let me try to address them:

  • Cost: The pricing largely depends on the LLM providers, as it varies across different platforms. This project uses the litellm library, simplifying API calls to various LLMs by standardizing inputs and outputs. This library includes a comprehensive JSON file that outlines the costs for each provider, making it easy to compare. I've also submitted a PR to enhance the README, which includes a brief cost comparison for your convenience.

  • Speed: In my use cases, when using LLMs via API, the response time is generally consistent and doesn't show significant delays. A one or two-second difference hasn't been an issue for my use cases. If you're considering running a local LLM, that's a different scenario, and I recommend checking out a Medium post that covers this topic. Feel free to start a discussion there!

  • Comparison Among LLMs: Several tools are dedicated to comparing LLMs, such as promptfoo. Additionally, a Colab Notebook is available to play with your data.

Your questions are valuable for understanding and learning more about LLMs, and you are more than welcome to continue this discussion.

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