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

.Net Agents - History for Prompt Based Strategies being Encoded #8898

Open
crickman opened this issue Sep 18, 2024 · 1 comment · May be fixed by #8913
Open

.Net Agents - History for Prompt Based Strategies being Encoded #8898

crickman opened this issue Sep 18, 2024 · 1 comment · May be fixed by #8913
Assignees
Labels
agents bug Something isn't working experimental Associated with an experimental feature .NET Issue or Pull requests regarding .NET code sk team issue A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)

Comments

@crickman
Copy link
Contributor

Encoded history results in significantly more token usage and can also obscure debugging or diagnostics.

Embedding JSON within a plain text file shoudn't require encoding.

Investigate how this occurring and simplify.

History:
[{"Role":{"Label":"assistant"},"Items":[{"$type":"TextContent","Text":"Hello! How can I help you today?"}]},{"Role":{"Label":"user"},"Items":[{"$type":"TextContent","Text":"I want to upload a file"}]}]
@crickman crickman added .NET Issue or Pull requests regarding .NET code agents bug Something isn't working experimental Associated with an experimental feature triage labels Sep 18, 2024
@crickman crickman self-assigned this Sep 18, 2024
@evchaki evchaki added sk team issue A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community) and removed triage labels Sep 18, 2024
@dotnetprofessional
Copy link

I'm running into this issue. Its a waste of tokens and at present we can't control the history making it worse. So this needs addressing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agents bug Something isn't working experimental Associated with an experimental feature .NET Issue or Pull requests regarding .NET code sk team issue A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
Projects
Status: Sprint: In Review
Development

Successfully merging a pull request may close this issue.

3 participants