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

job chat: sometimes users alterState despite the prompt saying not to #159

Open
josephjclark opened this issue Jan 24, 2025 · 1 comment

Comments

@josephjclark
Copy link
Collaborator

What can we do if a prompt includes explicit instructions and the model just ignores us? 🤷

In response to I want to start a DHIS2 to DHIS2 integration job:

We get this (among other things):

// Configuration for destination DHIS2 instance
alterState(state => ({
  ...state,
  configuration: {
    username: 'destination_username',
    password: 'destination_password',
    baseUrl: 'https://destination.dhis2.org/api'
  }
}));

@josephjclark
Copy link
Collaborator Author

One thing we might do here is add some automation in the assistant: if the response includes alterState, we either string replace it with fn, or we send it back to the model and ask it to try again

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

No branches or pull requests

1 participant