enums/EventType.java

langchain4j-aideepin · server/adi-common/src/main/java/com/moyz/adi/common/enums/EventType.java · java · MIT
ai

EventType.java from moyangzhan/langchain4j-aideepin

// Source: https://github.com/moyangzhan/langchain4j-aideepin | License: MIT | Copyright 2024 moyangzhan
// Provided via justclaw.it.com; keep this notice with the code.
package com.moyz.adi.common.enums;

import java.util.Arrays;
import java.util.List;

/**
 * Episodic-memory event types. The {@code code} is the lowercase string stored
 * in the database and emitted to / parsed from the LLM. Unknown LLM output is
 * normalized to {@link #GENERAL} so the column never holds an out-of-enum value.
 * <p>
 * 情景记忆事件类型。{@code code} 是存入数据库且与 LLM 交互的小写字符串。
 * LLM 返回的非法值会被归一化为 {@link #GENERAL},保证该列不会出现枚举外的值。
 */
public enum EventType {

    TRAVEL("travel"),
    WORK("work"),
    HEALTH("health"),
    SOCIAL("social"),
    LEARNING("learning"),
    ENTERTAINMENT("entertainment"),
    FAMILY("family

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key