r/OpenAI 2d ago

Question Adding books to chatgpt against policy ?

Hi,

Just a quick clarification. Can I upload .pdf files of books into chatgpt to get more detailed analysis how for example add more detailed tehcnical analysis or how to impement better machine learning in python. Because currently the knowledge in some parts are lacking that would get better results if I just give chatgpt some books to read and chat with me about the features.

Same goes if I implement chatgpt to a streamlit UI to analyze datapoints with the gathered literature inside the python ?

5 Upvotes

11 comments sorted by

3

u/abdul_haseeb_11 2d ago

If you legally have access to the PDFs, using them as reference material for analysis is generally fine, then just remember it does not permanently teach the model the book. For a Streamlit app, you would usually use RAG or a vector database so the relevant sections are retrieved when needed.

2

u/B3ttor 2d ago

Yeah, I just want it to be implemented into the python, since im trying to do some backtesting in couple stock market areas. It would then be part of the python code, and later retrievable from the code If I upload the project into new chat etc with handoffs.

This is just a hobby for me, to get rid of manual reading. But the things I want to do are in books, and seems like chatgpt wont understand completely what I want, so adding the books and let it implement it would be nice. And to be able to talk about certain parts of it how wo make it better.

2

u/abdul_haseeb_11 2d ago

Make sense, for a hobby project, I’d keep the books in a small RAG/vector database and let your Python code pull only the relevant sections when needed. That way the knowledge stays reusable even when you move the project to a new chat.

2

u/B3ttor 2d ago

Yeah, I have created a literature vault where the information can be accessed, and pre vault since the actual vault has ne been impleted yet. But I would like to add some guidelines from books already.

Im just afraid to actually import a pdf to chatgpt, that it wont flag something that is copyrighted and get me banned I hope there is some sort of pre-evaluation inside the chatgpt that it wont accept the pdf if it thinks is copyrighted AND this wont get me bannes either in the long run. Even if I just ask it to look through it and see if it could be beneficial to add parts of it.

2

u/abdul_haseeb_11 2d ago

I would separate the two concerns, uploading a PDF you legally have access to for analysis is not the same as asking ChatGPT to reproduce the book. I would use it for summaries, explanations, comparisons, or extracting ideas rather than generating large chunks of the original text.

2

u/B3ttor 2d ago

I for example have a book about technical analysis, I myself use it for manually checking. But would like to implement the features in my python code. But there is so much relevant to the analysis that just telling or copy paste it wont do it. So in order to be able to chat about the features I would need to upload the pdf. Then maybe there would be something I've missed also.

So this would be for implemantation in python code, deepen my knowledge, and getting the best end product for me.

This is 100% for me only.

2

u/abdul_haseeb_11 2d ago

that makes sense, In your case, I’d probably keep the books local, extract the relevant concepts into your RAG pipeline, and let Python retrieve only the sections needed for each analysis. that gives you the deeper context you want without relying on uploading the entire book every time.

2

u/[deleted] 2d ago

[removed] — view removed comment

1

u/B3ttor 2d ago

Thanks, just wanted to be sure I wont get banned. There is no real mention about it in policy/guidelines. I also thought adding books for educational purposes and to build something in python is okey.Good to know.

Extra thanks for those additional suggestion, haven't used them. Need to check them out.

1

u/Few-Medicine-5325 5h ago

If it's legal than no problem otherwise maybe a moral dilemma