Files and materials
Praxis works on its own computer, and its files live on that computer. This article covers how to hand it your files, how to see the files it makes, and how to put material you keep using into the knowledge base.
Give Praxis a file
Two ways:
- Click the
+at the left of the input box, choose 附件 (Attachments) and pick a file. - Drag the file into the input box.
Send the message after the upload finishes. While an upload is still running the send button is disabled and the box shows “附件上传中” (Uploading attachments).
What you will see: the attachment in the input box, then in the conversation after you send, where Praxis can read it.
Open the right pane
Click 打开右侧栏 (Open right pane) at the right end of the conversation header (shortcut Ctrl+Alt+B, ⌘⌥B on a Mac). The top of the pane is a row of tabs. The + beside the tabs (打开标签页, Open tab) opens a new one:
| Tab | What it is for |
|---|---|
| 文件 (Files) | Browse the files on Praxis’s computer; view, upload, download |
| 终端 (Terminal) | The computer’s command line |
| 素材库 (Media library) | Image and video assets |
| 知识库 (Knowledge base) | Material you keep using, searchable |
| 浏览器 (Browser) | The web page Praxis is working in |
| 收件箱 (Inbox) | Praxis’s letters; unread ones show a count on the tab |
The × next to a tab closes it, and the button at the top right of the pane collapses the whole pane. Clicking a file mentioned in the conversation opens it in the right pane.
The Files tab
The Files tab shows the computer’s file tree.
- The 搜索文件 (Search files) box at the top filters by file name.
- 上传 (Upload) puts a local file on the computer; 刷新 (Refresh) reads the tree again.
- Right-click a file and choose 下载 (Download) to save it to your device.
- A file with a lock icon is read-only.
Media library
The media library holds images and videos. It has two tabs: 全部素材 (All assets) and 任务 (Tasks), and lists the whole library, not split by conversation. Use 上传文件 (Upload files) at the top right to add assets, and click an asset to see its details in place.
Knowledge base
The knowledge base suits material you look up repeatedly, such as a policy, a contract template or a book. Praxis reads what you put in, and after that both you and it can search by content.
Put a file in
- Open 知识库 in the right pane. If you have several knowledge bases, click 切换知识库 (Switch knowledge base) at the top to choose one.
- Click 上传文件 (Upload files) at the top, or drag files onto the pane; you see the hint 松开即可存入 (Release to store).
- Wait for the file to become 可用 (Available).
The size limit per file is 512 MB for PDF and 50 MB for other formats. Supported types are PDF, Word (.docx), Excel (.xlsx, .csv), PowerPoint (.pptx), web pages and text (.html, .htm, .txt, .md, .json), images (.png, .jpg, .jpeg, .gif, .webp) and EPUB books. Audio and video cannot be put in the knowledge base.
Processing steps
A file goes through four steps before it can be searched: read (读取) → split into segments (分段) → vectorize (向量化) → build the index (建索引). Each file in the list shows which step it is on, and a PDF being read also shows page progress, for example “读取中 3 / 10 页”. Open a file and the 理解 (Understanding) section shows the state of each step: 可用, 处理中 (processing), 失败 (failed), 等待 (waiting). When processing is done the file is 可用, and the header of the pane says 可用; while files are processing it says “N 个处理中”, and with failures “N 个失败”.
The file list
The pane lists every file in this knowledge base, not split by conversation, and has no tabs. Filter it with 全部, 处理中, 可用 and 失败.
Search
Search in the box on the pane. The toggle at its right has two modes:
- 关键词 (Keyword): matches file names.
- 按内容 (By content): searches by what the files say. It lists the relevant passages, tells you “找到 N 段相关内容” (N relevant passages found), and clicking one opens its file.
Files that cannot be read
When a file fails, the list states the reason and 重试 (Retry) tries again. Common reasons:
| Message | Meaning | What to do |
|---|---|---|
| 文件太大 | Over the size limit | Split or compress it and upload again |
| 文件有密码 | The file is password-protected | Remove the password and upload again |
| 受版权保护(DRM),无法读取 | The e-book has copyright protection | It cannot be read; use a copy without DRM |
| 没有读到文字 | No recognizable text in the file | Use a readable copy |
| 不支持这种文件 | The type is not in the list above | Convert it to a supported format |
| 处理超时,可以重试 | It did not finish this time | Click 重试 |
A DRM-protected book cannot be read. That is different from a password, and retrying will not help.
Download or remove
Use 更多操作 (More actions) at the right of a file and choose 下载 (Download) or 从知识库移除 (Remove from the knowledge base). Once a file is open, 查看分段 (View segments) shows the passages it was cut into.
Next
- Talk to Praxis
- Works: build galleries and articles from library pictures and preview them in each platform’s look.
- FAQ
- File API: for developers who upload and reference files from code.
- Knowledge base: for developers who want material to be searchable.