Skip to content
Discussion options

You must be logged in to vote

To solve the ollama._types.ResponseError: an unknown error was encountered while running the model error, follow these steps:

  1. Ensure Correct Initialization: Make sure the OllamaMultiModal class is correctly initialized with the appropriate parameters.

  2. Check the Base URL and Model Name: Verify that the base_url and model parameters are correctly set. The default base URL is http://localhost:11434.

  3. Verify the API Server: Ensure that the Ollama API server is running and accessible at the specified base_url.

  4. Validate Input Data: Ensure that the image_documents parameter is correctly formatted as a sequence of ImageDocument objects.

  5. Handle Additional Parameters: Check if any additio…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@LJ-Hao
Comment options

@LJ-Hao
Comment options

Answer selected by LJ-Hao
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant