NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

python3 chatgpt.py "what is my dog's name"
/home/milo/.local/lib/python3.10/site-packages/langchain/chat_models/__init__.py:31: LangChainDeprecationWarning: Importing chat models from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:

`from langchain_community.chat_models import ChatOpenAI`.

To install langchain-community run `pip install -U langchain-community`.
warnings.warn(
/home/milo/.local/lib/python3.10/site-packages/langchain/document_loaders/__init__.py:36: LangChainDeprecationWarning: Importing document loaders from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:

`from langchain_community.document_loaders import DirectoryLoader`.

To install langchain-community run `pip install -U langchain-community`.
warnings.warn(
/home/milo/.local/lib/python3.10/site-packages/langchain/document_loaders/__init__.py:36: LangChainDeprecationWarning: Importing document loaders from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:

`from langchain_community.document_loaders import TextLoader`.

To install langchain-community run `pip install -U langchain-community`.
warnings.warn(
/home/milo/.local/lib/python3.10/site-packages/langchain/embeddings/__init__.py:29: LangChainDeprecationWarning: Importing embeddings from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:

`from langchain_community.embeddings import OpenAIEmbeddings`.

To install langchain-community run `pip install -U langchain-community`.
warnings.warn(
/home/milo/.local/lib/python3.10/site-packages/langchain/llms/__init__.py:548: LangChainDeprecationWarning: Importing LLMs from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:

`from langchain_community.llms import OpenAI`.

To install langchain-community run `pip install -U langchain-community`.
warnings.warn(
/home/milo/.local/lib/python3.10/site-packages/langchain/vectorstores/__init__.py:35: LangChainDeprecationWarning: Importing vector stores from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:

`from langchain_community.vectorstores import Chroma`.

To install langchain-community run `pip install -U langchain-community`.
warnings.warn(
/home/milo/.local/lib/python3.10/site-packages/langchain_core/_api/deprecation.py:117: LangChainDeprecationWarning: The class `langchain_community.embeddings.openai.OpenAIEmbeddings` was deprecated in langchain-community 0.1.0 and will be removed in 0.2.0. An updated version of the class exists in the langchain-openai package and should be used instead. To use it run `pip install -U langchain-openai` and import as `from langchain_openai import OpenAIEmbeddings`.
warn_deprecated(
Error loading file data/cat.pdf
Traceback (most recent call last):
File "/home/milo/GPT/chatgpt-retrieval/chatgpt.py", line 35, in <module>
index = VectorstoreIndexCreator().from_loaders([loader])
File "/home/milo/.local/lib/python3.10/site-packages/langchain/indexes/vectorstore.py", line 82, in from_loaders
docs.extend(loader.load())
File "/home/milo/.local/lib/python3.10/site-packages/langchain_community/document_loaders/directory.py", line 158, in load
self.load_file(i, p, docs, pbar)
File "/home/milo/.local/lib/python3.10/site-packages/langchain_community/document_loaders/directory.py", line 107, in load_file
raise e
File "/home/milo/.local/lib/python3.10/site-packages/langchain_community/document_loaders/directory.py", line 100, in load_file
sub_docs = self.loader_cls(str(item), **self.loader_kwargs).load()
File "/home/milo/.local/lib/python3.10/site-packages/langchain_community/document_loaders/unstructured.py", line 87, in load
elements = self._get_elements()
File "/home/milo/.local/lib/python3.10/site-packages/langchain_community/document_loaders/unstructured.py", line 179, in _get_elements
return partition(filename=self.file_path, **self.unstructured_kwargs)
File "/home/milo/.local/lib/python3.10/site-packages/unstructured/partition/auto.py", line 401, in partition
_partition_pdf = _get_partition_with_extras("pdf")
File "/home/milo/.local/lib/python3.10/site-packages/unstructured/partition/auto.py", line 123, in _get_partition_with_extras
raise ImportError(
ImportError: partition_pdf is not available. Install the pdf dependencies with pip install "unstructured[pdf]"
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.