Skip to content

Error en todas from llama_index.core.llama_utils import messages_to_prompt, completion_to_prompt from llama_index.core.LlamaCPP import LlamaCPP #1

@ainteligencia

Description

@ainteligencia

Buenas. estoy ejecutando tu ejemplo Mistral7llamaindexDemo
y esta arrojando error :

por favor me podria indicar como cambiaron las librerias? gracias

ModuleNotFoundError Traceback (most recent call last)
in <cell line: 5>()
3 #from llama_index.llms import LlamaCPP
4 #from llama_index.llms.llama_cpp import LlamaCPP
----> 5 from llama_index.core.llama_utils import messages_to_prompt, completion_to_prompt
6 from llama_index.core.LlamaCPP import LlamaCPP
7 llm = LlamaCPP(

ModuleNotFoundError: No module named 'llama_index.core.llama_utils'


NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.

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