u
This commit is contained in:
@@ -3,7 +3,7 @@ import { TOOL_DESCRIPTIONS, TOOL_PARAMETER_DESCRIPTIONS } from './prompts.js';
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates the draft_delivery_manifest tool.
|
* Creates the draft_delivery_manifest tool.
|
||||||
* Stores extracted invoice/delivery-note data: header metadata (basedata), notes, and product line items.
|
* Stores extracted invoice/delivery-note data: header metadata (basedata), and product line items.
|
||||||
*/
|
*/
|
||||||
export function createDraftDeliveryManifestTool() {
|
export function createDraftDeliveryManifestTool() {
|
||||||
const P = TOOL_PARAMETER_DESCRIPTIONS.draft_delivery_manifest;
|
const P = TOOL_PARAMETER_DESCRIPTIONS.draft_delivery_manifest;
|
||||||
@@ -40,13 +40,6 @@ export function createDraftDeliveryManifestTool() {
|
|||||||
],
|
],
|
||||||
description: P.basedata,
|
description: P.basedata,
|
||||||
},
|
},
|
||||||
notes: {
|
|
||||||
anyOf: [
|
|
||||||
{ type: 'array', items: { type: 'string' } },
|
|
||||||
{ type: 'null' },
|
|
||||||
],
|
|
||||||
description: P.notes,
|
|
||||||
},
|
|
||||||
items: {
|
items: {
|
||||||
anyOf: [
|
anyOf: [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ export const TOOL_DESCRIPTIONS = {
|
|||||||
'and provide these paths in the subagent instructions.',
|
'and provide these paths in the subagent instructions.',
|
||||||
|
|
||||||
draft_delivery_manifest:
|
draft_delivery_manifest:
|
||||||
'Stores extracted invoice/delivery-note data: header metadata (basedata), notes, and product line items. Each component is strictly optional.',
|
'Stores extracted invoice/delivery-note data: header metadata (basedata), and product line items. Each component is strictly optional.',
|
||||||
};
|
};
|
||||||
|
|
||||||
// #endregion
|
// #endregion
|
||||||
@@ -269,7 +269,6 @@ export const TOOL_PARAMETER_DESCRIPTIONS = {
|
|||||||
lieferantName: 'Lieferant name.',
|
lieferantName: 'Lieferant name.',
|
||||||
manifestNr: 'Lieferscheinnummer or Rechnungsnummer.',
|
manifestNr: 'Lieferscheinnummer or Rechnungsnummer.',
|
||||||
manifestType: 'Document type.',
|
manifestType: 'Document type.',
|
||||||
notes: 'New noteworthy details (in German), for a human to double-check the result.',
|
|
||||||
items: 'New product line items.',
|
items: 'New product line items.',
|
||||||
numberOfItemsToAdd: 'Number of NEW line items being added in this call.',
|
numberOfItemsToAdd: 'Number of NEW line items being added in this call.',
|
||||||
items_list: 'Invoice/delivery product line items.',
|
items_list: 'Invoice/delivery product line items.',
|
||||||
|
|||||||
Reference in New Issue
Block a user