chat

Chat

Send a message and receive an AI answer grounded in Buddhist texts (RAG). Supports BYOK and anonymous access.

发送消息并获取基于经文的 AI 回答(支持自带 API Key 及匿名访问)。

post/api/chat

Request

  • Base URL: https://fojin.app (the document declares no server; this is the origin it was published from)
  • URL: https://fojin.app/api/chat
  • Auth: HTTP bearer

Request body

messagestring required
session_idinteger nullable
master_idstring nullable
text_idinteger nullable
juan_numinteger nullable
selected_textstring nullable
page_contentstring nullable
hot_question_idinteger nullable
regenerateboolean
model_idstring nullable
attachment_idsinteger[] nullable

Response

Successful Response

session_idinteger required
messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.