Skip to content

Conversation

SeanLee97
Copy link
Contributor

The prompt variables are obtained in real-time when calling the fit function in the previous implementation. It might be inefficient because the fit() tends to be called multiple times in handling various sentences. Caching the prompt variables in a hashmap can curtail the overhead.

@SeanLee97
Copy link
Contributor Author

Screen Shot 2023-02-22 at 23 25 37

Test case passed

@monk1337 monk1337 added enhancement New feature or request prompter issue related to prompter labels Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request prompter issue related to prompter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants