Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TypeScript to 5.4.3 #886

Merged
merged 5 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion webapi/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"SystemCognitive": "We are building a cognitive architecture and need to extract the various details necessary to serve as the data for simulating a part of our memory system. There will eventually be a lot of these, and we will search over them using the embeddings of the labels and details compared to the new incoming chat requests, so keep that in mind when determining what data to store for this particular type of memory simulation. There are also other types of memory stores for handling different types of memories with differing purposes, levels of detail, and retention, so you don't need to capture everything - just focus on the items needed for {{$memoryName}}. Do not make up or assume information that is not supported by evidence. Perform analysis of the chat history so far and extract the details that you think are important in JSON format: {{$format}}",
"MemoryFormat": "{\"items\": [{\"label\": string, \"details\": string }]}",
"MemoryAntiHallucination": "IMPORTANT: DO NOT INCLUDE ANY OF THE ABOVE INFORMATION IN THE GENERATED RESPONSE AND ALSO DO NOT MAKE UP OR INFER ANY ADDITIONAL INFORMATION THAT IS NOT INCLUDED BELOW. ALSO DO NOT RESPOND IF THE LAST MESSAGE WAS NOT ADDRESSED TO YOU.",
"MemoryContinuation": "Generate a well-formed JSON of extracted context data. DO NOT include a preamble in the response. DO NOT give a list of possible responses. Only provide a single response of the json block.\nResponse:",
"MemoryContinuation": "Generate a well-formed JSON representation of the extracted context data. DO NOT include a preamble in the response. DO NOT give a list of possible responses. Only provide a single response that consists of NOTHING else but valid JSON.\nResponse:",
"WorkingMemoryName": "WorkingMemory", // The name used for the container that stores Working Memory in the Kernel Memory database. This should not be changed once memories are established.
"WorkingMemoryExtraction": "Extract information for a short period of time, such as a few seconds or minutes. It should be useful for performing complex cognitive tasks that require attention, concentration, or mental calculation.",
"LongTermMemoryName": "LongTermMemory", // The name used for the container that stores Long Term Memory in the Kernel Memory database. This should not be changed once memories are established.
Expand Down
2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"prettier": "^3.2.5",
"react-scripts": "^5.0.1",
"serve": "^14.2.1",
"typescript": "5.3.3"
"typescript": "5.4.3"
},
"browserslist": {
"production": [
Expand Down
4 changes: 2 additions & 2 deletions webapp/src/components/chat/prompt-dialog/PromptDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ export const PromptDialog: React.FC<IPromptDialogProps> = ({ message }) => {

// Backend can be configured to return the raw response from Stepwise Planner. In this case, no meta prompt was generated or completed
// and we should show the Stepwise thought process as the raw content view.
if ((prompt as BotResponsePrompt).metaPromptTemplate.length <= 0) {
(prompt as BotResponsePrompt).rawView = (
if (prompt.metaPromptTemplate.length <= 0) {
prompt.rawView = (
<pre className={mergeClasses(dialogClasses.text, classes.text)}>
{JSON.stringify(JSON.parse(details.stepsTaken), null, 2)}
</pre>
Expand Down
8 changes: 4 additions & 4 deletions webapp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10941,10 +10941,10 @@ typedarray-to-buffer@^3.1.5:
dependencies:
is-typedarray "^1.0.0"

typescript@5.3.3:
version "5.3.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37"
integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==
typescript@5.4.3:
version "5.4.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.3.tgz#5c6fedd4c87bee01cd7a528a30145521f8e0feff"
integrity sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==

unbox-primitive@^1.0.2:
version "1.0.2"
Expand Down
Loading