Anthropic's Claude chatbot has been updated to write and execute JavaScript code. This means Claude can help users with coding tasks, making it easier to perform calculations and analyze data.
Image: Credit
Anthropic has a new tool that helps Claude give very accurate answers. This tool is still in testing and lets Claude do calculations and look at data from files like spreadsheets and PDFs. It shows the results as interactive visuals.
“Think of the analysis tool as a built-in code sandbox. Claude can do complex math, analyze data, and explore different ideas before giving an answer,” Anthropic said in a blog post. “Instead of just doing abstract analysis, it can process your data step-by-step — cleaning, exploring, and analyzing it until it finds the correct result.”
Anthropic provided some examples of how this tool can be useful. For example, a product manager could upload sales data and ask Claude for an analysis of performance by country. An engineer could share monthly financial data and have Claude create a dashboard to highlight key trends.
Claude could attempt these tasks before, but it often lacked the ability to mathematically verify its results, so the answers weren’t always accurate.
Google has a similar feature for its Gemini models called Code Execution, which allows models to generate and run Python code to learn from the results. OpenAI's models can also write and execute code through a feature called Advanced Data Analysis.
As of Thursday, Anthropic’s analysis tool is available for all Claude users on the web. To enable it, log into Claude.ai and click here.
Claude chatbot can now write and run JavaScript code, helping users with coding tasks, calculations, and data analysis. Anthropic introduced a new tool for Claude that gives more accurate answers by performing calculations and analyzing data from files like spreadsheets and PDFs. The results are shown as interactive visuals.
The tool works like a "code sandbox," where Claude can do complex math, explore ideas, and carefully process data step-by-step.
Claude can now check its answers mathematically, making its responses more reliable.
Google’s Gemini and OpenAI models have similar coding and analysis tools for better data handling.
This new tool is available for all Claude users on the web in preview mode. Users can enable it on Claude.ai.