Skip to content

集成llama是否需要正确的openai_key #61

Description

@rivergao87

集成llama是否需要正确的openai_key? 没有提供正确的key时host_local_tools无法正常启动。在bmtools/tools/retriever.py document_embedding = self.embed.embed_documents([document]) 时 会调用langchain 的 embeddings 里的openai.py里面的embedding方法,而错误的openai_key无法实例化model,也就无法embedding,请问需要怎样设置?怎样改变?谢谢!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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