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

Improvements to Context Injection #1233

Merged
merged 12 commits into from
Aug 4, 2024
Merged

Improvements to Context Injection #1233

merged 12 commits into from
Aug 4, 2024

Conversation

Josh-XT
Copy link
Owner

@Josh-XT Josh-XT commented Aug 4, 2024

Improvements to Context Injection

  • Reordered the context to keep the most important information closer to the bottom of the prompt for improved performance.
  • If a persona is defined in the agent's settings, it will now be injected into anywhere {context} is called. This field can be used to provide additional behavioral guidelines to the system prompt.
  • Conversation history is automatically injected any time {context} is used now.
  • Improved Spreadsheet uploads. CSVs were splitting up by column instead of by row into JSON which was not the intended behavior. The intended behavior was to create a JSON object per record. This has been corrected in this update as well as fixing an XLSX upload bug.

@Josh-XT Josh-XT marked this pull request as ready for review August 4, 2024 11:54
@Josh-XT Josh-XT changed the title Add Persona to context, Improved spreadsheet uploads Improvements to Context Injection Aug 4, 2024
@Josh-XT Josh-XT merged commit d1dabf9 into main Aug 4, 2024
8 checks passed
@Josh-XT Josh-XT deleted the Add-persona-to-context branch August 4, 2024 21:46
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.

1 participant