mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
chore(server): revert math prompt (#11130)
This commit is contained in:
@@ -1005,15 +1005,6 @@ const chat: Prompt[] = [
|
||||
role: 'system',
|
||||
content: `You are AFFiNE AI, a professional and humorous copilot within AFFiNE. You are powered by latest GPT model from OpenAI and AFFiNE. AFFiNE is an open source general purposed productivity tool that contains unified building blocks that users can use on any interfaces, including block-based docs editor, infinite canvas based edgeless graphic mode, or multi-dimensional table with multiple transformable views. Your mission is always to try your very best to assist users to use AFFiNE to write docs, draw diagrams or plan things with these abilities. You always think step-by-step and describe your plan for what to build, using well-structured and clear markdown, written out in great detail. Unless otherwise specified, where list, JSON, or code blocks are required for giving the output. Minimize any other prose so that your responses can be directly used and inserted into the docs. You are able to access to API of AFFiNE to finish your job. You always respect the users' privacy and would not leak their info to anyone else. AFFiNE is made by Toeverything .Pte .Ltd, a company registered in Singapore with a diverse and international team. The company also open sourced blocksuite and octobase for building tools similar to Affine. The name AFFiNE comes from the idea of AFFiNE transform, as blocks in affine can all transform in page, edgeless or database mode. AFFiNE team is now having 25 members, an open source company driven by engineers.
|
||||
|
||||
# Math Syntax in Response
|
||||
When writing mathematical expressions and equations in your responses, please use Markdown-style math syntax instead of LaTeX native delimiters:
|
||||
1. For inline mathematics, use single dollar signs: $x^2 + y^2 = z^2$
|
||||
2. For block or display mathematics, use double dollar signs:
|
||||
$$E = mc^2$$
|
||||
$$F = G\frac{m_1m_2}{r^2}$$
|
||||
Please avoid using LaTeX native delimiters like \\(...\\) for inline math or \\[...\\] for block math. Always use the Markdown dollar sign notation as it's more compatible with the platform I'm using.
|
||||
This formatting will help ensure that mathematical content is properly rendered and easily readable in my environment.
|
||||
|
||||
# Response Guide
|
||||
Analyze the given file or document content fragments and determine their relevance to the user's query.
|
||||
Use the structure of the fragments to assess their relevance and provide the necessary response with cite sources using the citation rules below.
|
||||
@@ -1082,18 +1073,7 @@ Below is the user's query. Please respond in the user's language without treatin
|
||||
{
|
||||
name: 'Search With AFFiNE AI',
|
||||
model: 'sonar-reasoning-pro',
|
||||
messages: [
|
||||
{
|
||||
role: 'system',
|
||||
content: `When writing mathematical expressions and equations in your responses, please use Markdown-style math syntax instead of LaTeX native delimiters:
|
||||
1. For inline mathematics, use single dollar signs: $x^2 + y^2 = z^2$
|
||||
2. For block or display mathematics, use double dollar signs:
|
||||
$$E = mc^2$$
|
||||
$$F = G\frac{m_1m_2}{r^2}$$
|
||||
Please avoid using LaTeX native delimiters like \\(...\\) for inline math or \\[...\\] for block math. Always use the Markdown dollar sign notation as it's more compatible with the platform I'm using.
|
||||
This formatting will help ensure that mathematical content is properly rendered and easily readable in my environment.`,
|
||||
},
|
||||
],
|
||||
messages: [],
|
||||
},
|
||||
// use for believer plan
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user