You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Display mathematical expressions in your conversations using KaTeX.
3
+
description: A powerful and safe mathematical expression evaluator with a rich web interface.
4
4
---
5
5
6
-
The [katex](https://github.com/ServiceStack/llms/tree/main/llms/extensions/katex) extension enables beautiful rendering of LaTeX math expressions in AI responses using [KaTeX](https://katex.org/). It integrates automatically with the markdown parser to render math equations in both inline and block formats.
6
+
A dedicated UI has been added for the `calc` tool with support for evaluating mathematical python expressions, including arithmetic, comparison, boolean operators, `math.*` functions & constants and python list comprehensions:
7
7
8
-
### Features
8
+
<Screenshotsrc="/img/run-calc.webp"/>
9
9
10
-
-**Fast Rendering**: Uses KaTeX for high-performance rendering of math expressions.
11
-
-**Inline Math**: Renders math within text using `$` or `$$` delimiters.
12
-
-**Block Math**: Renders complex equations in their own block using `$` or `$$` delimiters across multiple lines.
13
-
-**Auto-Integration**: Automatically extends the `marked` parser used in the application.
10
+
## Features
14
11
15
-
### Popular math expressions
12
+
### 🖥️ UX Friendly Interface
13
+
Experience a clean, modern interface designed for efficiency. The UI is fully responsive and supports dark mode, seamlessly integrating with the rest of the application.
16
14
17
-
<Screenshotsrc="/img/rendering-katex.webp" />
15
+
### 💾 Persistent History
16
+
Never lose track of your calculations. The Calculator automatically saves your history to `localStorage`, ensuring your previous expressions and results are preserved between sessions.
18
17
19
-
### Basic math expressions
18
+
### ⚡ 1-Click Interaction
19
+
Streamline your workflow with interactive history items:
20
+
-**Load & Copy**: Click on any past expression or answer to instantly load it into the input field and copy it to your clipboard.
Copy file name to clipboardExpand all lines: content/docs/features/core-tools.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ description: Built-in essential tools for memory persistence, file operations, m
5
5
6
6
These tools defined in the [core_tools](https://github.com/ServiceStack/llms/blob/main/llms/extensions/core_tools/__init__.py) extension provide essential functionality for LLMs to interact with their environment, perform calculations, and manage persistent data.
7
7
8
+
See [Tools Docs](/docs/extensions/tools) for details on registering and using your own tools.
0 commit comments