Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF upload, require a table change. #174

Merged
merged 3 commits into from
Oct 20, 2023
Merged

Commits on Oct 20, 2023

  1. PDF upload, require a table change. The issue is that the PdfDataSour…

    …ce model does not have a ForeignKey relationship to the Chatbot model. This is why the Chatbot object does not have the pdf_data_sources attribute. To fix this, we need to use a line in pdf_data_sources.py that establishes the ForeignKey relationship and provide the correct related_name which is used to create the reverse relation from Chatbot
    
    to PdfDataSource.
    lvalics committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    b645e45 View commit details
    Browse the repository at this point in the history
  2. PDF upload, require a table change. The issue is that the PdfDataSou…

     PdfDataSource model does not have a ForeignKey relationship to the
    Chatbot model. This is why the Chatbot object does not have the
    pdf_data_sources attribute. To fix this, we need to use a line
    in pdf_data_sources.py that establishes the ForeignKey relationship
    and provide the correct related_name which is used to create the
    reverse relation from Chatbot to PdfDataSource.
    lvalics committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    6fc909e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4faf01e View commit details
    Browse the repository at this point in the history