Skip to content

Feature Request: Add 'suffix' Parameter to /api/generate Endpoint in Ollama's API #1211

Open
@fing9

Description

@fing9

The 'suffix' parameter has been added to the /api/generate endpoint in Ollama's API.

I considered adding the code myself since it seems like a simple change, but the relevant class was deprecated in versions after 1.0.0-M2, so I decided to raise this issue instead.

Related class:
'record GenerateRequest' in "src/main/java/org/springframework/ai/ollama/api/OllamaApi.java"

Here is the related link:
Ollama Pull Request #5207

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions