mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
refactor: remove unused OnModuleInit import from LlmNluHelper
This commit is contained in:
parent
4492bbd4b8
commit
1b12f402c5
@ -6,11 +6,7 @@
|
|||||||
* 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file).
|
* 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import { Injectable, OnApplicationBootstrap } from '@nestjs/common';
|
||||||
Injectable,
|
|
||||||
OnApplicationBootstrap,
|
|
||||||
OnModuleInit,
|
|
||||||
} from '@nestjs/common';
|
|
||||||
import { OnEvent } from '@nestjs/event-emitter';
|
import { OnEvent } from '@nestjs/event-emitter';
|
||||||
import Handlebars from 'handlebars';
|
import Handlebars from 'handlebars';
|
||||||
|
|
||||||
@ -28,7 +24,7 @@ import { LLM_NLU_HELPER_NAME } from './settings';
|
|||||||
@Injectable()
|
@Injectable()
|
||||||
export default class LlmNluHelper
|
export default class LlmNluHelper
|
||||||
extends BaseNlpHelper<typeof LLM_NLU_HELPER_NAME>
|
extends BaseNlpHelper<typeof LLM_NLU_HELPER_NAME>
|
||||||
implements OnModuleInit, OnApplicationBootstrap
|
implements OnApplicationBootstrap
|
||||||
{
|
{
|
||||||
private languageClassifierPrompt: string;
|
private languageClassifierPrompt: string;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user