Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ai_provider_ollama
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
ai_provider_ollama
Merge requests
!4
Issue
#3501534
: Update embedding endpoint
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3501534
: Update embedding endpoint
issue/ai_provider_ollama-3501534:3501534-update-embedding-endpoint
into
1.1.x
Overview
0
Commits
1
Pipelines
3
Changes
2
Open
Christian Crawford
requested to merge
issue/ai_provider_ollama-3501534:3501534-update-embedding-endpoint
into
1.1.x
3 months ago
Overview
0
Commits
1
Pipelines
3
Changes
2
Expand
Closes
#3501534
0
0
Merge request reports
Compare
1.1.x
version 1
252ee52c
3 months ago
1.1.x (base)
and
latest version
latest version
252ee52c
1 commit,
1 month ago
version 1
252ee52c
1 commit,
3 months ago
2 files
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/Plugin/AiProvider/OllamaProvider.php
+
1
−
1
Options
@@ -285,7 +285,7 @@ class OllamaProvider extends AiProviderClientBase implements
}
$response
=
$this
->
controlApi
->
embeddings
(
$input
,
$model_id
);
return
new
EmbeddingsOutput
(
$response
[
'embedding
'
],
$response
,
[]);
return
new
EmbeddingsOutput
(
$response
[
'embedding
s'
][
0
],
$response
,
[]);
}
/**
Loading