@arcgis/ai-orchestrator 5.0.0-next.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +17 -0
- package/README.md +11 -0
- package/dist/commonFunctions/vectorSearchFields.d.ts +2 -0
- package/dist/commonFunctions/vectorSearchLayers.d.ts +4 -0
- package/dist/dispatcherAgent/dispatcherGraph.d.ts +3 -0
- package/dist/dispatcherAgent/nodes/executeRegisteredAgent.d.ts +3 -0
- package/dist/dispatcherAgent/nodes/exit.d.ts +3 -0
- package/dist/dispatcherAgent/nodes/ingestInput.d.ts +3 -0
- package/dist/dispatcherAgent/nodes/intentDispatcher.d.ts +2 -0
- package/dist/dispatcherAgent/nodes/intentLLM.d.ts +3 -0
- package/dist/dispatcherAgent/reducers/commonReducers.d.ts +1 -0
- package/dist/dispatcherAgent/state/dispatcherGraphState.d.ts +8 -0
- package/dist/embeddings.worker-19IRaTB4.js +23 -0
- package/dist/field_descriptions_prompt-haMV_aoG.js +111 -0
- package/dist/hitl/InterruptHandler.d.ts +30 -0
- package/dist/hitl/types.d.ts +24 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +8328 -0
- package/dist/intent_prompt-BjOozjFv.js +20 -0
- package/dist/layer_descriptions_prompt-NAaKWdJi.js +58 -0
- package/dist/llm/generateFieldDescriptions.d.ts +8 -0
- package/dist/llm/generateLayerAndFieldDescription.d.ts +7 -0
- package/dist/llm/generateLayerDescriptions.d.ts +22 -0
- package/dist/models/modelConfig.d.ts +28 -0
- package/dist/models/types.d.ts +2 -0
- package/dist/orchestrator/orchestrator.d.ts +70 -0
- package/dist/orchestrator/orchestratorEvents.d.ts +60 -0
- package/dist/prompts/getPrompt.d.ts +6 -0
- package/dist/providers/arcgis/aiUtilityService.d.ts +3 -0
- package/dist/providers/azure/azureChat.d.ts +6 -0
- package/dist/providers/azure/promptChain.d.ts +32 -0
- package/dist/providers/azure/sanitizedFetch.d.ts +5 -0
- package/dist/registry/agentRegistry.d.ts +26 -0
- package/dist/services/fieldSearch.d.ts +20 -0
- package/dist/services/layerSearch.d.ts +20 -0
- package/dist/signals/index.d.ts +24 -0
- package/dist/types/types.d.ts +55 -0
- package/dist/utils/cleanHistory.d.ts +2 -0
- package/dist/utils/contextSelectors.d.ts +10 -0
- package/dist/workers/embeddings.worker.d.ts +1 -0
- package/dist/workers/embeddingsWorkerSetup.d.ts +6 -0
- package/package.json +27 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Licensing
|
|
2
|
+
|
|
3
|
+
COPYRIGHT © Esri
|
|
4
|
+
|
|
5
|
+
All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
|
|
6
|
+
|
|
7
|
+
This material is licensed for use under the [Esri Master License Agreement (MLA)](https://www.esri.com/content/dam/esrisites/en-us/media/legal/ma-full/ma-full.pdf), and is bound by the terms of that agreement.
|
|
8
|
+
You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
|
|
9
|
+
|
|
10
|
+
For additional information, contact:
|
|
11
|
+
Environmental Systems Research Institute, Inc.
|
|
12
|
+
Attn: Contracts and Legal Services Department
|
|
13
|
+
380 New York Street
|
|
14
|
+
Redlands, California, USA 92373
|
|
15
|
+
USA
|
|
16
|
+
|
|
17
|
+
email: legal@esri.com
|
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# ArcGIS Maps SDK for JavaScript - AI Orchestrator package (beta)
|
|
2
|
+
|
|
3
|
+
**No Esri Technical Support included.**
|
|
4
|
+
|
|
5
|
+
The ArcGIS Maps SDK for JavaScript provides a suite of ready-to-use UI components that simplify the process of creating GIS web applications. This package contains **AI orchestrator** with functionality made possible through the SDK's core API which is also accessible through the components.
|
|
6
|
+
|
|
7
|
+
## License
|
|
8
|
+
|
|
9
|
+
COPYRIGHT © Esri
|
|
10
|
+
|
|
11
|
+
This package is licensed under the terms described in the `LICENSE.md` file, located in the root of the package.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { RunnableConfig } from '@langchain/core/runnables';
|
|
2
|
+
import { DispatcherGraphStateType } from '../state/dispatcherGraphState';
|
|
3
|
+
export declare const executeRegisteredAgent: (state: DispatcherGraphStateType, config?: RunnableConfig) => Promise<DispatcherGraphStateType>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const replaceReducer: <T>(_prev: T, next: T) => T;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ChatHistory } from '../../types/types';
|
|
2
|
+
export declare const DispatcherGraphState: import('@langchain/langgraph').AnnotationRoot<{
|
|
3
|
+
userInput: import('@langchain/langgraph').LastValue<string>;
|
|
4
|
+
messages: import('@langchain/langgraph').BinaryOperatorAggregate<ChatHistory, ChatHistory>;
|
|
5
|
+
pendingIntents: import('@langchain/langgraph').BinaryOperatorAggregate<string[], string[]>;
|
|
6
|
+
currentIntent: import('@langchain/langgraph').BinaryOperatorAggregate<string, string>;
|
|
7
|
+
}>;
|
|
8
|
+
export type DispatcherGraphStateType = typeof DispatcherGraphState.State;
|