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

Create a configcat kind of feature flag but directly from the repo, using a JSON file #323

Closed
josancamon19 opened this issue Jun 21, 2024 · 1 comment
Assignees
Labels
flutter flutter work task

Comments

@josancamon19
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Create a config.json file in repo so we do a version of configcat/firebase remote config, but directly from the repo, and consume those configuration variables from there.

Describe the solution you'd like
There should be a config.json in the main repo path, and this should include all prompts from prompts.dart in a "template" way,

Based on the following recording transcript of a conversation, provide structure and clarity to the memory in JSON according rules stated below.
The conversation language is $languageCode. Make sure to use English for your response.

${forceProcess ? "" : "It is possible that the conversation is not worth storing, there are no interesting topics, facts, or information, in that case, output an empty title, overview, and action items."}
    
For the title, use the main topic of the conversation.
For the overview, use a brief overview of the conversation.
For the action items, include a list of commitments, scheduled events, specific tasks or actionable steps.
For the category, classify the conversation into one of the available categories.
        
Here is the transcript ```$transcript```.
    
The output should be formatted as a JSON instance that conforms to the JSON schema below.

This config should be retrieved on main.dart, and stored in preferences.

should be in the JSON file in a way we could do .replaceAll and set the proper variables, so we can change the repo, and users will receive the updates.

Describe alternatives you've considered
Config cat/firebase, but this is better.

@josancamon19
Copy link
Contributor Author

Closing for now, not needed with backend.

@josancamon19 josancamon19 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flutter flutter work task
Projects
Status: Done
Development

No branches or pull requests

1 participant