Kashif Raza

Results 12 issues of Kashif Raza

How can we load directly xlsx file in langchain just like CSV loader? I could not be able to find in the documentation

I am using Directory Loader to load my all the pdf in my data folder. ` from langchain.document_loaders import DirectoryLoader ` ` loader = DirectoryLoader("data", glob = "**/*.pdf") ` `...

When I tries to read the all the sheets from the `.xlsx` file and pass it to the `create_pandas_dataframe_agent` it creates error. ` from langchain.agents import create_pandas_dataframe_agent ` ` df...

How can I access the data of a website using 'API TOKEN' and use that data in langchain for custom purpose?

Running error with `customAgent.py` file ` Traceback (most recent call last): File "C:\Users\kashif.raza\OneDrive - Higher Education Commission (1)\1_Projects\Free-AUTO-GPT-with-NO-API\OtherAgent\customAgent.py", line 110, in zero_shot_agent = initialize_agent( File "C:\Users\kashif.raza\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\agents\initialize.py", line 64, in initialize_agent...

After running few task following error pops up: `catching classes that do not inherit from BaseException is not allowed` and it suggest to the file `Free-AUTO-GPT-with-NO-API\FreeLLM\ChatGPTAPI.py", line 50, in _call...

### System Info 0.0.160 ### Who can help? _No response_ ### Information - [ ] The official example notebooks/scripts - [ ] My own modified scripts ### Related Components -...

When i run the ingest.py file following long error occurs: ![image](https://github.com/PromtEngineer/localGPT/assets/96944736/e300c847-63ca-42ed-ae8a-b84ef9e6774b) ![image](https://github.com/PromtEngineer/localGPT/assets/96944736/ee0b65c8-c9ed-49e8-9605-6d819f45ea1f) ![image](https://github.com/PromtEngineer/localGPT/assets/96944736/88464e04-2973-4b43-973f-8e331d34dd1f) ![image](https://github.com/PromtEngineer/localGPT/assets/96944736/43d12c94-44a4-4348-b8c1-5de1c4089281) ![image](https://github.com/PromtEngineer/localGPT/assets/96944736/8b4d8ec3-1cce-4eb4-a447-c39fe1e12a02)

How can we save the embeddings of a particular file and use it later for question-answering?

enhancement

while running the `python ingest.py` file getting the following error: `RuntimeError: Failed to import transformers.models.bert.modeling_bert because of the following error (look up to see its traceback): cannot import name 'DEFAULT_CIPHERS'...

bug