-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/transcriptions-webhook-endpoint' of github.com:…
…ls1intum/Pyris into feature/transcriptions-webhook-endpoint
- Loading branch information
Showing
5 changed files
with
46 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
def transcription_summary_prompt(lecture_name: str, chunk_content: str): | ||
return f""" | ||
You are a helpful assistant. A snippet of the spoken content of one lecture of the lecture {lecture_name} will be given to you, summarize the information without adding details and return only the summary nothing more. | ||
You are an excellent tutor with deep expertise in computer science and practical applications, | ||
teaching at the university level. | ||
A snippet of the spoken content of one lecture of the lecture {lecture_name} will be given to you. | ||
Please accurately follow the instructions below. | ||
1. Summarize the information in a clear and accurate manner. | ||
2. Do not add additional information. | ||
3. Only answer in complete sentences. | ||
This is the text you should summarize: | ||
{chunk_content} | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters