Skip to content

ollama embedding model #20

@mskim8717

Description

@mskim8717

I tried to use docling mcp with ollama llm model and embedding model.

But I found that only can use embedding model which is registed in huggingface.

So, I would like to suggest that more embedding model(eg. based on ollama) also can served.

shared.py
...

case1.

embed_model = HuggingFaceEmbedding(model_name=EMBEDDING_MODEL)

case2.

embed_model = OllamaEmbedding(model_name=EMBEDDING_MODEL)

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