Tarot readings have a topic: general, relationship, work, self-knowledge
The new reading form starts with the topic; it steers how the model reads the cards (with the topic's own limits, e.g. no break-up predictions for relationships) and shows on the reading and in the list. Readings from before count as general. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -43,6 +43,16 @@ export const SPREADS: { id: SpreadId; name: string; cards: number; about: string
|
||||
},
|
||||
];
|
||||
|
||||
export type TopicId = "general" | "love" | "work" | "self";
|
||||
|
||||
/** What a reading is about (the backend's `TOPICS`), with an example question. */
|
||||
export const TOPICS: { id: TopicId; name: string; example: string }[] = [
|
||||
{ id: "general", name: "Általános", example: "Pl. Mire figyeljek a következő hetekben?" },
|
||||
{ id: "love", name: "Párkapcsolat", example: "Pl. Mit tehetek azért, hogy közelebb kerüljünk egymáshoz?" },
|
||||
{ id: "work", name: "Munka és hivatás", example: "Pl. Mire figyeljek, ha munkahelyet váltanék?" },
|
||||
{ id: "self", name: "Önismeret", example: "Pl. Mit tanulhatok most önmagamról?" },
|
||||
];
|
||||
|
||||
/** Longest question (the backend's `TAROT_QUESTION_MAX_CHARS`). */
|
||||
export const TAROT_QUESTION_MAX = 300;
|
||||
|
||||
@@ -60,6 +70,8 @@ export interface TarotReading {
|
||||
status: "pending" | "running" | "done" | "failed";
|
||||
spread: SpreadId;
|
||||
spread_name: string | null;
|
||||
topic: TopicId | null;
|
||||
topic_name: string | null;
|
||||
question: string | null;
|
||||
cards: { card: string; reversed: boolean; position: string | null; about: string | null }[];
|
||||
content: TarotContent | null;
|
||||
|
||||
Reference in New Issue
Block a user