Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest Docker Image Unable to Execute make_db.py / New Docker Image Soon? #1955

@devinrouthuzh

Description

@devinrouthuzh

Hi there,

I'm using the latest version of the h2oai-h2ogpt-runtime Docker image (h2oairelease/h2oai-h2ogpt-runtime:v0.2.1-1245) and I'm unable to successfully execute the included make_db.py script via python /workspace/src/make_db.py.

I instead receive the following error:

Traceback (most recent call last):
  File "/workspace/src/make_db.py", line 9, in <module>
    from gpt_langchain import path_to_docs, get_some_dbs_from_hf, all_db_zips, some_db_zips, create_or_update_db, \
  File "/workspace/src/gpt_langchain.py", line 2076, in <module>
    from langchain_together import ChatTogether
  File "/usr/lib/python3.10/site-packages/langchain_together/__init__.py", line 1, in <module>
    from langchain_together.chat_models import ChatTogether
  File "/usr/lib/python3.10/site-packages/langchain_together/chat_models.py", line 18, in <module>
    from langchain_openai.chat_models.base import BaseChatOpenAI
ModuleNotFoundError: No module named 'langchain_openai.chat_models'; 'langchain_openai' is not a package

I also notice that this latest release is 8 months old. Will y'all perhaps publish a new Docker image soon?

Many thanks!

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