Skip to content

docs(llm): fix copy-pasted model names in docstrings#504

Open
chappiii wants to merge 1 commit intoneo4j:mainfrom
chappiii:main
Open

docs(llm): fix copy-pasted model names in docstrings#504
chappiii wants to merge 1 commit intoneo4j:mainfrom
chappiii:main

Conversation

@chappiii
Copy link
Copy Markdown

@chappiii chappiii commented Apr 3, 2026

Fix copy-pasted docstrings across LLM and embeddings modules:

  • OllamaEmbeddings (embeddings/ollama.py): referenced "Mistral AI" and "mistral-embed" → fixed to "Ollama", removed incorrect default
  • AnthropicLLM (llm/anthropic_llm.py): said defaults to "gemini-1.5-flash-001" → removed (no default, param is required)
  • CohereLLM (llm/cohere_llm.py): said defaults to "gemini-1.5-flash-001" → fixed to ""
  • OllamaLLM (llm/ollama_llm.py): async method docstring referenced "OpenAI" → fixed to "Ollama"

Type of Change

  • New feature
  • Bug fix
  • Breaking change
  • Documentation update
  • Project configuration change

Complexity

Complexity: Low

How Has This Been Tested?

  • Unit tests
  • E2E tests
  • Manual tests

Checklist

The following requirements should have been met (depending on the changes in the branch):

  • Documentation has been updated
  • Unit tests have been updated
  • E2E tests have been updated
  • Examples have been updated
  • New files have copyright header
  • CLA (https://neo4j.com/developer/cla/) has been signed
  • CHANGELOG.md updated if appropriate

@chappiii chappiii requested a review from a team as a code owner April 3, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant