OllamaCompletion class
Ollama Completion capability implementation
This module handles completion functionality for Ollama providers. Ollama supports text completion through the /api/generate endpoint.
- Implemented types
Constructors
- OllamaCompletion(OllamaClient client, OllamaConfig config)
Properties
- client → OllamaClient
- 
  
  final
- completionEndpoint → String
- 
  
  no setter
- config → OllamaConfig
- 
  
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  complete(CompletionRequest request) → Future< CompletionResponse> 
- 
  Sends a completion request to generate text
  override
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited