Skip to content

Commit 384482a

Browse files
committed
#75 streamline information
1 parent 56e30dd commit 384482a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

twf/forms/documents/documents_forms_batches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class DocumentBatchOpenAIForm(BaseAIBatchForm):
1010

1111
def get_button_label(self):
1212
"""Get the label for the submit button."""
13-
return 'Run OpenAI Project Batch'
13+
return 'Run ChatGPT Batch'
1414

1515

1616
class DocumentBatchGeminiForm(BaseAIBatchForm):

twf/views/documents/views_documents_ai.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ class TWFDocumentOpenAIBatchView(AIFormView, TWFDocumentView):
1212
"""Ask ChatGPT."""
1313

1414
template_name = 'twf/base/base_ai_batch.html'
15-
page_title = 'OpenAI Batch'
15+
page_title = 'ChatGPT Batch'
1616
form_class = DocumentBatchOpenAIForm
1717
success_url = reverse_lazy('twf:documents_batch_openai')
1818
start_url = reverse_lazy('twf:task_documents_batch_openai')
19-
message = "Are you sure you want to start the openai task?"
19+
message = "Do you want to start the ChatGPT batch process now?"
2020

2121
def get_context_data(self, **kwargs):
2222
context = super().get_context_data(**kwargs)
2323
context['ai_heading'] = 'ChatGPT Document Batch'
24-
context['ai_lead'] = ('Ask ChatGPT to generate text based on the provided prompt.'
25-
'Your prompt will be expanded with the document text.')
24+
context['ai_lead'] = ('ChatGPT will generate a separate response for each document by combining your '
25+
'prompt with its content. All documents are processed in one batch.')
2626
context['has_ai_credentials'] = self.has_ai_credentials('openai')
2727
context['ai_credentials_url'] = reverse_lazy('twf:project_settings_credentials') + '?tab=openai'
2828
return context

0 commit comments

Comments
 (0)