mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 05:01:10 +03:00
Change of category name for output parsers
This commit is contained in:
@@ -4,7 +4,7 @@ import { BaseLanguageModel } from 'langchain/base_language'
|
|||||||
import { ICommonObject } from '../../src'
|
import { ICommonObject } from '../../src'
|
||||||
import { ChatPromptTemplate, FewShotPromptTemplate, PromptTemplate, SystemMessagePromptTemplate } from 'langchain/prompts'
|
import { ChatPromptTemplate, FewShotPromptTemplate, PromptTemplate, SystemMessagePromptTemplate } from 'langchain/prompts'
|
||||||
|
|
||||||
export const CATEGORY = 'Output Parser (Experimental)'
|
export const CATEGORY = 'Output Parsers'
|
||||||
|
|
||||||
export const formatResponse = (response: string | object): string | object => {
|
export const formatResponse = (response: string | object): string | object => {
|
||||||
if (typeof response === 'object') {
|
if (typeof response === 'object') {
|
||||||
|
|||||||
Reference in New Issue
Block a user