Think about how this things works, they learned about thousands of articles, reddits comments, wiki pages, news, etc. And they try to match your prompt with something similar to what they know.
Now think how many times you seen data visualization expressed in text like your example? I mean, it is possible, but most content just use images or actual graphs, and that's what LLMs are good at.
I'm not saying they cannot do it, I'm saying that you will get a better response when your prompt request a JSON array with processor benchmark data and then use the JSON as input to another tool to create the visualization.
I guess it depends where you want to show it, if it is som kind of web chatbot, I have seen a lot of sucess with https://www.chartjs.org/ , you can embed graphics on your responses.
If it is terminal I just found this article that have some really good examples.
I wonder about how you host the Llama to handle the 100k users. VLLM for the API? Do you let the users directly interact with the API or have something in the middle?
I was wondering about how this solutions works.. I feel like I should have clients talking with some kind of middleware, maybe queueing prompts and have the API in the back processing the queue?
In my company we have AWS accounts and I use it with Amazon Bedrock, I only pay for the tokens I use and that's all, no plan involved. The same as the API pricing offered directly by Anthropic.
Think about how this things works, they learned about thousands of articles, reddits comments, wiki pages, news, etc. And they try to match your prompt with something similar to what they know.
Now think how many times you seen data visualization expressed in text like your example? I mean, it is possible, but most content just use images or actual graphs, and that's what LLMs are good at.
I'm not saying they cannot do it, I'm saying that you will get a better response when your prompt request a JSON array with processor benchmark data and then use the JSON as input to another tool to create the visualization.
I guess it depends where you want to show it, if it is som kind of web chatbot, I have seen a lot of sucess with https://www.chartjs.org/ , you can embed graphics on your responses.
If it is terminal I just found this article that have some really good examples.
https://medium.com/@SrvZ/how-to-create-stunning-graphs-in-the-terminal-with-python-2adf9d012131
I wonder about how you host the Llama to handle the 100k users. VLLM for the API? Do you let the users directly interact with the API or have something in the middle?
I was wondering about how this solutions works.. I feel like I should have clients talking with some kind of middleware, maybe queueing prompts and have the API in the back processing the queue?
Does the API plan has the same limits? O switch to Amazon Bedrock? You should be able to pay-per-use without limits I believe.
https://claude.com/pricing#api
https://code.claude.com/docs/en/amazon-bedrock
In my company we have AWS accounts and I use it with Amazon Bedrock, I only pay for the tokens I use and that's all, no plan involved. The same as the API pricing offered directly by Anthropic.
I don't like the idea of LLM generating visualizations when there are tons of libraries that can make them and work without issues.
Maybe you could use the LLM to generate the data and something else to generate the visualization?