new(whatsapp.gblib): LLM SQL.

This commit is contained in:
Rodrigo Rodriguez 2024-08-11 16:47:12 -03:00
parent 067163afa6
commit 36de9a5120
2 changed files with 2 additions and 1 deletions

View file

@ -207,6 +207,7 @@
"textract": "2.5.0",
"twilio": "5.1.0",
"twitter-api-v2": "1.17.0",
"typeorm": "^0.3.20",
"typescript": "5.4.5",
"url-join": "5.0.0",
"vhost": "3.0.2",

View file

@ -47,7 +47,7 @@ import { DynamicStructuredTool } from '@langchain/core/tools';
import { convertToOpenAITool } from '@langchain/core/utils/function_calling';
import { ChatOpenAI, OpenAI } from '@langchain/openai';
import { SqlDatabaseChain } from 'langchain/chains/sql_db';
import type { DataSource, DataSourceOptions } from "typeorm";
import { GBMinInstance } from 'botlib';
import * as Fs from 'fs';
import { jsonSchemaToZod } from 'json-schema-to-zod';