Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bhaskatripathi/pdfGPT
/ functions
Functions
15 in github.com/bhaskatripathi/pdfGPT
⨍
Functions
15
◇
Types & classes
1
↓ 2 callers
Function
generate_answer
(question, openAI_key)
api.py:130
↓ 2 callers
Function
load_openai_key
()
api.py:153
↓ 2 callers
Function
load_recommender
(path, start_page=1)
api.py:100
↓ 1 callers
Function
download_pdf
(url, output_path)
api.py:20
↓ 1 callers
Method
fit
(self, data, batch=1000, n_neighbors=5)
api.py:73
↓ 1 callers
Function
generate_text
(openAI_key, prompt, engine="text-davinci-003")
api.py:111
↓ 1 callers
Method
get_text_embedding
(self, texts, batch=1000)
api.py:90
↓ 1 callers
Function
pdf_to_text
(path, start_page=1, end_page=None)
api.py:30
↓ 1 callers
Function
preprocess
(text)
api.py:24
↓ 1 callers
Function
text_to_chunks
(texts, word_length=150, start_page=1)
api.py:48
Method
__call__
(self, text, return_data=True)
api.py:81
Method
__init__
(self)
api.py:69
Function
ask_api
( lcserve_host: str, url: str, file: _TemporaryFileWrapper, question: str, openAI_key
app.py:8
Function
ask_file
(file: UploadFile, question: str)
api.py:171
Function
ask_url
(url: str, question: str)
api.py:163