import { PromptTemplate } from "@langchain/core/prompts";import { ChatOpenAI } from "@langchain/openai";const prompt = PromptTemplate.fromTemplate(`You are a helpful assistant.Here is an example of how you should respond:{ "firstName": "John", "lastName": "Doe", "age": 21}Now, answer the following question:{question}`);
import { PromptTemplate } from "@langchain/core/prompts";import { ChatOpenAI } from "@langchain/openai";const prompt = PromptTemplate.fromTemplate(`You are a helpful assistant.Here is an example of how you should respond:{{ "firstName": "John", "lastName": "Doe", "age": 21}}Now, answer the following question:{question}`);