@aj-archipelago/cortex 1.2.1 → 1.3.1
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/config.js +38 -11
- package/helper-apps/cortex-autogen/OAI_CONFIG_LIST +2 -1
- package/helper-apps/cortex-autogen/agents.py +392 -0
- package/helper-apps/cortex-autogen/agents_extra.py +14 -0
- package/helper-apps/cortex-autogen/config.py +18 -0
- package/helper-apps/cortex-autogen/data_operations.py +29 -0
- package/helper-apps/cortex-autogen/function_app.py +6 -3
- package/helper-apps/cortex-autogen/main.py +4 -4
- package/helper-apps/cortex-autogen/prompts.py +196 -0
- package/helper-apps/cortex-autogen/prompts_extra.py +5 -0
- package/helper-apps/cortex-autogen/requirements.txt +2 -1
- package/helper-apps/cortex-autogen/search.py +83 -0
- package/helper-apps/cortex-autogen/test.sh +40 -0
- package/helper-apps/cortex-autogen/utils.py +78 -0
- package/lib/handleBars.js +25 -0
- package/lib/logger.js +2 -0
- package/lib/util.js +3 -1
- package/package.json +1 -1
- package/pathways/chat_code.js +1 -1
- package/pathways/chat_context.js +1 -1
- package/pathways/chat_jarvis.js +1 -1
- package/pathways/chat_persist.js +1 -1
- package/pathways/chat_title.js +25 -0
- package/pathways/image_recraft.js +1 -1
- package/pathways/rag.js +1 -1
- package/pathways/rag_jarvis.js +1 -1
- package/pathways/rag_search_helper.js +1 -1
- package/pathways/system/entity/memory/sys_memory_manager.js +71 -0
- package/pathways/system/entity/memory/sys_memory_required.js +21 -0
- package/pathways/system/entity/memory/sys_memory_update.js +196 -0
- package/pathways/system/entity/memory/sys_read_memory.js +37 -0
- package/pathways/system/entity/memory/sys_save_memory.js +60 -0
- package/pathways/system/entity/shared/sys_entity_constants.js +27 -0
- package/pathways/system/entity/sys_entity_continue.js +55 -0
- package/pathways/system/entity/sys_entity_start.js +239 -0
- package/pathways/system/entity/sys_generator_error.js +20 -0
- package/pathways/system/entity/sys_generator_expert.js +26 -0
- package/pathways/system/entity/sys_generator_image.js +127 -0
- package/pathways/system/entity/sys_generator_quick.js +19 -0
- package/pathways/system/entity/sys_generator_reasoning.js +27 -0
- package/pathways/system/entity/sys_generator_results.js +310 -0
- package/pathways/system/entity/sys_generator_video_vision.js +27 -0
- package/pathways/system/entity/sys_image_prompt_builder.js +35 -0
- package/pathways/system/entity/sys_query_builder.js +110 -0
- package/pathways/system/entity/sys_router_code.js +37 -0
- package/pathways/system/entity/sys_router_tool.js +67 -0
- package/pathways/{sys_claude_35_sonnet.js → system/rest_streaming/sys_claude_35_sonnet.js} +1 -1
- package/pathways/{sys_claude_3_haiku.js → system/rest_streaming/sys_claude_3_haiku.js} +1 -1
- package/pathways/{sys_google_chat.js → system/rest_streaming/sys_google_chat.js} +1 -1
- package/pathways/{sys_google_code_chat.js → system/rest_streaming/sys_google_code_chat.js} +1 -1
- package/pathways/{sys_google_gemini_chat.js → system/rest_streaming/sys_google_gemini_chat.js} +1 -1
- package/pathways/{sys_openai_chat.js → system/rest_streaming/sys_openai_chat.js} +1 -1
- package/pathways/{sys_openai_chat_16.js → system/rest_streaming/sys_openai_chat_16.js} +1 -1
- package/pathways/{sys_openai_chat_gpt4.js → system/rest_streaming/sys_openai_chat_gpt4.js} +1 -1
- package/pathways/{sys_openai_chat_gpt4_32.js → system/rest_streaming/sys_openai_chat_gpt4_32.js} +1 -1
- package/pathways/{sys_openai_chat_gpt4_turbo.js → system/rest_streaming/sys_openai_chat_gpt4_turbo.js} +1 -1
- package/pathways/{sys_parse_numbered_object_list.js → system/sys_parse_numbered_object_list.js} +2 -2
- package/pathways/{sys_repair_json.js → system/sys_repair_json.js} +1 -1
- package/pathways/{run_claude35_sonnet.js → system/workspaces/run_claude35_sonnet.js} +1 -1
- package/pathways/{run_claude3_haiku.js → system/workspaces/run_claude3_haiku.js} +1 -1
- package/pathways/{run_gpt35turbo.js → system/workspaces/run_gpt35turbo.js} +1 -1
- package/pathways/{run_gpt4.js → system/workspaces/run_gpt4.js} +1 -1
- package/pathways/{run_gpt4_32.js → system/workspaces/run_gpt4_32.js} +1 -1
- package/server/pathwayResolver.js +62 -10
- package/server/plugins/azureCognitivePlugin.js +14 -1
- package/server/plugins/azureVideoTranslatePlugin.js +1 -1
- package/server/plugins/claude3VertexPlugin.js +25 -15
- package/server/plugins/gemini15ChatPlugin.js +1 -1
- package/server/plugins/geminiChatPlugin.js +1 -1
- package/server/plugins/modelPlugin.js +10 -1
- package/server/plugins/openAiChatPlugin.js +4 -3
- package/server/plugins/openAiDallE3Plugin.js +12 -4
- package/server/plugins/openAiVisionPlugin.js +1 -2
- package/server/plugins/replicateApiPlugin.js +75 -17
- package/tests/multimodal_conversion.test.js +6 -8
- package/helper-apps/cortex-autogen/myautogen.py +0 -317
- package/helper-apps/cortex-autogen/prompt.txt +0 -0
- package/helper-apps/cortex-autogen/prompt_summary.txt +0 -37
- package/pathways/index.js +0 -154
- /package/pathways/{sys_openai_completion.js → system/rest_streaming/sys_openai_completion.js} +0 -0
package/pathways/index.js
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import bias from './bias.js';
|
|
2
|
-
import bing from './bing.js';
|
|
3
|
-
import categorize from './categorize.js';
|
|
4
|
-
import chat from './chat.js';
|
|
5
|
-
import chat_code from './chat_code.js';
|
|
6
|
-
import chat_context from './chat_context.js';
|
|
7
|
-
import chat_jarvis from './chat_jarvis.js';
|
|
8
|
-
import chat_persist from './chat_persist.js';
|
|
9
|
-
import code_review from './code_review.js';
|
|
10
|
-
import code_human_input from './code_human_input.js';
|
|
11
|
-
import cognitive_delete from './cognitive_delete.js';
|
|
12
|
-
import cognitive_insert from './cognitive_insert.js';
|
|
13
|
-
import cognitive_search from './cognitive_search.js';
|
|
14
|
-
import complete from './complete.js';
|
|
15
|
-
import edit from './edit.js';
|
|
16
|
-
import embeddings from './embeddings.js';
|
|
17
|
-
import entities from './entities.js';
|
|
18
|
-
import expand_story from './expand_story.js';
|
|
19
|
-
import format_paragraph_turbo from './format_paragraph_turbo.js';
|
|
20
|
-
import gemini_15_vision from './gemini_15_vision.js';
|
|
21
|
-
import gemini_vision from './gemini_vision.js';
|
|
22
|
-
import grammar from './grammar.js';
|
|
23
|
-
import hashtags from './hashtags.js';
|
|
24
|
-
import headline from './headline.js';
|
|
25
|
-
import headline_custom from './headline_custom.js';
|
|
26
|
-
import highlights from './highlights.js';
|
|
27
|
-
import image from './image.js';
|
|
28
|
-
import image_flux from './image_flux.js';
|
|
29
|
-
import image_recraft from './image_recraft.js';
|
|
30
|
-
import jira_story from './jira_story.js';
|
|
31
|
-
import keywords from './keywords.js';
|
|
32
|
-
import language from './language.js';
|
|
33
|
-
import locations from './locations.js';
|
|
34
|
-
import paraphrase from './paraphrase.js';
|
|
35
|
-
import quotes from './quotes.js';
|
|
36
|
-
import rag from './rag.js';
|
|
37
|
-
import rag_jarvis from './rag_jarvis.js';
|
|
38
|
-
import rag_search_helper from './rag_search_helper.js';
|
|
39
|
-
import readme from './readme.js';
|
|
40
|
-
import release_notes from './release_notes.js';
|
|
41
|
-
import remove_content from './remove_content.js';
|
|
42
|
-
import retrieval from './retrieval.js';
|
|
43
|
-
import run_claude3_haiku from './run_claude3_haiku.js';
|
|
44
|
-
import run_claude35_sonnet from './run_claude35_sonnet.js';
|
|
45
|
-
import run_gpt35turbo from './run_gpt35turbo.js';
|
|
46
|
-
import run_gpt4 from './run_gpt4.js';
|
|
47
|
-
import run_gpt4_32 from './run_gpt4_32.js';
|
|
48
|
-
import select_extension from './select_extension.js';
|
|
49
|
-
import select_services from './select_services.js';
|
|
50
|
-
import sentiment from './sentiment.js';
|
|
51
|
-
import spelling from './spelling.js';
|
|
52
|
-
import story_angles from './story_angles.js';
|
|
53
|
-
import styleguide from './styleguide/styleguide.js';
|
|
54
|
-
import styleguidemulti from './styleguidemulti.js';
|
|
55
|
-
import subhead from './subhead.js';
|
|
56
|
-
import summarize_turbo from './summarize_turbo.js';
|
|
57
|
-
import summary from './summary.js';
|
|
58
|
-
import sys_claude_3_haiku from './sys_claude_3_haiku.js';
|
|
59
|
-
import sys_claude_35_sonnet from './sys_claude_35_sonnet.js';
|
|
60
|
-
import sys_google_chat from './sys_google_chat.js';
|
|
61
|
-
import sys_google_code_chat from './sys_google_code_chat.js';
|
|
62
|
-
import sys_google_gemini_chat from './sys_google_gemini_chat.js';
|
|
63
|
-
import sys_openai_chat from './sys_openai_chat.js';
|
|
64
|
-
import sys_openai_chat_16 from './sys_openai_chat_16.js';
|
|
65
|
-
import sys_openai_chat_gpt4 from './sys_openai_chat_gpt4.js';
|
|
66
|
-
import sys_openai_chat_gpt4_32 from './sys_openai_chat_gpt4_32.js';
|
|
67
|
-
import sys_openai_chat_gpt4_turbo from './sys_openai_chat_gpt4_turbo.js';
|
|
68
|
-
import sys_openai_completion from './sys_openai_completion.js';
|
|
69
|
-
import sys_parse_numbered_object_list from './sys_parse_numbered_object_list.js';
|
|
70
|
-
import sys_repair_json from './sys_repair_json.js';
|
|
71
|
-
import tags from './tags.js';
|
|
72
|
-
import taxonomy from './taxonomy.js';
|
|
73
|
-
import timeline from './timeline.js';
|
|
74
|
-
import topics from './topics.js';
|
|
75
|
-
import topics_sentiment from './topics_sentiment.js';
|
|
76
|
-
import transcribe from './transcribe.js';
|
|
77
|
-
import transcribe_neuralspace from './transcribe_neuralspace.js';
|
|
78
|
-
import translate from './translate.js';
|
|
79
|
-
import translate_azure from './translate_azure.js';
|
|
80
|
-
import translate_context from './translate_context.js';
|
|
81
|
-
import translate_gpt4 from './translate_gpt4.js';
|
|
82
|
-
import translate_gpt4_turbo from './translate_gpt4_turbo.js';
|
|
83
|
-
import translate_subtitle from './translate_subtitle.js';
|
|
84
|
-
import translate_subtitle_helper from './translate_subtitle_helper.js';
|
|
85
|
-
import translate_turbo from './translate_turbo.js';
|
|
86
|
-
import vision from './vision.js';
|
|
87
|
-
|
|
88
|
-
export {
|
|
89
|
-
bias,
|
|
90
|
-
bing,
|
|
91
|
-
categorize, chat, chat_code,
|
|
92
|
-
chat_context,
|
|
93
|
-
chat_jarvis,
|
|
94
|
-
chat_persist, code_review,
|
|
95
|
-
code_human_input,
|
|
96
|
-
cognitive_delete,
|
|
97
|
-
cognitive_insert,
|
|
98
|
-
cognitive_search,
|
|
99
|
-
complete,
|
|
100
|
-
edit,
|
|
101
|
-
embeddings,
|
|
102
|
-
entities,
|
|
103
|
-
expand_story,
|
|
104
|
-
format_paragraph_turbo,
|
|
105
|
-
gemini_15_vision,
|
|
106
|
-
gemini_vision,
|
|
107
|
-
grammar,
|
|
108
|
-
hashtags, headline, headline_custom, highlights,
|
|
109
|
-
image,
|
|
110
|
-
image_flux,
|
|
111
|
-
image_recraft,
|
|
112
|
-
jira_story,
|
|
113
|
-
keywords,
|
|
114
|
-
language,
|
|
115
|
-
locations,
|
|
116
|
-
paraphrase,
|
|
117
|
-
quotes, rag, rag_jarvis,
|
|
118
|
-
rag_search_helper, readme,
|
|
119
|
-
release_notes,
|
|
120
|
-
remove_content,
|
|
121
|
-
retrieval,
|
|
122
|
-
run_claude3_haiku,
|
|
123
|
-
run_claude35_sonnet,
|
|
124
|
-
run_gpt35turbo, run_gpt4, run_gpt4_32, select_extension,
|
|
125
|
-
select_services,
|
|
126
|
-
sentiment,
|
|
127
|
-
spelling,
|
|
128
|
-
story_angles,
|
|
129
|
-
styleguide,
|
|
130
|
-
styleguidemulti,
|
|
131
|
-
subhead,
|
|
132
|
-
summarize_turbo,
|
|
133
|
-
summary,
|
|
134
|
-
sys_claude_3_haiku,
|
|
135
|
-
sys_claude_35_sonnet,
|
|
136
|
-
sys_google_chat,
|
|
137
|
-
sys_google_code_chat,
|
|
138
|
-
sys_google_gemini_chat, sys_openai_chat, sys_openai_chat_16, sys_openai_chat_gpt4, sys_openai_chat_gpt4_32,
|
|
139
|
-
sys_openai_completion,
|
|
140
|
-
sys_openai_chat_gpt4_turbo,
|
|
141
|
-
sys_parse_numbered_object_list,
|
|
142
|
-
sys_repair_json,
|
|
143
|
-
tags,
|
|
144
|
-
taxonomy,
|
|
145
|
-
timeline, topics, topics_sentiment, transcribe,
|
|
146
|
-
transcribe_neuralspace,
|
|
147
|
-
translate,
|
|
148
|
-
translate_azure,
|
|
149
|
-
translate_context, translate_gpt4, translate_gpt4_turbo, translate_turbo,
|
|
150
|
-
translate_subtitle,
|
|
151
|
-
translate_subtitle_helper,
|
|
152
|
-
vision
|
|
153
|
-
};
|
|
154
|
-
|
/package/pathways/{sys_openai_completion.js → system/rest_streaming/sys_openai_completion.js}
RENAMED
|
File without changes
|