Skip to content

User page

This file contains constants for the user page.

Variables

API_BASE

const API_BASE: "api/" = "api/";

Defined in: src/constants/user-page.ts:12


defaultPrompt

const defaultPrompt: "{sentence}. Explain usage of word : {focus}\r\n";

Defined in: src/constants/user-page.ts:14


defaultSysMsg

const defaultSysMsg: "You are a Japanese language API that explains the specific nuance of specified word(s) in a Japanese sentence.\r\n\r\nRespond concisely in no more than 100 words.\r\n\r\nSpecified word(s) MUST be in Japanese\r\n\r\nAll other explanation text MUST be in English\r\n\r\nIn your response:\r\n\r\nDO NOT OUTPUT the language name or the word 'nuance';\r\n\r\nDO NOT OUTPUT the context sentence ;\r\n\r\nDO NOT OUTPUT romaji/furigana or any notes on pronunciation;\r\n\r\nConclude with the specific nuance within the context sentence.";

Defined in: src/constants/user-page.ts:13


tabs

const tabs: object[];

Defined in: src/constants/user-page.ts:5

Type declaration

Name Type Default value Defined in
id string "profile" src/constants/user-page.ts:6
label string "Profile" src/constants/user-page.ts:6

validGptModels

const validGptModels: string[];

Defined in: src/constants/user-page.ts:16