Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Building-AI-Applications-with-ChatGPT-APIs
/ functions
Functions
33 in github.com/PacktPublishing/Building-AI-Applications-with-ChatGPT-APIs
⨍
Functions
33
◇
Types & classes
3
↳
Endpoints
5
↓ 2 callers
Function
generate_response
(prompt, temperature)
Chapter11 Models/temperature.py:7
↓ 2 callers
Function
initialize_database
()
Chapter05 QuizApp/quiz_project/quiz_app/services.py:10
↓ 1 callers
Function
chat_with_model
(messages)
Chapter11 Models/messages.py:6
↓ 1 callers
Function
completions_with_backoff
(**kwargs)
Chapter11 Models/rate_limits.py:8
↓ 1 callers
Function
generate_questions
(text)
Chapter05 QuizApp/quiz_project/quiz_app/services.py:21
↓ 1 callers
Function
generate_response
(prompt, n)
Chapter11 Models/n_parameter.py:8
↓ 1 callers
Function
get_fingerprint
()
Chapter04 CodeBugFixer/app.py:35
↓ 1 callers
Function
get_usage_counter
(fingerprint)
Chapter04 CodeBugFixer/app.py:46
↓ 1 callers
Method
initUI
(self)
Chapter08 ArticleGenerator/main.py:16
↓ 1 callers
Function
initialize_database
()
Chapter04 CodeBugFixer/app.py:26
↓ 1 callers
Function
key_exists
(cursor, key)
Chapter05 QuizApp/quiz_project/quiz_app/services.py:59
↓ 1 callers
Function
last_10_emails
()
Chapter07 ReplyTool/main.py:10
↓ 1 callers
Function
main
Run administrative tasks.
Chapter05 QuizApp/quiz_project/manage.py:7
↓ 1 callers
Function
print_all_questions
()
Chapter05 QuizApp/quiz_project/quiz_app/services.py:64
↓ 1 callers
Function
slide_generator
(text, prs)
Chapter09 PowerPoint Generator/app.py:17
↓ 1 callers
Function
translate_text
(file_location, target_language)
Chapter06 WordTranslator/app.py:11
↓ 1 callers
Function
update_usage_counter
(fingerprint, usage_counter)
Chapter04 CodeBugFixer/app.py:64
Method
__init__
(self)
Chapter08 ArticleGenerator/main.py:12
Function
browse_file
()
Chapter06 WordTranslator/app.py:35
Function
charge
()
Chapter04 CodeBugFixer/app.py:123
Function
download
(request, test_id)
Chapter05 QuizApp/quiz_project/quiz_app/views.py:31
Method
generate_essay
(self)
Chapter08 ArticleGenerator/main.py:48
Function
get_bot_response
()
Chapter02 ChatGPTClone/app.py:26
Method
get_context_data
(self, **kwargs)
Chapter05 QuizApp/quiz_project/quiz_app/views.py:26
Function
get_slides
()
Chapter09 PowerPoint Generator/app.py:94
Function
history
(request)
Chapter05 QuizApp/quiz_project/quiz_app/views.py:18
Function
home
(request)
Chapter05 QuizApp/quiz_project/quiz_app/views.py:10
Function
index
()
Chapter04 CodeBugFixer/app.py:74
Function
index
()
Chapter03 CodeBugFixer/app.py:21
Function
index
()
Chapter02 ChatGPTClone/app.py:21
Function
reply
()
Chapter07 ReplyTool/main.py:34
Method
save_essay
(self)
Chapter08 ArticleGenerator/main.py:70
Function
transcribe_audio
()
Chapter10 Whisper/app.py:9