fix(basic.gblib): FUNCTION GPT.
This commit is contained in:
parent
44dc1f625a
commit
a91e533306
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ export class GBLLMOutputParser extends BaseLLMOutputParser<ExpectedOutput> {
|
|||
if (result) {
|
||||
const metadata = naiveJSONFromText(result);
|
||||
|
||||
if (metadata) {
|
||||
if (metadata && metadata.filename) {
|
||||
const {url} = await ChatServices.pdfPageAsImage(this.min, metadata.filename,
|
||||
metadata.page);
|
||||
result = `
|
||||
|
|
Loading…
Add table
Reference in a new issue