You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dxtrous
changed the title
Code clean-up: string template elements repeated across code locations
Code clean-up: prompt template string elements repeated across code locations
Mar 29, 2024
Is your feature request related to a problem? Please describe.
The following lines of code:
https://github.com/pathwaycom/pathway/blob/main/python/pathway/xpacks/llm/prompts.py#L121
https://github.com/pathwaycom/pathway/blob/main/python/pathway/xpacks/llm/question_answering.py#L15
https://github.com/pathwaycom/pathway/blob/main/python/pathway/xpacks/llm/prompts.py#L35
define string constants representing no-answer-found in separate ways. I am wondering if there is a purpose in having a default argument value which is overridden by its primary wrapper.
Describe the solution you'd like
This could merit clean-up.
Describe alternatives you've considered
Leave as is.
Additional context
N/A
The text was updated successfully, but these errors were encountered: