跳至主要内容

概述

在本节中,我们介绍Casibase最核心的部分:聊天及其管理。

1. 聊天

When you log in to Casibase, the chat interface is your starting point. This makes it easy to immediately begin conversations with AI without navigating through menus. 一旦我们配置好存储,我们就可以与AI进行对话。如下图所示: 如下图所示:

chat.png

The chat interface adapts to different AI capabilities. When using OpenAI or Alibaba Cloud providers, you'll see a web search toggle that lets the AI fetch current information from the internet. Search results appear inline with the response, complete with source URLs and timestamps for verification. For OpenAI's reasoning models (o1 and o1-mini), the chat displays the model's step-by-step thinking process in expandable sections, letting you follow along as it works through complex problems.

Source Attribution

When the AI provides answers, you can trace where the information came from through two types of sources:

Knowledge sources appear when chatting with a store that has embedded documents. Click the button showing the number of knowledge sources to open a drawer that displays each relevant document fragment with its relevance score. You can click on any source to view the complete vector entry, or click on the file name/icon to jump directly to that file in the store's file viewer with the specific document pre-selected.

Web sources appear when web search is enabled. These show the websites the AI referenced when answering your question, complete with titles, URLs, and brief descriptions. The drawer displays search results with timestamps and allows you to visit the original sources.

2. 聊天管理

我们可以从聊天菜单管理我们的聊天会话。

chat.png

该页面允许用户查看已创建的聊天信息,用户也可以点击编辑来查看或编辑它们。它们显示以下信息: Regular users can access and view their own chat sessions, while administrators have full access to all chats in the system for management purposes. 它们显示以下信息:

  • 名称:创建的聊天名称。
  • 更新时间:聊天更新的时间。
  • 用户:聊天所属的用户。
  • 客户端IP:聊天的客户端IP。
  • 计数:此聊天的输入和输出数量。
  • 令牌计数:此聊天使用的总令牌数。
  • 价格:此聊天花费的总价格。
  • 消息:显示聊天的消息内容。
  • 存储:显示聊天所属的存储。
  • Model Provider: The AI provider used for this chat (e.g., OpenAI, Claude).
  • 类别:显示聊天所属的类别。

Token usage and costs are automatically tracked for billing purposes. See the Billing & Usage section for more details on how transactions are created and managed.