refactor: summarize error message without line number

This commit is contained in:
Florian Hönicke
2023-06-04 19:12:01 +02:00
parent 67736e1db3
commit a95ea40cea
3 changed files with 3 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ LANGUAGE_PACKAGES = [
'allennlp', 'bertopic', 'gpt-3', 'fasttext', 'flair', 'gensim', 'nltk', 'openai',
'pattern', 'polyglot', 'pytorch-transformers', 'rasa', 'sentence-transformers',
'spacy', 'stanza', 'summarizer', 'sumy', 'textblob', 'textstat', 'transformers',
'vadersentiment'
'vadersentiment', 'language-tool-python'
]
SEARCH_PACKAGES = [

View File

@@ -12,6 +12,7 @@ def auto_refine_description(context):
identity_parser,
context_string=context_to_string(context)
)
context['request_schema'] = ask_gpt(
generate_request_schema_prompt,
optional_tripple_back_tick_parser,