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

feat: change implementation of basic_input_output to built-in parser #10

Merged
merged 6 commits into from
Nov 22, 2023

Conversation

SuZhou-Joe
Copy link
Member

Description

Describe what this change achieves.

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

let finalMessages: IMessage[] = [];
for (const interaction of allInteractions) {
finalMessages = [...finalMessages, ...(await messageParserRunner.run(interaction))];
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i thought agent framework will provide a field in the memory to store parsed messages, or the parsing will happen in some opensearch plugin, instead of parsing every time on session load?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually agent framework thought messages are a Frontend concept, and different Frontend integration may parse interaction into different messages. So they will only store the interactions and for messages, yes, they will be built every time.

@SuZhou-Joe SuZhou-Joe force-pushed the feature/build-output-message branch from 477459f to 73f4631 Compare November 22, 2023 07:51
@SuZhou-Joe SuZhou-Joe changed the base branch from feature/add-builder-registration to feature/agent-framework November 22, 2023 08:43
@SuZhou-Joe SuZhou-Joe merged commit 48366d7 into feature/agent-framework Nov 22, 2023
13 checks passed
SuZhou-Joe added a commit that referenced this pull request Nov 23, 2023
…10)

* feat: change implementation of basic_input_output to built-in parser

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: update CHANGELOG

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: enable build input-output message

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: sort interactions

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove useless code

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: use parent_interaction_id as traceId

Signed-off-by: SuZhou-Joe <[email protected]>

---------

Signed-off-by: SuZhou-Joe <[email protected]>
@SuZhou-Joe SuZhou-Joe deleted the feature/build-output-message branch December 1, 2023 03:14
SuZhou-Joe added a commit that referenced this pull request Dec 1, 2023
…10)

* feat: change implementation of basic_input_output to built-in parser

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: update CHANGELOG

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: enable build input-output message

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: sort interactions

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove useless code

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: use parent_interaction_id as traceId

Signed-off-by: SuZhou-Joe <[email protected]>

---------

Signed-off-by: SuZhou-Joe <[email protected]>
SuZhou-Joe added a commit that referenced this pull request Dec 5, 2023
…10)

* feat: change implementation of basic_input_output to built-in parser

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: update CHANGELOG

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: enable build input-output message

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: sort interactions

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove useless code

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: use parent_interaction_id as traceId

Signed-off-by: SuZhou-Joe <[email protected]>

---------

Signed-off-by: SuZhou-Joe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants