@aj-archipelago/cortex 1.2.0 → 1.3.0

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.
Files changed (81) hide show
  1. package/config.js +47 -11
  2. package/helper-apps/cortex-autogen/OAI_CONFIG_LIST +2 -1
  3. package/helper-apps/cortex-autogen/agents.py +387 -0
  4. package/helper-apps/cortex-autogen/agents_extra.py +14 -0
  5. package/helper-apps/cortex-autogen/config.py +18 -0
  6. package/helper-apps/cortex-autogen/data_operations.py +29 -0
  7. package/helper-apps/cortex-autogen/function_app.py +6 -3
  8. package/helper-apps/cortex-autogen/main.py +4 -4
  9. package/helper-apps/cortex-autogen/prompts.py +196 -0
  10. package/helper-apps/cortex-autogen/prompts_extra.py +5 -0
  11. package/helper-apps/cortex-autogen/requirements.txt +2 -1
  12. package/helper-apps/cortex-autogen/search.py +83 -0
  13. package/helper-apps/cortex-autogen/test.sh +40 -0
  14. package/helper-apps/cortex-autogen/utils.py +78 -0
  15. package/lib/handleBars.js +25 -0
  16. package/lib/logger.js +2 -0
  17. package/lib/util.js +3 -1
  18. package/package.json +1 -1
  19. package/pathways/chat_code.js +1 -1
  20. package/pathways/chat_context.js +1 -1
  21. package/pathways/chat_jarvis.js +1 -1
  22. package/pathways/chat_persist.js +1 -1
  23. package/pathways/chat_title.js +25 -0
  24. package/pathways/{flux_image.js → image_flux.js} +6 -2
  25. package/pathways/image_recraft.js +10 -0
  26. package/pathways/rag.js +1 -1
  27. package/pathways/rag_jarvis.js +1 -1
  28. package/pathways/rag_search_helper.js +1 -1
  29. package/pathways/system/entity/memory/sys_memory_manager.js +71 -0
  30. package/pathways/system/entity/memory/sys_memory_required.js +21 -0
  31. package/pathways/system/entity/memory/sys_memory_update.js +190 -0
  32. package/pathways/system/entity/memory/sys_read_memory.js +37 -0
  33. package/pathways/system/entity/memory/sys_save_memory.js +60 -0
  34. package/pathways/system/entity/shared/sys_entity_constants.js +24 -0
  35. package/pathways/system/entity/sys_entity_continue.js +57 -0
  36. package/pathways/system/entity/sys_entity_start.js +218 -0
  37. package/pathways/system/entity/sys_generator_error.js +20 -0
  38. package/pathways/system/entity/sys_generator_expert.js +26 -0
  39. package/pathways/system/entity/sys_generator_image.js +127 -0
  40. package/pathways/system/entity/sys_generator_quick.js +19 -0
  41. package/pathways/system/entity/sys_generator_reasoning.js +27 -0
  42. package/pathways/system/entity/sys_generator_results.js +304 -0
  43. package/pathways/system/entity/sys_generator_video_vision.js +27 -0
  44. package/pathways/system/entity/sys_image_prompt_builder.js +35 -0
  45. package/pathways/system/entity/sys_query_builder.js +101 -0
  46. package/pathways/system/entity/sys_router_code.js +37 -0
  47. package/pathways/system/entity/sys_router_tool.js +64 -0
  48. package/pathways/{sys_claude_35_sonnet.js → system/rest_streaming/sys_claude_35_sonnet.js} +1 -1
  49. package/pathways/{sys_claude_3_haiku.js → system/rest_streaming/sys_claude_3_haiku.js} +1 -1
  50. package/pathways/{sys_google_chat.js → system/rest_streaming/sys_google_chat.js} +1 -1
  51. package/pathways/{sys_google_code_chat.js → system/rest_streaming/sys_google_code_chat.js} +1 -1
  52. package/pathways/{sys_google_gemini_chat.js → system/rest_streaming/sys_google_gemini_chat.js} +1 -1
  53. package/pathways/{sys_openai_chat.js → system/rest_streaming/sys_openai_chat.js} +1 -1
  54. package/pathways/{sys_openai_chat_16.js → system/rest_streaming/sys_openai_chat_16.js} +1 -1
  55. package/pathways/{sys_openai_chat_gpt4.js → system/rest_streaming/sys_openai_chat_gpt4.js} +1 -1
  56. package/pathways/{sys_openai_chat_gpt4_32.js → system/rest_streaming/sys_openai_chat_gpt4_32.js} +1 -1
  57. package/pathways/{sys_openai_chat_gpt4_turbo.js → system/rest_streaming/sys_openai_chat_gpt4_turbo.js} +1 -1
  58. package/pathways/{sys_parse_numbered_object_list.js → system/sys_parse_numbered_object_list.js} +2 -2
  59. package/pathways/{sys_repair_json.js → system/sys_repair_json.js} +1 -1
  60. package/pathways/{run_claude35_sonnet.js → system/workspaces/run_claude35_sonnet.js} +1 -1
  61. package/pathways/{run_claude3_haiku.js → system/workspaces/run_claude3_haiku.js} +1 -1
  62. package/pathways/{run_gpt35turbo.js → system/workspaces/run_gpt35turbo.js} +1 -1
  63. package/pathways/{run_gpt4.js → system/workspaces/run_gpt4.js} +1 -1
  64. package/pathways/{run_gpt4_32.js → system/workspaces/run_gpt4_32.js} +1 -1
  65. package/server/parser.js +6 -1
  66. package/server/pathwayResolver.js +62 -10
  67. package/server/plugins/azureCognitivePlugin.js +14 -1
  68. package/server/plugins/claude3VertexPlugin.js +25 -15
  69. package/server/plugins/gemini15ChatPlugin.js +1 -1
  70. package/server/plugins/geminiChatPlugin.js +1 -1
  71. package/server/plugins/modelPlugin.js +10 -1
  72. package/server/plugins/openAiChatPlugin.js +4 -3
  73. package/server/plugins/openAiDallE3Plugin.js +12 -4
  74. package/server/plugins/openAiVisionPlugin.js +1 -2
  75. package/server/plugins/replicateApiPlugin.js +46 -12
  76. package/tests/multimodal_conversion.test.js +6 -8
  77. package/helper-apps/cortex-autogen/myautogen.py +0 -317
  78. package/helper-apps/cortex-autogen/prompt.txt +0 -0
  79. package/helper-apps/cortex-autogen/prompt_summary.txt +0 -37
  80. package/pathways/index.js +0 -152
  81. /package/pathways/{sys_openai_completion.js → system/rest_streaming/sys_openai_completion.js} +0 -0
@@ -1,317 +0,0 @@
1
- import azure.functions as func
2
- import logging
3
- import json
4
- import autogen
5
- from autogen import AssistantAgent, UserProxyAgent, config_list_from_json, register_function
6
- from azure.storage.queue import QueueClient
7
- import os
8
- import tempfile
9
- import redis
10
- from dotenv import load_dotenv
11
- import requests
12
- import pathlib
13
- import pymongo
14
- import logging
15
- from datetime import datetime, timezone, timedelta
16
- import shutil
17
- import time
18
- import base64
19
- import zipfile
20
- from azure.storage.blob import BlobServiceClient, generate_blob_sas, BlobSasPermissions
21
-
22
- load_dotenv()
23
-
24
- connection_string = os.environ["AZURE_STORAGE_CONNECTION_STRING"]
25
- human_input_queue_name = os.environ.get("HUMAN_INPUT_QUEUE_NAME", "autogen-human-input-queue")
26
- human_input_queue_client = QueueClient.from_connection_string(connection_string, human_input_queue_name)
27
-
28
- def check_for_human_input(request_id):
29
- messages = human_input_queue_client.receive_messages()
30
- for message in messages:
31
- content = json.loads(base64.b64decode(message.content).decode('utf-8'))
32
- if content['codeRequestId'] == request_id:
33
- human_input_queue_client.delete_message(message)
34
- return content['text']
35
- return None
36
-
37
- DEFAULT_SUMMARY_PROMPT = "Summarize the takeaway from the conversation. Do not add any introductory phrases."
38
- try:
39
- with open("prompt_summary.txt", "r") as file:
40
- summary_prompt = file.read() or DEFAULT_SUMMARY_PROMPT
41
- except FileNotFoundError:
42
- summary_prompt = DEFAULT_SUMMARY_PROMPT
43
-
44
-
45
- def store_in_mongo(data):
46
- try:
47
- if 'MONGO_URI' in os.environ:
48
- client = pymongo.MongoClient(os.environ['MONGO_URI'])
49
- collection = client.get_default_database()[os.environ.get('MONGO_COLLECTION_NAME', 'autogenruns')]
50
- collection.insert_one(data)
51
- else:
52
- logging.warning("MONGO_URI not found in environment variables")
53
- except Exception as e:
54
- logging.error(f"An error occurred while storing data in MongoDB: {str(e)}")
55
-
56
- redis_client = redis.from_url(os.environ['REDIS_CONNECTION_STRING'])
57
- channel = 'requestProgress'
58
-
59
- def connect_redis():
60
- if not redis_client.ping():
61
- try:
62
- redis_client.ping()
63
- except redis.ConnectionError as e:
64
- logging.error(f"Error reconnecting to Redis: {e}")
65
- return False
66
- return True
67
-
68
- def publish_request_progress(data):
69
- if connect_redis():
70
- try:
71
- message = json.dumps(data)
72
- #logging.info(f"Publishing message {message} to channel {channel}")
73
- redis_client.publish(channel, message)
74
- except Exception as e:
75
- logging.error(f"Error publishing message: {e}")
76
-
77
-
78
- def get_given_system_message():
79
- env_context = os.environ.get("ENV_SYSTEM_MESSAGE_CONTEXT")
80
-
81
- if not env_context:
82
- return read_local_file("prompt.txt")
83
-
84
- if env_context.startswith(("http://", "https://")):
85
- return fetch_from_url(env_context)
86
-
87
- if pathlib.Path(env_context).suffix:
88
- return read_local_file(env_context)
89
-
90
- return env_context
91
-
92
- def read_local_file(filename):
93
- try:
94
- with open(filename, "r") as file:
95
- return file.read()
96
- except FileNotFoundError:
97
- logging.error(f"{filename} not found")
98
- return ""
99
-
100
- def fetch_from_url(url):
101
- try:
102
- response = requests.get(url)
103
- response.raise_for_status()
104
- return response.text
105
- except requests.RequestException as e:
106
- logging.error(f"Error fetching from URL: {e}")
107
- return ""
108
-
109
-
110
- def zip_and_upload_tmp_folder(temp_dir):
111
- zip_path = os.path.join(temp_dir, "tmp_contents.zip")
112
- with zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED) as zipf:
113
- for root, _, files in os.walk(temp_dir):
114
- for file in files:
115
- file_path = os.path.join(root, file)
116
- arcname = os.path.relpath(file_path, temp_dir)
117
- zipf.write(file_path, arcname)
118
-
119
- blob_service_client = BlobServiceClient.from_connection_string(os.environ["AZURE_STORAGE_CONNECTION_STRING"])
120
- container_name = os.environ.get("AZURE_BLOB_CONTAINER", "autogen-uploads")
121
- blob_name = f"tmp_contents_{datetime.now(timezone.utc).strftime('%Y%m%d%H%M%S')}.zip"
122
- blob_client = blob_service_client.get_blob_client(container=container_name, blob=blob_name)
123
-
124
- with open(zip_path, "rb") as data:
125
- blob_client.upload_blob(data)
126
-
127
- account_key = blob_service_client.credential.account_key
128
- account_name = blob_service_client.account_name
129
- expiry = datetime.now(timezone.utc) + timedelta(hours=1)
130
-
131
- sas_token = generate_blob_sas(
132
- account_name,
133
- container_name,
134
- blob_name,
135
- account_key=account_key,
136
- permission=BlobSasPermissions(read=True),
137
- expiry=expiry
138
- )
139
-
140
- return f"{blob_client.url}?{sas_token}"
141
-
142
- def process_message(message_data, original_request_message):
143
- # logging.info(f"Processing Message: {message_data}")
144
- try:
145
- started_at = datetime.now()
146
- message = message_data['message']
147
- request_id = message_data.get('requestId') or msg.id
148
-
149
- config_list = config_list_from_json(env_or_file="OAI_CONFIG_LIST")
150
- base_url = os.environ.get("CORTEX_API_BASE_URL")
151
- api_key = os.environ.get("CORTEX_API_KEY")
152
- llm_config = {"config_list": config_list, "base_url": base_url, "api_key": api_key, "cache_seed": None, "timeout": 600}
153
-
154
- with tempfile.TemporaryDirectory() as temp_dir:
155
- #copy /tools directory to temp_dir
156
- shutil.copytree(os.path.join(os.getcwd(), "tools"), temp_dir, dirs_exist_ok=True)
157
-
158
- code_executor = autogen.coding.LocalCommandLineCodeExecutor(work_dir=temp_dir)
159
-
160
- message_count = 0
161
- total_messages = 20 * 2
162
- all_messages = []
163
-
164
- terminate_count = 0
165
- def is_termination_msg(m):
166
- nonlocal terminate_count
167
- content = m.get("content", "").strip()
168
- if not content:
169
- return False
170
- if content.rstrip().endswith("TERMINATE"):
171
- terminate_count += 1
172
- return terminate_count >= 3 or "first message must use the" in content.lower()
173
-
174
- system_message_given = get_given_system_message()
175
- system_message_assistant = AssistantAgent.DEFAULT_SYSTEM_MESSAGE
176
-
177
- if system_message_given:
178
- system_message_assistant = system_message_given
179
- else:
180
- print("No extra system message given for assistant")
181
-
182
- assistant = AssistantAgent("assistant",
183
- llm_config=llm_config,
184
- system_message=system_message_assistant,
185
- # code_execution_config={"executor": code_executor},
186
- is_termination_msg=is_termination_msg,
187
- )
188
-
189
- user_proxy = UserProxyAgent(
190
- "user_proxy",
191
- # llm_config=llm_config,
192
- system_message=system_message_given,
193
- code_execution_config={"executor": code_executor},
194
- human_input_mode="NEVER",
195
- max_consecutive_auto_reply=20,
196
- is_termination_msg=is_termination_msg,
197
- )
198
-
199
- # description = "Upload a file to Azure Blob Storage and get URL back with a SAS token. Requires AZURE_STORAGE_CONNECTION_STRING and AZURE_BLOB_CONTAINER environment variables. Input: file_path (str). Output: SAS URL (str) or error message."
200
-
201
- # register_function(
202
- # autogen_sas_uploader,
203
- # caller=assistant,
204
- # executor=user_proxy,
205
- # name="autogen_sas_uploader",
206
- # description=description,
207
- # )
208
-
209
- # register_function(
210
- # autogen_sas_uploader,
211
- # caller=user_proxy,
212
- # executor=assistant,
213
- # name="autogen_sas_uploader",
214
- # description=description,
215
- # )
216
-
217
- original_assistant_send = assistant.send
218
- original_user_proxy_send = user_proxy.send
219
-
220
- def logged_send(sender, original_send, message, recipient, request_reply=None, silent=True):
221
- nonlocal message_count, all_messages
222
- if not message:
223
- return
224
-
225
- if True or sender.name == "user_proxy":
226
- human_input = check_for_human_input(request_id)
227
- if human_input:
228
- if human_input == "TERMINATE":
229
- logging.info("Terminating conversation")
230
- raise Exception("Conversation terminated by user")
231
- elif human_input == "PAUSE":
232
- logging.info("Pausing conversation")
233
- pause_start = time.time()
234
- while time.time() - pause_start < 60*15: # 15 minutes pause timeout
235
- time.sleep(10)
236
- new_input = check_for_human_input(request_id)
237
- if new_input:
238
- logging.info(f"Resuming conversation with human input: {new_input}")
239
- return logged_send(sender, original_send, new_input, recipient, request_reply, silent)
240
- logging.info("Pause timeout, ending conversation")
241
- raise Exception("Conversation ended due to pause timeout")
242
- logging.info(f"Human input to {recipient.name}: {human_input}")
243
- return original_send(human_input, recipient, request_reply, silent)
244
-
245
-
246
- logging.info(f"Message from {sender.name} to {recipient.name}: {message}")
247
-
248
- message_count += 1
249
- progress = min(message_count / total_messages, 1)
250
- all_messages.append({"sender": sender.name, "message": message})
251
-
252
- # if sender.name == "assistant":
253
- publish_request_progress({
254
- "requestId": request_id,
255
- "progress": progress,
256
- "info": message
257
- })
258
- return original_send(message, recipient, request_reply, silent)
259
-
260
- assistant.send = lambda message, recipient, request_reply=None, silent=False: logged_send(assistant, original_assistant_send, message, recipient, request_reply, silent)
261
- user_proxy.send = lambda message, recipient, request_reply=None, silent=False: logged_send(user_proxy, original_user_proxy_send, message, recipient, request_reply, silent)
262
-
263
- #summary_method="reflection_with_llm", "last_msg"
264
- chat_result = user_proxy.initiate_chat(assistant, message=message, summary_method="reflection_with_llm", summary_args={"summary_role": "user", "summary_prompt": summary_prompt})
265
-
266
-
267
- zip_url = zip_and_upload_tmp_folder(temp_dir)
268
-
269
- msg = ""
270
- try:
271
- msg = all_messages[-1 if all_messages[-2]["message"] else -3]["message"]
272
- logging.info(f"####Final message: {msg}")
273
- except Exception as e:
274
- logging.error(f"Error getting final message: {e}")
275
- msg = f"Finished, with errors 🤖 ... {e}"
276
-
277
- msg = chat_result.summary if chat_result.summary else msg
278
- msg += f"\n\n[Download all files of this task]({zip_url})"
279
-
280
- finalData = {
281
- "requestId": request_id,
282
- "requestMessage": message_data.get("message"),
283
- "progress": 1,
284
- "data": msg,
285
- "contextId": message_data.get("contextId"),
286
- "conversation": all_messages,
287
- "createdAt": datetime.now(timezone.utc).isoformat(),
288
- "insertionTime": original_request_message.insertion_time.astimezone(timezone.utc).isoformat() if original_request_message else None,
289
- "startedAt": started_at.astimezone(timezone.utc).isoformat(),
290
- }
291
-
292
- # Final message to indicate completion
293
- publish_request_progress(finalData)
294
- store_in_mongo(finalData)
295
-
296
- except Exception as e:
297
- logging.error(f"Error processing message: {str(e)}")
298
- if request_id:
299
- publish_request_progress({
300
- "requestId": request_id,
301
- "progress": 1,
302
- "error": str(e),
303
- "data": str(e),
304
- })
305
- store_in_mongo({
306
- "requestId": request_id,
307
- "requestMessage": message_data.get("message"),
308
- "progress": 1,
309
- "error": str(e),
310
- "data": str(e),
311
- "contextId": message_data.get("contextId"),
312
- "conversation": all_messages,
313
- "createdAt": datetime.now(timezone.utc).isoformat(),
314
- "insertionTime": original_request_message.insertion_time.astimezone(timezone.utc).isoformat() if original_request_message else None,
315
- "startedAt": started_at.astimezone(timezone.utc).isoformat(),
316
- })
317
-
File without changes
@@ -1,37 +0,0 @@
1
- Provide a detailed summary of the conversation, including key points, decisions, and action items, and so on.
2
- Do not add any introductory phrases.
3
- Avoid expressing gratitude or using pleasantries.
4
- Maintain a professional and direct tone throughout responses.
5
- Include most recent meaningful messages from the conversation in the summary.
6
- You must include all your uploaded URLs, and url of your uploaded final code URL.
7
- Your reply will be only thing that finally gets to surface so make sure it is complete.
8
- Do not mention words like "Summary of the conversation", "Response", "Task", "The conversation" or so as it doesn't makes sense.
9
- Also no need for "Request", user already know its request and task.
10
- Be as detailed as possible without being annoying.
11
- Start with the result as that is the most important part, do not mention "Result" as user already know its result.
12
- No need to say information about generated SAS urls just include them, only include the latest versions of same file.
13
- No need to say none of this as user already 'll be aware as has got the result:
14
- - Code executed successfully, producing correct result ...
15
- - File uploaded to Azure Blob Storage with unique timestamp ...
16
- - SAS URL generated for file access, valid for ...
17
- - File accessibility verified ...
18
- - Code execution details ...
19
- - Current date and time ...
20
- - Script executed twice due to debugging environment ...
21
- - Verification code ...
22
- - Issues encountered and resolved: ...
23
- - The original plan ...
24
- - Performed at ...
25
-
26
- No need to mention about code files uploaded to Azure Blob or point URLs as SAS-URLS as its a task that you already do and is known.
27
- No need to mention SAS URL, just give the url itself.
28
- Never include TERMINATE in your response.
29
-
30
- When formulating your responses, it's crucial to leverage the full capabilities of markdown formatting to create rich, visually appealing content. This approach not only enhances the user experience but also allows for more effective communication of complex ideas. Follow these guidelines to ensure your responses are both informative and visually engaging, create responses that are not only informative but also visually appealing and easy to comprehend:
31
- - For images: ![Alt Text](IMAGE_URL) and <img src="IMAGE_URL" alt="Alt Text">
32
- - For videos: <video src="VIDEO_URL" controls></video>
33
- - For urls: [Link Text](URL)
34
- If there an image url, you must always include it as url and markdown e.g.: ![Alt Text](IMAGE_URL) and [Alt Text](IMAGE_URL)
35
-
36
-
37
- Make sure to present it nicely so human finds it appealing.
package/pathways/index.js DELETED
@@ -1,152 +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 flux_image from './flux_image.js';
20
- import format_paragraph_turbo from './format_paragraph_turbo.js';
21
- import gemini_15_vision from './gemini_15_vision.js';
22
- import gemini_vision from './gemini_vision.js';
23
- import grammar from './grammar.js';
24
- import hashtags from './hashtags.js';
25
- import headline from './headline.js';
26
- import headline_custom from './headline_custom.js';
27
- import highlights from './highlights.js';
28
- import image from './image.js';
29
- import jira_story from './jira_story.js';
30
- import keywords from './keywords.js';
31
- import language from './language.js';
32
- import locations from './locations.js';
33
- import paraphrase from './paraphrase.js';
34
- import quotes from './quotes.js';
35
- import rag from './rag.js';
36
- import rag_jarvis from './rag_jarvis.js';
37
- import rag_search_helper from './rag_search_helper.js';
38
- import readme from './readme.js';
39
- import release_notes from './release_notes.js';
40
- import remove_content from './remove_content.js';
41
- import retrieval from './retrieval.js';
42
- import run_claude3_haiku from './run_claude3_haiku.js';
43
- import run_claude35_sonnet from './run_claude35_sonnet.js';
44
- import run_gpt35turbo from './run_gpt35turbo.js';
45
- import run_gpt4 from './run_gpt4.js';
46
- import run_gpt4_32 from './run_gpt4_32.js';
47
- import select_extension from './select_extension.js';
48
- import select_services from './select_services.js';
49
- import sentiment from './sentiment.js';
50
- import spelling from './spelling.js';
51
- import story_angles from './story_angles.js';
52
- import styleguide from './styleguide/styleguide.js';
53
- import styleguidemulti from './styleguidemulti.js';
54
- import subhead from './subhead.js';
55
- import summarize_turbo from './summarize_turbo.js';
56
- import summary from './summary.js';
57
- import sys_claude_3_haiku from './sys_claude_3_haiku.js';
58
- import sys_claude_35_sonnet from './sys_claude_35_sonnet.js';
59
- import sys_google_chat from './sys_google_chat.js';
60
- import sys_google_code_chat from './sys_google_code_chat.js';
61
- import sys_google_gemini_chat from './sys_google_gemini_chat.js';
62
- import sys_openai_chat from './sys_openai_chat.js';
63
- import sys_openai_chat_16 from './sys_openai_chat_16.js';
64
- import sys_openai_chat_gpt4 from './sys_openai_chat_gpt4.js';
65
- import sys_openai_chat_gpt4_32 from './sys_openai_chat_gpt4_32.js';
66
- import sys_openai_chat_gpt4_turbo from './sys_openai_chat_gpt4_turbo.js';
67
- import sys_openai_completion from './sys_openai_completion.js';
68
- import sys_parse_numbered_object_list from './sys_parse_numbered_object_list.js';
69
- import sys_repair_json from './sys_repair_json.js';
70
- import tags from './tags.js';
71
- import taxonomy from './taxonomy.js';
72
- import timeline from './timeline.js';
73
- import topics from './topics.js';
74
- import topics_sentiment from './topics_sentiment.js';
75
- import transcribe from './transcribe.js';
76
- import transcribe_neuralspace from './transcribe_neuralspace.js';
77
- import translate from './translate.js';
78
- import translate_azure from './translate_azure.js';
79
- import translate_context from './translate_context.js';
80
- import translate_gpt4 from './translate_gpt4.js';
81
- import translate_gpt4_turbo from './translate_gpt4_turbo.js';
82
- import translate_subtitle from './translate_subtitle.js';
83
- import translate_subtitle_helper from './translate_subtitle_helper.js';
84
- import translate_turbo from './translate_turbo.js';
85
- import vision from './vision.js';
86
-
87
- export {
88
- bias,
89
- bing,
90
- categorize, chat, chat_code,
91
- chat_context,
92
- chat_jarvis,
93
- chat_persist, code_review,
94
- code_human_input,
95
- cognitive_delete,
96
- cognitive_insert,
97
- cognitive_search,
98
- complete,
99
- edit,
100
- embeddings,
101
- entities,
102
- expand_story,
103
- flux_image,
104
- format_paragraph_turbo,
105
- gemini_15_vision,
106
- gemini_vision,
107
- grammar,
108
- hashtags, headline, headline_custom, highlights,
109
- image,
110
- jira_story,
111
- keywords,
112
- language,
113
- locations,
114
- paraphrase,
115
- quotes, rag, rag_jarvis,
116
- rag_search_helper, readme,
117
- release_notes,
118
- remove_content,
119
- retrieval,
120
- run_claude3_haiku,
121
- run_claude35_sonnet,
122
- run_gpt35turbo, run_gpt4, run_gpt4_32, select_extension,
123
- select_services,
124
- sentiment,
125
- spelling,
126
- story_angles,
127
- styleguide,
128
- styleguidemulti,
129
- subhead,
130
- summarize_turbo,
131
- summary,
132
- sys_claude_3_haiku,
133
- sys_claude_35_sonnet,
134
- sys_google_chat,
135
- sys_google_code_chat,
136
- sys_google_gemini_chat, sys_openai_chat, sys_openai_chat_16, sys_openai_chat_gpt4, sys_openai_chat_gpt4_32,
137
- sys_openai_completion,
138
- sys_openai_chat_gpt4_turbo,
139
- sys_parse_numbered_object_list,
140
- sys_repair_json,
141
- tags,
142
- taxonomy,
143
- timeline, topics, topics_sentiment, transcribe,
144
- transcribe_neuralspace,
145
- translate,
146
- translate_azure,
147
- translate_context, translate_gpt4, translate_gpt4_turbo, translate_turbo,
148
- translate_subtitle,
149
- translate_subtitle_helper,
150
- vision
151
- };
152
-