Skip to content

error loading files and openai #7

@thejacobi23

Description

@thejacobi23

I might have done this wrong. I created a python environment and cloned the get repo. I installed a few packages that I didn't have but I still cant get it to run without errors. This is my terminal out put:

(.venv) PS D:\AI-projects\RepoReader> python app.py
[nltk_data] Downloading package punkt to
[nltk_data] C:\Users\Jacob\AppData\Roaming\nltk_data...
[nltk_data] Package punkt is already up-to-date!
Enter the GitHub URL of the repository: https://github.com/cpacker/MemGPT
Cloning the repository...
Cloning into 'C:\Users\Jacob\AppData\Local\Temp\tmpmuv5s_by'...
remote: Enumerating objects: 2406, done.
remote: Counting objects: 100% (1403/1403), done.
remote: Compressing objects: 100% (582/582), done.
remote: Total 2406 (delta 1058), reused 939 (delta 817), pack-reused 1003
Receiving objects: 100% (2406/2406), 4.46 MiB | 12.80 MiB/s, done.
Resolving deltas: 100% (1494/1494), done.
Error loading files with pattern '/*.py': 'charmap' codec can't decode byte 0x8f in position 14693: character maps to
Error loading files with pattern '
/.yml': Invalid file C:\Users\Jacob\AppData\Local\Temp\tmpmuv5s_by\mkdocs.yml. The FileType.UNK file type is not supported in partition.
Error loading files with pattern '**/
.toml': Invalid file C:\Users\Jacob\AppData\Local\Temp\tmpmuv5s_by\pyproject.toml. The FileType.UNK file type is not supported in partition.
Error loading files with pattern '**/*.ipynb': [Errno 13] Permission denied: 'C:\Users\Jacob\AppData\Local\Temp\tmpmuv5s_by'
Repository cloned. Indexing files...
D:\AI-projects\RepoReader.venv\Lib\site-packages\langchain\utils\utils.py:159: UserWarning: WARNING! api_key is not default parameter.
api_key was transferred to model_kwargs.
Please confirm that api_key is what you intended.
warnings.warn(

Ask a question about the repository (type 'exit()' to quit): how does memgpt store data
Thinking...
D:\AI-projects\RepoReader.venv\Lib\site-packages\sklearn\feature_extraction\text.py:525: UserWarning: The parameter 'token_pattern' will not be used since 'tokenizer' is not None'
warnings.warn(
An error occurred: module 'openai' has no attribute 'error'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions