Skip to content

To investigate: error when adding/ creating vector store #36

@ghostleek

Description

@ghostleek
image

TypeError: 'NoneType' object is not subscriptable
Traceback:
File "/Users/kahhowlee/code/chergpt-starter-kit/main.py", line 388, in main
create_vectorstore()
File "/Users/kahhowlee/code/chergpt-starter-kit/kb_module.py", line 366, in create_vectorstore
save_to_vectorstores(db, vs_name, subject, topic, st.session_state.user["username"], share_resource) # Passing the share_resource to the function
File "/Users/kahhowlee/code/chergpt-starter-kit/kb_module.py", line 283, in save_to_vectorstores
subject_id = cursor.fetchone()[0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions