Skip to content

Using AI for Automatic Typesetting

1 Installing AI Function

For AI function installation, please refer to Custom Model API (Professional Users).

2 Input Text, Mathematics, Tables

Importing Large Language Model Block

You can follow the figure below to insert a large language model block (Session)

Most web-based large language models only support plain text input, but in Liii STEM, you can use any rendered format as input for large language models.

We will render your input to the model in blue. As shown below:

This function not only supports mathematical formulas but also supports tables, as shown below

Notes

  • Press Enter to send the prompt to the large language model.
  • Press Shift + Enter for line breaks.
  • Press Ctrl + Backspace to exit.

3 Input Graphics

Handwriting Recognition

  1. Directly copy the image to the dialog box.
  2. Press Shift + Enter for line breaks.
  3. Then give instructions.
  4. Finally press Enter to run.
  5. As shown:

PDF Recognition

  • Can directly imitate handwriting recognition, put content into dialog box for operation.
  • Can also refer to the file reading method in Section 6 below to provide file path.

Notes

  • The following with VL identifier are large language models with image recognition function, others do not have this function.

  • Large language model image recognition may take a long time, please be patient.

4 Editable Large Language Model Output

  • A common problem when using large language models is organizing, archiving, and further questioning the model's responses.
  • You can directly paste rendered content for questioning, and AI-generated content will be automatically typeset.
  • The output of Liii STEM's built-in large language models can be directly rendered in Liii STEM, making it convenient for you to directly edit and modify.
  • As shown below, you can use Liii STEM to automatically generate exam papers and homework answers!

5 Setting System Prompts

  1. Enter the conversation interface, use the following format to set system prompts:
  2. %system YOUR_SYSTEM_PROMPT
  3. For example:

6 Reading Files as LLM Input

  • When using large language models, we often need to analyze or process existing documents.
  • Liii STEM supports directly reading files as LLM input content.

Usage Method

  1. Use the following format to read files:
  2. %include ~/path/to/your/file
  3. For example:

Notes

  • Paths support absolute paths.
  • File content will automatically become LLM input content.

FAQ

Q: Can I use Chinese for Q&A?

A: Yes, you need to first set the document language to Chinese.

Q: What should I do if it's stuck on the Thinking interface during image recognition?

A: It's normal for the interface to remain unchanged within two minutes. If it exceeds two minutes, you can try updating the version.