Merge branch 'main' into chroma

This commit is contained in:
kimbwook 2025-10-15 00:14:05 +09:00
commit 3f66f55771
No known key found for this signature in database
GPG key ID: 13B032C99CBD373A
137 changed files with 35682 additions and 1800 deletions

View file

@ -66,11 +66,11 @@ runs:
shell: bash shell: bash
run: | run: |
echo "Checking for recording changes" echo "Checking for recording changes"
git status --porcelain tests/integration/recordings/ git status --porcelain tests/integration/
if [[ -n $(git status --porcelain tests/integration/recordings/) ]]; then if [[ -n $(git status --porcelain tests/integration/) ]]; then
echo "New recordings detected, committing and pushing" echo "New recordings detected, committing and pushing"
git add tests/integration/recordings/ git add tests/integration/
git commit -m "Recordings update from CI (suite: ${{ inputs.suite }})" git commit -m "Recordings update from CI (suite: ${{ inputs.suite }})"
git fetch origin ${{ github.ref_name }} git fetch origin ${{ github.ref_name }}

View file

@ -170,7 +170,8 @@ jobs:
uv run --no-sync \ uv run --no-sync \
pytest -sv --stack-config="files=inline::localfs,inference=inline::sentence-transformers,vector_io=${{ matrix.vector-io-provider }}" \ pytest -sv --stack-config="files=inline::localfs,inference=inline::sentence-transformers,vector_io=${{ matrix.vector-io-provider }}" \
tests/integration/vector_io \ tests/integration/vector_io \
--embedding-model inline::sentence-transformers/all-MiniLM-L6-v2 --embedding-model nomic-ai/nomic-embed-text-v1.5 \
--embedding-dimension 768
- name: Check Storage and Memory Available After Tests - name: Check Storage and Memory Available After Tests
if: ${{ always() }} if: ${{ always() }}

View file

@ -115,8 +115,8 @@ data:
password: ${env.POSTGRES_PASSWORD:=llamastack} password: ${env.POSTGRES_PASSWORD:=llamastack}
models: models:
- metadata: - metadata:
embedding_dimension: 384 embedding_dimension: 768
model_id: all-MiniLM-L6-v2 model_id: nomic-embed-text-v1.5
provider_id: sentence-transformers provider_id: sentence-transformers
model_type: embedding model_type: embedding
- model_id: ${env.INFERENCE_MODEL} - model_id: ${env.INFERENCE_MODEL}

View file

@ -112,8 +112,8 @@ inference_store:
password: ${env.POSTGRES_PASSWORD:=llamastack} password: ${env.POSTGRES_PASSWORD:=llamastack}
models: models:
- metadata: - metadata:
embedding_dimension: 384 embedding_dimension: 768
model_id: all-MiniLM-L6-v2 model_id: nomic-embed-text-v1.5
provider_id: sentence-transformers provider_id: sentence-transformers
model_type: embedding model_type: embedding
- model_id: ${env.INFERENCE_MODEL} - model_id: ${env.INFERENCE_MODEL}

View file

@ -47,8 +47,8 @@ client = LlamaStackClient(base_url=f"http://localhost:{os.environ['LLAMA_STACK_P
vector_db_id = "my_documents" vector_db_id = "my_documents"
response = client.vector_dbs.register( response = client.vector_dbs.register(
vector_db_id=vector_db_id, vector_db_id=vector_db_id,
embedding_model="all-MiniLM-L6-v2", embedding_model="nomic-embed-text-v1.5",
embedding_dimension=384, embedding_dimension=768,
provider_id="faiss", provider_id="faiss",
) )
``` ```

View file

@ -110,8 +110,8 @@ inference_store:
password: ${env.POSTGRES_PASSWORD:=llamastack} password: ${env.POSTGRES_PASSWORD:=llamastack}
models: models:
- metadata: - metadata:
embedding_dimension: 384 embedding_dimension: 768
model_id: all-MiniLM-L6-v2 model_id: nomic-embed-text-v1.5
provider_id: sentence-transformers provider_id: sentence-transformers
model_type: embedding model_type: embedding
- metadata: {} - metadata: {}

View file

@ -164,7 +164,7 @@ Available Models
┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┓ ┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┓
┃ model_type ┃ identifier ┃ provider_resource_id ┃ metadata ┃ provider_id ┃ ┃ model_type ┃ identifier ┃ provider_resource_id ┃ metadata ┃ provider_id ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━┩ ┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━┩
│ embedding │ ollama/all-minilm:l6-v2 │ all-minilm:l6-v2 │ {'embedding_dimension': 384.0} │ ollama │ │ embedding │ ollama/nomic-embed-text:v1.5 │ nomic-embed-text:v1.5 │ {'embedding_dimension': 768.0} │ ollama │
├─────────────────┼─────────────────────────────────────┼─────────────────────────────────────┼───────────────────────────────────────────┼───────────────────────┤ ├─────────────────┼─────────────────────────────────────┼─────────────────────────────────────┼───────────────────────────────────────────┼───────────────────────┤
│ ... │ ... │ ... │ │ ... │ │ ... │ ... │ ... │ │ ... │
├─────────────────┼─────────────────────────────────────┼─────────────────────────────────────┼───────────────────────────────────────────┼───────────────────────┤ ├─────────────────┼─────────────────────────────────────┼─────────────────────────────────────┼───────────────────────────────────────────┼───────────────────────┤

View file

@ -224,8 +224,8 @@ llama-stack-client vector_dbs list
┏━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ identifier ┃ provider_id ┃ provider_resource_id ┃ vector_db_type ┃ params ┃ ┃ identifier ┃ provider_id ┃ provider_resource_id ┃ vector_db_type ┃ params ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ my_demo_vector_db │ faiss │ my_demo_vector_db │ │ embedding_dimension: 384 │ my_demo_vector_db │ faiss │ my_demo_vector_db │ │ embedding_dimension: 768
│ │ │ │ │ embedding_model: all-MiniLM-L6-v2 │ │ │ │ │ embedding_model: nomic-embed-text-v1.5
│ │ │ │ │ type: vector_db │ │ │ │ │ │ type: vector_db │
│ │ │ │ │ │ │ │ │ │ │ │
└──────────────────────────┴─────────────┴──────────────────────────┴────────────────┴───────────────────────────────────┘ └──────────────────────────┴─────────────┴──────────────────────────┴────────────────┴───────────────────────────────────┘
@ -244,8 +244,8 @@ Required arguments:
Optional arguments: Optional arguments:
- `--provider-id`: Provider ID for the vector db - `--provider-id`: Provider ID for the vector db
- `--provider-vector-db-id`: Provider's vector db ID - `--provider-vector-db-id`: Provider's vector db ID
- `--embedding-model`: Embedding model to use. Default: `all-MiniLM-L6-v2` - `--embedding-model`: Embedding model to use. Default: `nomic-embed-text-v1.5`
- `--embedding-dimension`: Dimension of embeddings. Default: 384 - `--embedding-dimension`: Dimension of embeddings. Default: 768
### `llama-stack-client vector_dbs unregister` ### `llama-stack-client vector_dbs unregister`
Delete a vector db Delete a vector db

View file

@ -1352,8 +1352,8 @@
"vector_db_id = f\"test-vector-db-{uuid.uuid4().hex}\"\n", "vector_db_id = f\"test-vector-db-{uuid.uuid4().hex}\"\n",
"client.vector_dbs.register(\n", "client.vector_dbs.register(\n",
" vector_db_id=vector_db_id,\n", " vector_db_id=vector_db_id,\n",
" embedding_model=\"all-MiniLM-L6-v2\",\n", " embedding_model=\"nomic-embed-text-v1.5\",\n",
" embedding_dimension=384,\n", " embedding_dimension=768,\n",
")\n", ")\n",
"client.tool_runtime.rag_tool.insert(\n", "client.tool_runtime.rag_tool.insert(\n",
" documents=documents,\n", " documents=documents,\n",

View file

@ -831,7 +831,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 23, "execution_count": null,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -860,8 +860,8 @@
"vector_db_id = f\"test_vector_db_{uuid.uuid4()}\"\n", "vector_db_id = f\"test_vector_db_{uuid.uuid4()}\"\n",
"client.vector_dbs.register(\n", "client.vector_dbs.register(\n",
" vector_db_id=vector_db_id,\n", " vector_db_id=vector_db_id,\n",
" embedding_model=\"all-MiniLM-L6-v2\",\n", " embedding_model=\"nomic-embed-text-v1.5\",\n",
" embedding_dimension=384,\n", " embedding_dimension=768,\n",
" provider_id=selected_vector_provider.provider_id,\n", " provider_id=selected_vector_provider.provider_id,\n",
")\n", ")\n",
"\n", "\n",

View file

@ -1662,7 +1662,7 @@
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/OpenaiEmbeddingsRequest" "$ref": "#/components/schemas/OpenAIEmbeddingsRequestWithExtraBody"
} }
} }
}, },
@ -2436,13 +2436,13 @@
"VectorIO" "VectorIO"
], ],
"summary": "Creates a vector store.", "summary": "Creates a vector store.",
"description": "Creates a vector store.", "description": "Creates a vector store.\nGenerate an OpenAI-compatible vector store with the given parameters.",
"parameters": [], "parameters": [],
"requestBody": { "requestBody": {
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/OpenaiCreateVectorStoreRequest" "$ref": "#/components/schemas/OpenAICreateVectorStoreRequestWithExtraBody"
} }
} }
}, },
@ -2622,7 +2622,7 @@
"VectorIO" "VectorIO"
], ],
"summary": "Create a vector store file batch.", "summary": "Create a vector store file batch.",
"description": "Create a vector store file batch.", "description": "Create a vector store file batch.\nGenerate an OpenAI-compatible vector store file batch for the given vector store.",
"parameters": [ "parameters": [
{ {
"name": "vector_store_id", "name": "vector_store_id",
@ -2638,7 +2638,7 @@
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/OpenaiCreateVectorStoreFileBatchRequest" "$ref": "#/components/schemas/OpenAICreateVectorStoreFileBatchRequestWithExtraBody"
} }
} }
}, },
@ -8174,7 +8174,7 @@
"title": "OpenAICompletionChoice", "title": "OpenAICompletionChoice",
"description": "A choice from an OpenAI-compatible completion response." "description": "A choice from an OpenAI-compatible completion response."
}, },
"OpenaiEmbeddingsRequest": { "OpenAIEmbeddingsRequestWithExtraBody": {
"type": "object", "type": "object",
"properties": { "properties": {
"model": { "model": {
@ -8197,6 +8197,7 @@
}, },
"encoding_format": { "encoding_format": {
"type": "string", "type": "string",
"default": "float",
"description": "(Optional) The format to return the embeddings in. Can be either \"float\" or \"base64\". Defaults to \"float\"." "description": "(Optional) The format to return the embeddings in. Can be either \"float\" or \"base64\". Defaults to \"float\"."
}, },
"dimensions": { "dimensions": {
@ -8213,7 +8214,8 @@
"model", "model",
"input" "input"
], ],
"title": "OpenaiEmbeddingsRequest" "title": "OpenAIEmbeddingsRequestWithExtraBody",
"description": "Request parameters for OpenAI-compatible embeddings endpoint."
}, },
"OpenAIEmbeddingData": { "OpenAIEmbeddingData": {
"type": "object", "type": "object",
@ -12061,19 +12063,19 @@
"title": "VectorStoreObject", "title": "VectorStoreObject",
"description": "OpenAI Vector Store object." "description": "OpenAI Vector Store object."
}, },
"OpenaiCreateVectorStoreRequest": { "OpenAICreateVectorStoreRequestWithExtraBody": {
"type": "object", "type": "object",
"properties": { "properties": {
"name": { "name": {
"type": "string", "type": "string",
"description": "A name for the vector store." "description": "(Optional) A name for the vector store"
}, },
"file_ids": { "file_ids": {
"type": "array", "type": "array",
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "A list of File IDs that the vector store should use. Useful for tools like `file_search` that can access files." "description": "List of file IDs to include in the vector store"
}, },
"expires_after": { "expires_after": {
"type": "object", "type": "object",
@ -12099,7 +12101,7 @@
} }
] ]
}, },
"description": "The expiration policy for a vector store." "description": "(Optional) Expiration policy for the vector store"
}, },
"chunking_strategy": { "chunking_strategy": {
"type": "object", "type": "object",
@ -12125,7 +12127,7 @@
} }
] ]
}, },
"description": "The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy." "description": "(Optional) Strategy for splitting files into chunks"
}, },
"metadata": { "metadata": {
"type": "object", "type": "object",
@ -12151,23 +12153,12 @@
} }
] ]
}, },
"description": "Set of 16 key-value pairs that can be attached to an object." "description": "Set of key-value pairs that can be attached to the vector store"
},
"embedding_model": {
"type": "string",
"description": "The embedding model to use for this vector store."
},
"embedding_dimension": {
"type": "integer",
"description": "The dimension of the embedding vectors (default: 384)."
},
"provider_id": {
"type": "string",
"description": "The ID of the provider to use for this vector store."
} }
}, },
"additionalProperties": false, "additionalProperties": false,
"title": "OpenaiCreateVectorStoreRequest" "title": "OpenAICreateVectorStoreRequestWithExtraBody",
"description": "Request to create a vector store with extra_body support."
}, },
"OpenaiUpdateVectorStoreRequest": { "OpenaiUpdateVectorStoreRequest": {
"type": "object", "type": "object",
@ -12337,7 +12328,7 @@
"title": "VectorStoreChunkingStrategyStaticConfig", "title": "VectorStoreChunkingStrategyStaticConfig",
"description": "Configuration for static chunking strategy." "description": "Configuration for static chunking strategy."
}, },
"OpenaiCreateVectorStoreFileBatchRequest": { "OpenAICreateVectorStoreFileBatchRequestWithExtraBody": {
"type": "object", "type": "object",
"properties": { "properties": {
"file_ids": { "file_ids": {
@ -12345,7 +12336,7 @@
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "A list of File IDs that the vector store should use." "description": "A list of File IDs that the vector store should use"
}, },
"attributes": { "attributes": {
"type": "object", "type": "object",
@ -12371,18 +12362,19 @@
} }
] ]
}, },
"description": "(Optional) Key-value attributes to store with the files." "description": "(Optional) Key-value attributes to store with the files"
}, },
"chunking_strategy": { "chunking_strategy": {
"$ref": "#/components/schemas/VectorStoreChunkingStrategy", "$ref": "#/components/schemas/VectorStoreChunkingStrategy",
"description": "(Optional) The chunking strategy used to chunk the file(s). Defaults to auto." "description": "(Optional) The chunking strategy used to chunk the file(s). Defaults to auto"
} }
}, },
"additionalProperties": false, "additionalProperties": false,
"required": [ "required": [
"file_ids" "file_ids"
], ],
"title": "OpenaiCreateVectorStoreFileBatchRequest" "title": "OpenAICreateVectorStoreFileBatchRequestWithExtraBody",
"description": "Request to create a vector store file batch with extra_body support."
}, },
"VectorStoreFileBatchObject": { "VectorStoreFileBatchObject": {
"type": "object", "type": "object",

View file

@ -1203,7 +1203,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/OpenaiEmbeddingsRequest' $ref: '#/components/schemas/OpenAIEmbeddingsRequestWithExtraBody'
required: true required: true
deprecated: true deprecated: true
/v1/openai/v1/files: /v1/openai/v1/files:
@ -1792,13 +1792,16 @@ paths:
tags: tags:
- VectorIO - VectorIO
summary: Creates a vector store. summary: Creates a vector store.
description: Creates a vector store. description: >-
Creates a vector store.
Generate an OpenAI-compatible vector store with the given parameters.
parameters: [] parameters: []
requestBody: requestBody:
content: content:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/OpenaiCreateVectorStoreRequest' $ref: '#/components/schemas/OpenAICreateVectorStoreRequestWithExtraBody'
required: true required: true
deprecated: true deprecated: true
/v1/openai/v1/vector_stores/{vector_store_id}: /v1/openai/v1/vector_stores/{vector_store_id}:
@ -1924,7 +1927,11 @@ paths:
tags: tags:
- VectorIO - VectorIO
summary: Create a vector store file batch. summary: Create a vector store file batch.
description: Create a vector store file batch. description: >-
Create a vector store file batch.
Generate an OpenAI-compatible vector store file batch for the given vector
store.
parameters: parameters:
- name: vector_store_id - name: vector_store_id
in: path in: path
@ -1937,7 +1944,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/OpenaiCreateVectorStoreFileBatchRequest' $ref: '#/components/schemas/OpenAICreateVectorStoreFileBatchRequestWithExtraBody'
required: true required: true
deprecated: true deprecated: true
/v1/openai/v1/vector_stores/{vector_store_id}/file_batches/{batch_id}: /v1/openai/v1/vector_stores/{vector_store_id}/file_batches/{batch_id}:
@ -6035,7 +6042,7 @@ components:
title: OpenAICompletionChoice title: OpenAICompletionChoice
description: >- description: >-
A choice from an OpenAI-compatible completion response. A choice from an OpenAI-compatible completion response.
OpenaiEmbeddingsRequest: OpenAIEmbeddingsRequestWithExtraBody:
type: object type: object
properties: properties:
model: model:
@ -6054,6 +6061,7 @@ components:
multiple inputs in a single request, pass an array of strings. multiple inputs in a single request, pass an array of strings.
encoding_format: encoding_format:
type: string type: string
default: float
description: >- description: >-
(Optional) The format to return the embeddings in. Can be either "float" (Optional) The format to return the embeddings in. Can be either "float"
or "base64". Defaults to "float". or "base64". Defaults to "float".
@ -6071,7 +6079,9 @@ components:
required: required:
- model - model
- input - input
title: OpenaiEmbeddingsRequest title: OpenAIEmbeddingsRequestWithExtraBody
description: >-
Request parameters for OpenAI-compatible embeddings endpoint.
OpenAIEmbeddingData: OpenAIEmbeddingData:
type: object type: object
properties: properties:
@ -9147,19 +9157,18 @@ components:
- metadata - metadata
title: VectorStoreObject title: VectorStoreObject
description: OpenAI Vector Store object. description: OpenAI Vector Store object.
OpenaiCreateVectorStoreRequest: "OpenAICreateVectorStoreRequestWithExtraBody":
type: object type: object
properties: properties:
name: name:
type: string type: string
description: A name for the vector store. description: (Optional) A name for the vector store
file_ids: file_ids:
type: array type: array
items: items:
type: string type: string
description: >- description: >-
A list of File IDs that the vector store should use. Useful for tools List of file IDs to include in the vector store
like `file_search` that can access files.
expires_after: expires_after:
type: object type: object
additionalProperties: additionalProperties:
@ -9171,7 +9180,7 @@ components:
- type: array - type: array
- type: object - type: object
description: >- description: >-
The expiration policy for a vector store. (Optional) Expiration policy for the vector store
chunking_strategy: chunking_strategy:
type: object type: object
additionalProperties: additionalProperties:
@ -9183,8 +9192,7 @@ components:
- type: array - type: array
- type: object - type: object
description: >- description: >-
The chunking strategy used to chunk the file(s). If not set, will use (Optional) Strategy for splitting files into chunks
the `auto` strategy.
metadata: metadata:
type: object type: object
additionalProperties: additionalProperties:
@ -9196,21 +9204,12 @@ components:
- type: array - type: array
- type: object - type: object
description: >- description: >-
Set of 16 key-value pairs that can be attached to an object. Set of key-value pairs that can be attached to the vector store
embedding_model:
type: string
description: >-
The embedding model to use for this vector store.
embedding_dimension:
type: integer
description: >-
The dimension of the embedding vectors (default: 384).
provider_id:
type: string
description: >-
The ID of the provider to use for this vector store.
additionalProperties: false additionalProperties: false
title: OpenaiCreateVectorStoreRequest title: >-
OpenAICreateVectorStoreRequestWithExtraBody
description: >-
Request to create a vector store with extra_body support.
OpenaiUpdateVectorStoreRequest: OpenaiUpdateVectorStoreRequest:
type: object type: object
properties: properties:
@ -9331,7 +9330,7 @@ components:
title: VectorStoreChunkingStrategyStaticConfig title: VectorStoreChunkingStrategyStaticConfig
description: >- description: >-
Configuration for static chunking strategy. Configuration for static chunking strategy.
OpenaiCreateVectorStoreFileBatchRequest: "OpenAICreateVectorStoreFileBatchRequestWithExtraBody":
type: object type: object
properties: properties:
file_ids: file_ids:
@ -9339,7 +9338,7 @@ components:
items: items:
type: string type: string
description: >- description: >-
A list of File IDs that the vector store should use. A list of File IDs that the vector store should use
attributes: attributes:
type: object type: object
additionalProperties: additionalProperties:
@ -9351,16 +9350,19 @@ components:
- type: array - type: array
- type: object - type: object
description: >- description: >-
(Optional) Key-value attributes to store with the files. (Optional) Key-value attributes to store with the files
chunking_strategy: chunking_strategy:
$ref: '#/components/schemas/VectorStoreChunkingStrategy' $ref: '#/components/schemas/VectorStoreChunkingStrategy'
description: >- description: >-
(Optional) The chunking strategy used to chunk the file(s). Defaults to (Optional) The chunking strategy used to chunk the file(s). Defaults to
auto. auto
additionalProperties: false additionalProperties: false
required: required:
- file_ids - file_ids
title: OpenaiCreateVectorStoreFileBatchRequest title: >-
OpenAICreateVectorStoreFileBatchRequestWithExtraBody
description: >-
Request to create a vector store file batch with extra_body support.
VectorStoreFileBatchObject: VectorStoreFileBatchObject:
type: object type: object
properties: properties:

View file

@ -765,7 +765,7 @@
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/OpenaiEmbeddingsRequest" "$ref": "#/components/schemas/OpenAIEmbeddingsRequestWithExtraBody"
} }
} }
}, },
@ -3170,13 +3170,13 @@
"VectorIO" "VectorIO"
], ],
"summary": "Creates a vector store.", "summary": "Creates a vector store.",
"description": "Creates a vector store.", "description": "Creates a vector store.\nGenerate an OpenAI-compatible vector store with the given parameters.",
"parameters": [], "parameters": [],
"requestBody": { "requestBody": {
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/OpenaiCreateVectorStoreRequest" "$ref": "#/components/schemas/OpenAICreateVectorStoreRequestWithExtraBody"
} }
} }
}, },
@ -3356,7 +3356,7 @@
"VectorIO" "VectorIO"
], ],
"summary": "Create a vector store file batch.", "summary": "Create a vector store file batch.",
"description": "Create a vector store file batch.", "description": "Create a vector store file batch.\nGenerate an OpenAI-compatible vector store file batch for the given vector store.",
"parameters": [ "parameters": [
{ {
"name": "vector_store_id", "name": "vector_store_id",
@ -3372,7 +3372,7 @@
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/OpenaiCreateVectorStoreFileBatchRequest" "$ref": "#/components/schemas/OpenAICreateVectorStoreFileBatchRequestWithExtraBody"
} }
} }
}, },
@ -6324,7 +6324,7 @@
"title": "ConversationItemDeletedResource", "title": "ConversationItemDeletedResource",
"description": "Response for deleted conversation item." "description": "Response for deleted conversation item."
}, },
"OpenaiEmbeddingsRequest": { "OpenAIEmbeddingsRequestWithExtraBody": {
"type": "object", "type": "object",
"properties": { "properties": {
"model": { "model": {
@ -6347,6 +6347,7 @@
}, },
"encoding_format": { "encoding_format": {
"type": "string", "type": "string",
"default": "float",
"description": "(Optional) The format to return the embeddings in. Can be either \"float\" or \"base64\". Defaults to \"float\"." "description": "(Optional) The format to return the embeddings in. Can be either \"float\" or \"base64\". Defaults to \"float\"."
}, },
"dimensions": { "dimensions": {
@ -6363,7 +6364,8 @@
"model", "model",
"input" "input"
], ],
"title": "OpenaiEmbeddingsRequest" "title": "OpenAIEmbeddingsRequestWithExtraBody",
"description": "Request parameters for OpenAI-compatible embeddings endpoint."
}, },
"OpenAIEmbeddingData": { "OpenAIEmbeddingData": {
"type": "object", "type": "object",
@ -9816,284 +9818,6 @@
"title": "ListOpenAIResponseInputItem", "title": "ListOpenAIResponseInputItem",
"description": "List container for OpenAI response input items." "description": "List container for OpenAI response input items."
}, },
"CompletionMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "assistant",
"default": "assistant",
"description": "Must be \"assistant\" to identify this as the model's response"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The content of the model's response"
},
"stop_reason": {
"type": "string",
"enum": [
"end_of_turn",
"end_of_message",
"out_of_tokens"
],
"description": "Reason why the model stopped generating. Options are: - `StopReason.end_of_turn`: The model finished generating the entire response. - `StopReason.end_of_message`: The model finished generating but generated a partial response -- usually, a tool call. The user may call the tool and continue the conversation with the tool's response. - `StopReason.out_of_tokens`: The model ran out of token budget."
},
"tool_calls": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ToolCall"
},
"description": "List of tool calls. Each tool call is a ToolCall object."
}
},
"additionalProperties": false,
"required": [
"role",
"content",
"stop_reason"
],
"title": "CompletionMessage",
"description": "A message containing the model's (assistant) response in a chat conversation."
},
"ImageContentItem": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "image",
"default": "image",
"description": "Discriminator type of the content item. Always \"image\""
},
"image": {
"type": "object",
"properties": {
"url": {
"$ref": "#/components/schemas/URL",
"description": "A URL of the image or data URL in the format of data:image/{type};base64,{data}. Note that URL could have length limits."
},
"data": {
"type": "string",
"contentEncoding": "base64",
"description": "base64 encoded image data as string"
}
},
"additionalProperties": false,
"description": "Image as a base64 encoded string or an URL"
}
},
"additionalProperties": false,
"required": [
"type",
"image"
],
"title": "ImageContentItem",
"description": "A image content item"
},
"InterleavedContent": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/components/schemas/InterleavedContentItem"
},
{
"type": "array",
"items": {
"$ref": "#/components/schemas/InterleavedContentItem"
}
}
]
},
"InterleavedContentItem": {
"oneOf": [
{
"$ref": "#/components/schemas/ImageContentItem"
},
{
"$ref": "#/components/schemas/TextContentItem"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"image": "#/components/schemas/ImageContentItem",
"text": "#/components/schemas/TextContentItem"
}
}
},
"Message": {
"oneOf": [
{
"$ref": "#/components/schemas/UserMessage"
},
{
"$ref": "#/components/schemas/SystemMessage"
},
{
"$ref": "#/components/schemas/ToolResponseMessage"
},
{
"$ref": "#/components/schemas/CompletionMessage"
}
],
"discriminator": {
"propertyName": "role",
"mapping": {
"user": "#/components/schemas/UserMessage",
"system": "#/components/schemas/SystemMessage",
"tool": "#/components/schemas/ToolResponseMessage",
"assistant": "#/components/schemas/CompletionMessage"
}
}
},
"SystemMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "system",
"default": "system",
"description": "Must be \"system\" to identify this as a system message"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The content of the \"system prompt\". If multiple system messages are provided, they are concatenated. The underlying Llama Stack code may also add other system messages (for example, for formatting tool definitions)."
}
},
"additionalProperties": false,
"required": [
"role",
"content"
],
"title": "SystemMessage",
"description": "A system message providing instructions or context to the model."
},
"TextContentItem": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "text",
"default": "text",
"description": "Discriminator type of the content item. Always \"text\""
},
"text": {
"type": "string",
"description": "Text content"
}
},
"additionalProperties": false,
"required": [
"type",
"text"
],
"title": "TextContentItem",
"description": "A text content item"
},
"ToolCall": {
"type": "object",
"properties": {
"call_id": {
"type": "string"
},
"tool_name": {
"oneOf": [
{
"type": "string",
"enum": [
"brave_search",
"wolfram_alpha",
"photogen",
"code_interpreter"
],
"title": "BuiltinTool"
},
{
"type": "string"
}
]
},
"arguments": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"call_id",
"tool_name",
"arguments"
],
"title": "ToolCall"
},
"ToolResponseMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "tool",
"default": "tool",
"description": "Must be \"tool\" to identify this as a tool response"
},
"call_id": {
"type": "string",
"description": "Unique identifier for the tool call this response is for"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The response content from the tool"
}
},
"additionalProperties": false,
"required": [
"role",
"call_id",
"content"
],
"title": "ToolResponseMessage",
"description": "A message representing the result of a tool invocation."
},
"URL": {
"type": "object",
"properties": {
"uri": {
"type": "string",
"description": "The URL string pointing to the resource"
}
},
"additionalProperties": false,
"required": [
"uri"
],
"title": "URL",
"description": "A URL reference to external content."
},
"UserMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "user",
"default": "user",
"description": "Must be \"user\" to identify this as a user message"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The content of the message, which can include text and other media"
},
"context": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "(Optional) This field is used internally by Llama Stack to pass RAG context. This field may be removed in the API in the future."
}
},
"additionalProperties": false,
"required": [
"role",
"content"
],
"title": "UserMessage",
"description": "A message from the user in a chat conversation."
},
"RunShieldRequest": { "RunShieldRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -10104,7 +9828,7 @@
"messages": { "messages": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/Message" "$ref": "#/components/schemas/OpenAIMessageParam"
}, },
"description": "The messages to run the shield on." "description": "The messages to run the shield on."
}, },
@ -11070,6 +10794,284 @@
], ],
"title": "RegisterShieldRequest" "title": "RegisterShieldRequest"
}, },
"CompletionMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "assistant",
"default": "assistant",
"description": "Must be \"assistant\" to identify this as the model's response"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The content of the model's response"
},
"stop_reason": {
"type": "string",
"enum": [
"end_of_turn",
"end_of_message",
"out_of_tokens"
],
"description": "Reason why the model stopped generating. Options are: - `StopReason.end_of_turn`: The model finished generating the entire response. - `StopReason.end_of_message`: The model finished generating but generated a partial response -- usually, a tool call. The user may call the tool and continue the conversation with the tool's response. - `StopReason.out_of_tokens`: The model ran out of token budget."
},
"tool_calls": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ToolCall"
},
"description": "List of tool calls. Each tool call is a ToolCall object."
}
},
"additionalProperties": false,
"required": [
"role",
"content",
"stop_reason"
],
"title": "CompletionMessage",
"description": "A message containing the model's (assistant) response in a chat conversation."
},
"ImageContentItem": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "image",
"default": "image",
"description": "Discriminator type of the content item. Always \"image\""
},
"image": {
"type": "object",
"properties": {
"url": {
"$ref": "#/components/schemas/URL",
"description": "A URL of the image or data URL in the format of data:image/{type};base64,{data}. Note that URL could have length limits."
},
"data": {
"type": "string",
"contentEncoding": "base64",
"description": "base64 encoded image data as string"
}
},
"additionalProperties": false,
"description": "Image as a base64 encoded string or an URL"
}
},
"additionalProperties": false,
"required": [
"type",
"image"
],
"title": "ImageContentItem",
"description": "A image content item"
},
"InterleavedContent": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/components/schemas/InterleavedContentItem"
},
{
"type": "array",
"items": {
"$ref": "#/components/schemas/InterleavedContentItem"
}
}
]
},
"InterleavedContentItem": {
"oneOf": [
{
"$ref": "#/components/schemas/ImageContentItem"
},
{
"$ref": "#/components/schemas/TextContentItem"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"image": "#/components/schemas/ImageContentItem",
"text": "#/components/schemas/TextContentItem"
}
}
},
"Message": {
"oneOf": [
{
"$ref": "#/components/schemas/UserMessage"
},
{
"$ref": "#/components/schemas/SystemMessage"
},
{
"$ref": "#/components/schemas/ToolResponseMessage"
},
{
"$ref": "#/components/schemas/CompletionMessage"
}
],
"discriminator": {
"propertyName": "role",
"mapping": {
"user": "#/components/schemas/UserMessage",
"system": "#/components/schemas/SystemMessage",
"tool": "#/components/schemas/ToolResponseMessage",
"assistant": "#/components/schemas/CompletionMessage"
}
}
},
"SystemMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "system",
"default": "system",
"description": "Must be \"system\" to identify this as a system message"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The content of the \"system prompt\". If multiple system messages are provided, they are concatenated. The underlying Llama Stack code may also add other system messages (for example, for formatting tool definitions)."
}
},
"additionalProperties": false,
"required": [
"role",
"content"
],
"title": "SystemMessage",
"description": "A system message providing instructions or context to the model."
},
"TextContentItem": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "text",
"default": "text",
"description": "Discriminator type of the content item. Always \"text\""
},
"text": {
"type": "string",
"description": "Text content"
}
},
"additionalProperties": false,
"required": [
"type",
"text"
],
"title": "TextContentItem",
"description": "A text content item"
},
"ToolCall": {
"type": "object",
"properties": {
"call_id": {
"type": "string"
},
"tool_name": {
"oneOf": [
{
"type": "string",
"enum": [
"brave_search",
"wolfram_alpha",
"photogen",
"code_interpreter"
],
"title": "BuiltinTool"
},
{
"type": "string"
}
]
},
"arguments": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"call_id",
"tool_name",
"arguments"
],
"title": "ToolCall"
},
"ToolResponseMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "tool",
"default": "tool",
"description": "Must be \"tool\" to identify this as a tool response"
},
"call_id": {
"type": "string",
"description": "Unique identifier for the tool call this response is for"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The response content from the tool"
}
},
"additionalProperties": false,
"required": [
"role",
"call_id",
"content"
],
"title": "ToolResponseMessage",
"description": "A message representing the result of a tool invocation."
},
"URL": {
"type": "object",
"properties": {
"uri": {
"type": "string",
"description": "The URL string pointing to the resource"
}
},
"additionalProperties": false,
"required": [
"uri"
],
"title": "URL",
"description": "A URL reference to external content."
},
"UserMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "user",
"default": "user",
"description": "Must be \"user\" to identify this as a user message"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The content of the message, which can include text and other media"
},
"context": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "(Optional) This field is used internally by Llama Stack to pass RAG context. This field may be removed in the API in the future."
}
},
"additionalProperties": false,
"required": [
"role",
"content"
],
"title": "UserMessage",
"description": "A message from the user in a chat conversation."
},
"SyntheticDataGenerateRequest": { "SyntheticDataGenerateRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -12587,19 +12589,19 @@
"title": "VectorStoreObject", "title": "VectorStoreObject",
"description": "OpenAI Vector Store object." "description": "OpenAI Vector Store object."
}, },
"OpenaiCreateVectorStoreRequest": { "OpenAICreateVectorStoreRequestWithExtraBody": {
"type": "object", "type": "object",
"properties": { "properties": {
"name": { "name": {
"type": "string", "type": "string",
"description": "A name for the vector store." "description": "(Optional) A name for the vector store"
}, },
"file_ids": { "file_ids": {
"type": "array", "type": "array",
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "A list of File IDs that the vector store should use. Useful for tools like `file_search` that can access files." "description": "List of file IDs to include in the vector store"
}, },
"expires_after": { "expires_after": {
"type": "object", "type": "object",
@ -12625,7 +12627,7 @@
} }
] ]
}, },
"description": "The expiration policy for a vector store." "description": "(Optional) Expiration policy for the vector store"
}, },
"chunking_strategy": { "chunking_strategy": {
"type": "object", "type": "object",
@ -12651,7 +12653,7 @@
} }
] ]
}, },
"description": "The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy." "description": "(Optional) Strategy for splitting files into chunks"
}, },
"metadata": { "metadata": {
"type": "object", "type": "object",
@ -12677,23 +12679,12 @@
} }
] ]
}, },
"description": "Set of 16 key-value pairs that can be attached to an object." "description": "Set of key-value pairs that can be attached to the vector store"
},
"embedding_model": {
"type": "string",
"description": "The embedding model to use for this vector store."
},
"embedding_dimension": {
"type": "integer",
"description": "The dimension of the embedding vectors (default: 384)."
},
"provider_id": {
"type": "string",
"description": "The ID of the provider to use for this vector store."
} }
}, },
"additionalProperties": false, "additionalProperties": false,
"title": "OpenaiCreateVectorStoreRequest" "title": "OpenAICreateVectorStoreRequestWithExtraBody",
"description": "Request to create a vector store with extra_body support."
}, },
"OpenaiUpdateVectorStoreRequest": { "OpenaiUpdateVectorStoreRequest": {
"type": "object", "type": "object",
@ -12863,7 +12854,7 @@
"title": "VectorStoreChunkingStrategyStaticConfig", "title": "VectorStoreChunkingStrategyStaticConfig",
"description": "Configuration for static chunking strategy." "description": "Configuration for static chunking strategy."
}, },
"OpenaiCreateVectorStoreFileBatchRequest": { "OpenAICreateVectorStoreFileBatchRequestWithExtraBody": {
"type": "object", "type": "object",
"properties": { "properties": {
"file_ids": { "file_ids": {
@ -12871,7 +12862,7 @@
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "A list of File IDs that the vector store should use." "description": "A list of File IDs that the vector store should use"
}, },
"attributes": { "attributes": {
"type": "object", "type": "object",
@ -12897,18 +12888,19 @@
} }
] ]
}, },
"description": "(Optional) Key-value attributes to store with the files." "description": "(Optional) Key-value attributes to store with the files"
}, },
"chunking_strategy": { "chunking_strategy": {
"$ref": "#/components/schemas/VectorStoreChunkingStrategy", "$ref": "#/components/schemas/VectorStoreChunkingStrategy",
"description": "(Optional) The chunking strategy used to chunk the file(s). Defaults to auto." "description": "(Optional) The chunking strategy used to chunk the file(s). Defaults to auto"
} }
}, },
"additionalProperties": false, "additionalProperties": false,
"required": [ "required": [
"file_ids" "file_ids"
], ],
"title": "OpenaiCreateVectorStoreFileBatchRequest" "title": "OpenAICreateVectorStoreFileBatchRequestWithExtraBody",
"description": "Request to create a vector store file batch with extra_body support."
}, },
"VectorStoreFileBatchObject": { "VectorStoreFileBatchObject": {
"type": "object", "type": "object",

View file

@ -617,7 +617,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/OpenaiEmbeddingsRequest' $ref: '#/components/schemas/OpenAIEmbeddingsRequestWithExtraBody'
required: true required: true
deprecated: false deprecated: false
/v1/files: /v1/files:
@ -2413,13 +2413,16 @@ paths:
tags: tags:
- VectorIO - VectorIO
summary: Creates a vector store. summary: Creates a vector store.
description: Creates a vector store. description: >-
Creates a vector store.
Generate an OpenAI-compatible vector store with the given parameters.
parameters: [] parameters: []
requestBody: requestBody:
content: content:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/OpenaiCreateVectorStoreRequest' $ref: '#/components/schemas/OpenAICreateVectorStoreRequestWithExtraBody'
required: true required: true
deprecated: false deprecated: false
/v1/vector_stores/{vector_store_id}: /v1/vector_stores/{vector_store_id}:
@ -2545,7 +2548,11 @@ paths:
tags: tags:
- VectorIO - VectorIO
summary: Create a vector store file batch. summary: Create a vector store file batch.
description: Create a vector store file batch. description: >-
Create a vector store file batch.
Generate an OpenAI-compatible vector store file batch for the given vector
store.
parameters: parameters:
- name: vector_store_id - name: vector_store_id
in: path in: path
@ -2558,7 +2565,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/OpenaiCreateVectorStoreFileBatchRequest' $ref: '#/components/schemas/OpenAICreateVectorStoreFileBatchRequestWithExtraBody'
required: true required: true
deprecated: false deprecated: false
/v1/vector_stores/{vector_store_id}/file_batches/{batch_id}: /v1/vector_stores/{vector_store_id}/file_batches/{batch_id}:
@ -4797,7 +4804,7 @@ components:
- deleted - deleted
title: ConversationItemDeletedResource title: ConversationItemDeletedResource
description: Response for deleted conversation item. description: Response for deleted conversation item.
OpenaiEmbeddingsRequest: OpenAIEmbeddingsRequestWithExtraBody:
type: object type: object
properties: properties:
model: model:
@ -4816,6 +4823,7 @@ components:
multiple inputs in a single request, pass an array of strings. multiple inputs in a single request, pass an array of strings.
encoding_format: encoding_format:
type: string type: string
default: float
description: >- description: >-
(Optional) The format to return the embeddings in. Can be either "float" (Optional) The format to return the embeddings in. Can be either "float"
or "base64". Defaults to "float". or "base64". Defaults to "float".
@ -4833,7 +4841,9 @@ components:
required: required:
- model - model
- input - input
title: OpenaiEmbeddingsRequest title: OpenAIEmbeddingsRequestWithExtraBody
description: >-
Request parameters for OpenAI-compatible embeddings endpoint.
OpenAIEmbeddingData: OpenAIEmbeddingData:
type: object type: object
properties: properties:
@ -7591,227 +7601,6 @@ components:
title: ListOpenAIResponseInputItem title: ListOpenAIResponseInputItem
description: >- description: >-
List container for OpenAI response input items. List container for OpenAI response input items.
CompletionMessage:
type: object
properties:
role:
type: string
const: assistant
default: assistant
description: >-
Must be "assistant" to identify this as the model's response
content:
$ref: '#/components/schemas/InterleavedContent'
description: The content of the model's response
stop_reason:
type: string
enum:
- end_of_turn
- end_of_message
- out_of_tokens
description: >-
Reason why the model stopped generating. Options are: - `StopReason.end_of_turn`:
The model finished generating the entire response. - `StopReason.end_of_message`:
The model finished generating but generated a partial response -- usually,
a tool call. The user may call the tool and continue the conversation
with the tool's response. - `StopReason.out_of_tokens`: The model ran
out of token budget.
tool_calls:
type: array
items:
$ref: '#/components/schemas/ToolCall'
description: >-
List of tool calls. Each tool call is a ToolCall object.
additionalProperties: false
required:
- role
- content
- stop_reason
title: CompletionMessage
description: >-
A message containing the model's (assistant) response in a chat conversation.
ImageContentItem:
type: object
properties:
type:
type: string
const: image
default: image
description: >-
Discriminator type of the content item. Always "image"
image:
type: object
properties:
url:
$ref: '#/components/schemas/URL'
description: >-
A URL of the image or data URL in the format of data:image/{type};base64,{data}.
Note that URL could have length limits.
data:
type: string
contentEncoding: base64
description: base64 encoded image data as string
additionalProperties: false
description: >-
Image as a base64 encoded string or an URL
additionalProperties: false
required:
- type
- image
title: ImageContentItem
description: A image content item
InterleavedContent:
oneOf:
- type: string
- $ref: '#/components/schemas/InterleavedContentItem'
- type: array
items:
$ref: '#/components/schemas/InterleavedContentItem'
InterleavedContentItem:
oneOf:
- $ref: '#/components/schemas/ImageContentItem'
- $ref: '#/components/schemas/TextContentItem'
discriminator:
propertyName: type
mapping:
image: '#/components/schemas/ImageContentItem'
text: '#/components/schemas/TextContentItem'
Message:
oneOf:
- $ref: '#/components/schemas/UserMessage'
- $ref: '#/components/schemas/SystemMessage'
- $ref: '#/components/schemas/ToolResponseMessage'
- $ref: '#/components/schemas/CompletionMessage'
discriminator:
propertyName: role
mapping:
user: '#/components/schemas/UserMessage'
system: '#/components/schemas/SystemMessage'
tool: '#/components/schemas/ToolResponseMessage'
assistant: '#/components/schemas/CompletionMessage'
SystemMessage:
type: object
properties:
role:
type: string
const: system
default: system
description: >-
Must be "system" to identify this as a system message
content:
$ref: '#/components/schemas/InterleavedContent'
description: >-
The content of the "system prompt". If multiple system messages are provided,
they are concatenated. The underlying Llama Stack code may also add other
system messages (for example, for formatting tool definitions).
additionalProperties: false
required:
- role
- content
title: SystemMessage
description: >-
A system message providing instructions or context to the model.
TextContentItem:
type: object
properties:
type:
type: string
const: text
default: text
description: >-
Discriminator type of the content item. Always "text"
text:
type: string
description: Text content
additionalProperties: false
required:
- type
- text
title: TextContentItem
description: A text content item
ToolCall:
type: object
properties:
call_id:
type: string
tool_name:
oneOf:
- type: string
enum:
- brave_search
- wolfram_alpha
- photogen
- code_interpreter
title: BuiltinTool
- type: string
arguments:
type: string
additionalProperties: false
required:
- call_id
- tool_name
- arguments
title: ToolCall
ToolResponseMessage:
type: object
properties:
role:
type: string
const: tool
default: tool
description: >-
Must be "tool" to identify this as a tool response
call_id:
type: string
description: >-
Unique identifier for the tool call this response is for
content:
$ref: '#/components/schemas/InterleavedContent'
description: The response content from the tool
additionalProperties: false
required:
- role
- call_id
- content
title: ToolResponseMessage
description: >-
A message representing the result of a tool invocation.
URL:
type: object
properties:
uri:
type: string
description: The URL string pointing to the resource
additionalProperties: false
required:
- uri
title: URL
description: A URL reference to external content.
UserMessage:
type: object
properties:
role:
type: string
const: user
default: user
description: >-
Must be "user" to identify this as a user message
content:
$ref: '#/components/schemas/InterleavedContent'
description: >-
The content of the message, which can include text and other media
context:
$ref: '#/components/schemas/InterleavedContent'
description: >-
(Optional) This field is used internally by Llama Stack to pass RAG context.
This field may be removed in the API in the future.
additionalProperties: false
required:
- role
- content
title: UserMessage
description: >-
A message from the user in a chat conversation.
RunShieldRequest: RunShieldRequest:
type: object type: object
properties: properties:
@ -7821,7 +7610,7 @@ components:
messages: messages:
type: array type: array
items: items:
$ref: '#/components/schemas/Message' $ref: '#/components/schemas/OpenAIMessageParam'
description: The messages to run the shield on. description: The messages to run the shield on.
params: params:
type: object type: object
@ -8488,6 +8277,227 @@ components:
required: required:
- shield_id - shield_id
title: RegisterShieldRequest title: RegisterShieldRequest
CompletionMessage:
type: object
properties:
role:
type: string
const: assistant
default: assistant
description: >-
Must be "assistant" to identify this as the model's response
content:
$ref: '#/components/schemas/InterleavedContent'
description: The content of the model's response
stop_reason:
type: string
enum:
- end_of_turn
- end_of_message
- out_of_tokens
description: >-
Reason why the model stopped generating. Options are: - `StopReason.end_of_turn`:
The model finished generating the entire response. - `StopReason.end_of_message`:
The model finished generating but generated a partial response -- usually,
a tool call. The user may call the tool and continue the conversation
with the tool's response. - `StopReason.out_of_tokens`: The model ran
out of token budget.
tool_calls:
type: array
items:
$ref: '#/components/schemas/ToolCall'
description: >-
List of tool calls. Each tool call is a ToolCall object.
additionalProperties: false
required:
- role
- content
- stop_reason
title: CompletionMessage
description: >-
A message containing the model's (assistant) response in a chat conversation.
ImageContentItem:
type: object
properties:
type:
type: string
const: image
default: image
description: >-
Discriminator type of the content item. Always "image"
image:
type: object
properties:
url:
$ref: '#/components/schemas/URL'
description: >-
A URL of the image or data URL in the format of data:image/{type};base64,{data}.
Note that URL could have length limits.
data:
type: string
contentEncoding: base64
description: base64 encoded image data as string
additionalProperties: false
description: >-
Image as a base64 encoded string or an URL
additionalProperties: false
required:
- type
- image
title: ImageContentItem
description: A image content item
InterleavedContent:
oneOf:
- type: string
- $ref: '#/components/schemas/InterleavedContentItem'
- type: array
items:
$ref: '#/components/schemas/InterleavedContentItem'
InterleavedContentItem:
oneOf:
- $ref: '#/components/schemas/ImageContentItem'
- $ref: '#/components/schemas/TextContentItem'
discriminator:
propertyName: type
mapping:
image: '#/components/schemas/ImageContentItem'
text: '#/components/schemas/TextContentItem'
Message:
oneOf:
- $ref: '#/components/schemas/UserMessage'
- $ref: '#/components/schemas/SystemMessage'
- $ref: '#/components/schemas/ToolResponseMessage'
- $ref: '#/components/schemas/CompletionMessage'
discriminator:
propertyName: role
mapping:
user: '#/components/schemas/UserMessage'
system: '#/components/schemas/SystemMessage'
tool: '#/components/schemas/ToolResponseMessage'
assistant: '#/components/schemas/CompletionMessage'
SystemMessage:
type: object
properties:
role:
type: string
const: system
default: system
description: >-
Must be "system" to identify this as a system message
content:
$ref: '#/components/schemas/InterleavedContent'
description: >-
The content of the "system prompt". If multiple system messages are provided,
they are concatenated. The underlying Llama Stack code may also add other
system messages (for example, for formatting tool definitions).
additionalProperties: false
required:
- role
- content
title: SystemMessage
description: >-
A system message providing instructions or context to the model.
TextContentItem:
type: object
properties:
type:
type: string
const: text
default: text
description: >-
Discriminator type of the content item. Always "text"
text:
type: string
description: Text content
additionalProperties: false
required:
- type
- text
title: TextContentItem
description: A text content item
ToolCall:
type: object
properties:
call_id:
type: string
tool_name:
oneOf:
- type: string
enum:
- brave_search
- wolfram_alpha
- photogen
- code_interpreter
title: BuiltinTool
- type: string
arguments:
type: string
additionalProperties: false
required:
- call_id
- tool_name
- arguments
title: ToolCall
ToolResponseMessage:
type: object
properties:
role:
type: string
const: tool
default: tool
description: >-
Must be "tool" to identify this as a tool response
call_id:
type: string
description: >-
Unique identifier for the tool call this response is for
content:
$ref: '#/components/schemas/InterleavedContent'
description: The response content from the tool
additionalProperties: false
required:
- role
- call_id
- content
title: ToolResponseMessage
description: >-
A message representing the result of a tool invocation.
URL:
type: object
properties:
uri:
type: string
description: The URL string pointing to the resource
additionalProperties: false
required:
- uri
title: URL
description: A URL reference to external content.
UserMessage:
type: object
properties:
role:
type: string
const: user
default: user
description: >-
Must be "user" to identify this as a user message
content:
$ref: '#/components/schemas/InterleavedContent'
description: >-
The content of the message, which can include text and other media
context:
$ref: '#/components/schemas/InterleavedContent'
description: >-
(Optional) This field is used internally by Llama Stack to pass RAG context.
This field may be removed in the API in the future.
additionalProperties: false
required:
- role
- content
title: UserMessage
description: >-
A message from the user in a chat conversation.
SyntheticDataGenerateRequest: SyntheticDataGenerateRequest:
type: object type: object
properties: properties:
@ -9612,19 +9622,18 @@ components:
- metadata - metadata
title: VectorStoreObject title: VectorStoreObject
description: OpenAI Vector Store object. description: OpenAI Vector Store object.
OpenaiCreateVectorStoreRequest: "OpenAICreateVectorStoreRequestWithExtraBody":
type: object type: object
properties: properties:
name: name:
type: string type: string
description: A name for the vector store. description: (Optional) A name for the vector store
file_ids: file_ids:
type: array type: array
items: items:
type: string type: string
description: >- description: >-
A list of File IDs that the vector store should use. Useful for tools List of file IDs to include in the vector store
like `file_search` that can access files.
expires_after: expires_after:
type: object type: object
additionalProperties: additionalProperties:
@ -9636,7 +9645,7 @@ components:
- type: array - type: array
- type: object - type: object
description: >- description: >-
The expiration policy for a vector store. (Optional) Expiration policy for the vector store
chunking_strategy: chunking_strategy:
type: object type: object
additionalProperties: additionalProperties:
@ -9648,8 +9657,7 @@ components:
- type: array - type: array
- type: object - type: object
description: >- description: >-
The chunking strategy used to chunk the file(s). If not set, will use (Optional) Strategy for splitting files into chunks
the `auto` strategy.
metadata: metadata:
type: object type: object
additionalProperties: additionalProperties:
@ -9661,21 +9669,12 @@ components:
- type: array - type: array
- type: object - type: object
description: >- description: >-
Set of 16 key-value pairs that can be attached to an object. Set of key-value pairs that can be attached to the vector store
embedding_model:
type: string
description: >-
The embedding model to use for this vector store.
embedding_dimension:
type: integer
description: >-
The dimension of the embedding vectors (default: 384).
provider_id:
type: string
description: >-
The ID of the provider to use for this vector store.
additionalProperties: false additionalProperties: false
title: OpenaiCreateVectorStoreRequest title: >-
OpenAICreateVectorStoreRequestWithExtraBody
description: >-
Request to create a vector store with extra_body support.
OpenaiUpdateVectorStoreRequest: OpenaiUpdateVectorStoreRequest:
type: object type: object
properties: properties:
@ -9796,7 +9795,7 @@ components:
title: VectorStoreChunkingStrategyStaticConfig title: VectorStoreChunkingStrategyStaticConfig
description: >- description: >-
Configuration for static chunking strategy. Configuration for static chunking strategy.
OpenaiCreateVectorStoreFileBatchRequest: "OpenAICreateVectorStoreFileBatchRequestWithExtraBody":
type: object type: object
properties: properties:
file_ids: file_ids:
@ -9804,7 +9803,7 @@ components:
items: items:
type: string type: string
description: >- description: >-
A list of File IDs that the vector store should use. A list of File IDs that the vector store should use
attributes: attributes:
type: object type: object
additionalProperties: additionalProperties:
@ -9816,16 +9815,19 @@ components:
- type: array - type: array
- type: object - type: object
description: >- description: >-
(Optional) Key-value attributes to store with the files. (Optional) Key-value attributes to store with the files
chunking_strategy: chunking_strategy:
$ref: '#/components/schemas/VectorStoreChunkingStrategy' $ref: '#/components/schemas/VectorStoreChunkingStrategy'
description: >- description: >-
(Optional) The chunking strategy used to chunk the file(s). Defaults to (Optional) The chunking strategy used to chunk the file(s). Defaults to
auto. auto
additionalProperties: false additionalProperties: false
required: required:
- file_ids - file_ids
title: OpenaiCreateVectorStoreFileBatchRequest title: >-
OpenAICreateVectorStoreFileBatchRequestWithExtraBody
description: >-
Request to create a vector store file batch with extra_body support.
VectorStoreFileBatchObject: VectorStoreFileBatchObject:
type: object type: object
properties: properties:

View file

@ -765,7 +765,7 @@
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/OpenaiEmbeddingsRequest" "$ref": "#/components/schemas/OpenAIEmbeddingsRequestWithExtraBody"
} }
} }
}, },
@ -3170,13 +3170,13 @@
"VectorIO" "VectorIO"
], ],
"summary": "Creates a vector store.", "summary": "Creates a vector store.",
"description": "Creates a vector store.", "description": "Creates a vector store.\nGenerate an OpenAI-compatible vector store with the given parameters.",
"parameters": [], "parameters": [],
"requestBody": { "requestBody": {
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/OpenaiCreateVectorStoreRequest" "$ref": "#/components/schemas/OpenAICreateVectorStoreRequestWithExtraBody"
} }
} }
}, },
@ -3356,7 +3356,7 @@
"VectorIO" "VectorIO"
], ],
"summary": "Create a vector store file batch.", "summary": "Create a vector store file batch.",
"description": "Create a vector store file batch.", "description": "Create a vector store file batch.\nGenerate an OpenAI-compatible vector store file batch for the given vector store.",
"parameters": [ "parameters": [
{ {
"name": "vector_store_id", "name": "vector_store_id",
@ -3372,7 +3372,7 @@
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/OpenaiCreateVectorStoreFileBatchRequest" "$ref": "#/components/schemas/OpenAICreateVectorStoreFileBatchRequestWithExtraBody"
} }
} }
}, },
@ -8333,7 +8333,7 @@
"title": "ConversationItemDeletedResource", "title": "ConversationItemDeletedResource",
"description": "Response for deleted conversation item." "description": "Response for deleted conversation item."
}, },
"OpenaiEmbeddingsRequest": { "OpenAIEmbeddingsRequestWithExtraBody": {
"type": "object", "type": "object",
"properties": { "properties": {
"model": { "model": {
@ -8356,6 +8356,7 @@
}, },
"encoding_format": { "encoding_format": {
"type": "string", "type": "string",
"default": "float",
"description": "(Optional) The format to return the embeddings in. Can be either \"float\" or \"base64\". Defaults to \"float\"." "description": "(Optional) The format to return the embeddings in. Can be either \"float\" or \"base64\". Defaults to \"float\"."
}, },
"dimensions": { "dimensions": {
@ -8372,7 +8373,8 @@
"model", "model",
"input" "input"
], ],
"title": "OpenaiEmbeddingsRequest" "title": "OpenAIEmbeddingsRequestWithExtraBody",
"description": "Request parameters for OpenAI-compatible embeddings endpoint."
}, },
"OpenAIEmbeddingData": { "OpenAIEmbeddingData": {
"type": "object", "type": "object",
@ -11825,284 +11827,6 @@
"title": "ListOpenAIResponseInputItem", "title": "ListOpenAIResponseInputItem",
"description": "List container for OpenAI response input items." "description": "List container for OpenAI response input items."
}, },
"CompletionMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "assistant",
"default": "assistant",
"description": "Must be \"assistant\" to identify this as the model's response"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The content of the model's response"
},
"stop_reason": {
"type": "string",
"enum": [
"end_of_turn",
"end_of_message",
"out_of_tokens"
],
"description": "Reason why the model stopped generating. Options are: - `StopReason.end_of_turn`: The model finished generating the entire response. - `StopReason.end_of_message`: The model finished generating but generated a partial response -- usually, a tool call. The user may call the tool and continue the conversation with the tool's response. - `StopReason.out_of_tokens`: The model ran out of token budget."
},
"tool_calls": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ToolCall"
},
"description": "List of tool calls. Each tool call is a ToolCall object."
}
},
"additionalProperties": false,
"required": [
"role",
"content",
"stop_reason"
],
"title": "CompletionMessage",
"description": "A message containing the model's (assistant) response in a chat conversation."
},
"ImageContentItem": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "image",
"default": "image",
"description": "Discriminator type of the content item. Always \"image\""
},
"image": {
"type": "object",
"properties": {
"url": {
"$ref": "#/components/schemas/URL",
"description": "A URL of the image or data URL in the format of data:image/{type};base64,{data}. Note that URL could have length limits."
},
"data": {
"type": "string",
"contentEncoding": "base64",
"description": "base64 encoded image data as string"
}
},
"additionalProperties": false,
"description": "Image as a base64 encoded string or an URL"
}
},
"additionalProperties": false,
"required": [
"type",
"image"
],
"title": "ImageContentItem",
"description": "A image content item"
},
"InterleavedContent": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/components/schemas/InterleavedContentItem"
},
{
"type": "array",
"items": {
"$ref": "#/components/schemas/InterleavedContentItem"
}
}
]
},
"InterleavedContentItem": {
"oneOf": [
{
"$ref": "#/components/schemas/ImageContentItem"
},
{
"$ref": "#/components/schemas/TextContentItem"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"image": "#/components/schemas/ImageContentItem",
"text": "#/components/schemas/TextContentItem"
}
}
},
"Message": {
"oneOf": [
{
"$ref": "#/components/schemas/UserMessage"
},
{
"$ref": "#/components/schemas/SystemMessage"
},
{
"$ref": "#/components/schemas/ToolResponseMessage"
},
{
"$ref": "#/components/schemas/CompletionMessage"
}
],
"discriminator": {
"propertyName": "role",
"mapping": {
"user": "#/components/schemas/UserMessage",
"system": "#/components/schemas/SystemMessage",
"tool": "#/components/schemas/ToolResponseMessage",
"assistant": "#/components/schemas/CompletionMessage"
}
}
},
"SystemMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "system",
"default": "system",
"description": "Must be \"system\" to identify this as a system message"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The content of the \"system prompt\". If multiple system messages are provided, they are concatenated. The underlying Llama Stack code may also add other system messages (for example, for formatting tool definitions)."
}
},
"additionalProperties": false,
"required": [
"role",
"content"
],
"title": "SystemMessage",
"description": "A system message providing instructions or context to the model."
},
"TextContentItem": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "text",
"default": "text",
"description": "Discriminator type of the content item. Always \"text\""
},
"text": {
"type": "string",
"description": "Text content"
}
},
"additionalProperties": false,
"required": [
"type",
"text"
],
"title": "TextContentItem",
"description": "A text content item"
},
"ToolCall": {
"type": "object",
"properties": {
"call_id": {
"type": "string"
},
"tool_name": {
"oneOf": [
{
"type": "string",
"enum": [
"brave_search",
"wolfram_alpha",
"photogen",
"code_interpreter"
],
"title": "BuiltinTool"
},
{
"type": "string"
}
]
},
"arguments": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"call_id",
"tool_name",
"arguments"
],
"title": "ToolCall"
},
"ToolResponseMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "tool",
"default": "tool",
"description": "Must be \"tool\" to identify this as a tool response"
},
"call_id": {
"type": "string",
"description": "Unique identifier for the tool call this response is for"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The response content from the tool"
}
},
"additionalProperties": false,
"required": [
"role",
"call_id",
"content"
],
"title": "ToolResponseMessage",
"description": "A message representing the result of a tool invocation."
},
"URL": {
"type": "object",
"properties": {
"uri": {
"type": "string",
"description": "The URL string pointing to the resource"
}
},
"additionalProperties": false,
"required": [
"uri"
],
"title": "URL",
"description": "A URL reference to external content."
},
"UserMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "user",
"default": "user",
"description": "Must be \"user\" to identify this as a user message"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The content of the message, which can include text and other media"
},
"context": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "(Optional) This field is used internally by Llama Stack to pass RAG context. This field may be removed in the API in the future."
}
},
"additionalProperties": false,
"required": [
"role",
"content"
],
"title": "UserMessage",
"description": "A message from the user in a chat conversation."
},
"RunShieldRequest": { "RunShieldRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -12113,7 +11837,7 @@
"messages": { "messages": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/Message" "$ref": "#/components/schemas/OpenAIMessageParam"
}, },
"description": "The messages to run the shield on." "description": "The messages to run the shield on."
}, },
@ -13079,6 +12803,284 @@
], ],
"title": "RegisterShieldRequest" "title": "RegisterShieldRequest"
}, },
"CompletionMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "assistant",
"default": "assistant",
"description": "Must be \"assistant\" to identify this as the model's response"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The content of the model's response"
},
"stop_reason": {
"type": "string",
"enum": [
"end_of_turn",
"end_of_message",
"out_of_tokens"
],
"description": "Reason why the model stopped generating. Options are: - `StopReason.end_of_turn`: The model finished generating the entire response. - `StopReason.end_of_message`: The model finished generating but generated a partial response -- usually, a tool call. The user may call the tool and continue the conversation with the tool's response. - `StopReason.out_of_tokens`: The model ran out of token budget."
},
"tool_calls": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ToolCall"
},
"description": "List of tool calls. Each tool call is a ToolCall object."
}
},
"additionalProperties": false,
"required": [
"role",
"content",
"stop_reason"
],
"title": "CompletionMessage",
"description": "A message containing the model's (assistant) response in a chat conversation."
},
"ImageContentItem": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "image",
"default": "image",
"description": "Discriminator type of the content item. Always \"image\""
},
"image": {
"type": "object",
"properties": {
"url": {
"$ref": "#/components/schemas/URL",
"description": "A URL of the image or data URL in the format of data:image/{type};base64,{data}. Note that URL could have length limits."
},
"data": {
"type": "string",
"contentEncoding": "base64",
"description": "base64 encoded image data as string"
}
},
"additionalProperties": false,
"description": "Image as a base64 encoded string or an URL"
}
},
"additionalProperties": false,
"required": [
"type",
"image"
],
"title": "ImageContentItem",
"description": "A image content item"
},
"InterleavedContent": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/components/schemas/InterleavedContentItem"
},
{
"type": "array",
"items": {
"$ref": "#/components/schemas/InterleavedContentItem"
}
}
]
},
"InterleavedContentItem": {
"oneOf": [
{
"$ref": "#/components/schemas/ImageContentItem"
},
{
"$ref": "#/components/schemas/TextContentItem"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"image": "#/components/schemas/ImageContentItem",
"text": "#/components/schemas/TextContentItem"
}
}
},
"Message": {
"oneOf": [
{
"$ref": "#/components/schemas/UserMessage"
},
{
"$ref": "#/components/schemas/SystemMessage"
},
{
"$ref": "#/components/schemas/ToolResponseMessage"
},
{
"$ref": "#/components/schemas/CompletionMessage"
}
],
"discriminator": {
"propertyName": "role",
"mapping": {
"user": "#/components/schemas/UserMessage",
"system": "#/components/schemas/SystemMessage",
"tool": "#/components/schemas/ToolResponseMessage",
"assistant": "#/components/schemas/CompletionMessage"
}
}
},
"SystemMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "system",
"default": "system",
"description": "Must be \"system\" to identify this as a system message"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The content of the \"system prompt\". If multiple system messages are provided, they are concatenated. The underlying Llama Stack code may also add other system messages (for example, for formatting tool definitions)."
}
},
"additionalProperties": false,
"required": [
"role",
"content"
],
"title": "SystemMessage",
"description": "A system message providing instructions or context to the model."
},
"TextContentItem": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "text",
"default": "text",
"description": "Discriminator type of the content item. Always \"text\""
},
"text": {
"type": "string",
"description": "Text content"
}
},
"additionalProperties": false,
"required": [
"type",
"text"
],
"title": "TextContentItem",
"description": "A text content item"
},
"ToolCall": {
"type": "object",
"properties": {
"call_id": {
"type": "string"
},
"tool_name": {
"oneOf": [
{
"type": "string",
"enum": [
"brave_search",
"wolfram_alpha",
"photogen",
"code_interpreter"
],
"title": "BuiltinTool"
},
{
"type": "string"
}
]
},
"arguments": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"call_id",
"tool_name",
"arguments"
],
"title": "ToolCall"
},
"ToolResponseMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "tool",
"default": "tool",
"description": "Must be \"tool\" to identify this as a tool response"
},
"call_id": {
"type": "string",
"description": "Unique identifier for the tool call this response is for"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The response content from the tool"
}
},
"additionalProperties": false,
"required": [
"role",
"call_id",
"content"
],
"title": "ToolResponseMessage",
"description": "A message representing the result of a tool invocation."
},
"URL": {
"type": "object",
"properties": {
"uri": {
"type": "string",
"description": "The URL string pointing to the resource"
}
},
"additionalProperties": false,
"required": [
"uri"
],
"title": "URL",
"description": "A URL reference to external content."
},
"UserMessage": {
"type": "object",
"properties": {
"role": {
"type": "string",
"const": "user",
"default": "user",
"description": "Must be \"user\" to identify this as a user message"
},
"content": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "The content of the message, which can include text and other media"
},
"context": {
"$ref": "#/components/schemas/InterleavedContent",
"description": "(Optional) This field is used internally by Llama Stack to pass RAG context. This field may be removed in the API in the future."
}
},
"additionalProperties": false,
"required": [
"role",
"content"
],
"title": "UserMessage",
"description": "A message from the user in a chat conversation."
},
"SyntheticDataGenerateRequest": { "SyntheticDataGenerateRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -14596,19 +14598,19 @@
"title": "VectorStoreObject", "title": "VectorStoreObject",
"description": "OpenAI Vector Store object." "description": "OpenAI Vector Store object."
}, },
"OpenaiCreateVectorStoreRequest": { "OpenAICreateVectorStoreRequestWithExtraBody": {
"type": "object", "type": "object",
"properties": { "properties": {
"name": { "name": {
"type": "string", "type": "string",
"description": "A name for the vector store." "description": "(Optional) A name for the vector store"
}, },
"file_ids": { "file_ids": {
"type": "array", "type": "array",
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "A list of File IDs that the vector store should use. Useful for tools like `file_search` that can access files." "description": "List of file IDs to include in the vector store"
}, },
"expires_after": { "expires_after": {
"type": "object", "type": "object",
@ -14634,7 +14636,7 @@
} }
] ]
}, },
"description": "The expiration policy for a vector store." "description": "(Optional) Expiration policy for the vector store"
}, },
"chunking_strategy": { "chunking_strategy": {
"type": "object", "type": "object",
@ -14660,7 +14662,7 @@
} }
] ]
}, },
"description": "The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy." "description": "(Optional) Strategy for splitting files into chunks"
}, },
"metadata": { "metadata": {
"type": "object", "type": "object",
@ -14686,23 +14688,12 @@
} }
] ]
}, },
"description": "Set of 16 key-value pairs that can be attached to an object." "description": "Set of key-value pairs that can be attached to the vector store"
},
"embedding_model": {
"type": "string",
"description": "The embedding model to use for this vector store."
},
"embedding_dimension": {
"type": "integer",
"description": "The dimension of the embedding vectors (default: 384)."
},
"provider_id": {
"type": "string",
"description": "The ID of the provider to use for this vector store."
} }
}, },
"additionalProperties": false, "additionalProperties": false,
"title": "OpenaiCreateVectorStoreRequest" "title": "OpenAICreateVectorStoreRequestWithExtraBody",
"description": "Request to create a vector store with extra_body support."
}, },
"OpenaiUpdateVectorStoreRequest": { "OpenaiUpdateVectorStoreRequest": {
"type": "object", "type": "object",
@ -14872,7 +14863,7 @@
"title": "VectorStoreChunkingStrategyStaticConfig", "title": "VectorStoreChunkingStrategyStaticConfig",
"description": "Configuration for static chunking strategy." "description": "Configuration for static chunking strategy."
}, },
"OpenaiCreateVectorStoreFileBatchRequest": { "OpenAICreateVectorStoreFileBatchRequestWithExtraBody": {
"type": "object", "type": "object",
"properties": { "properties": {
"file_ids": { "file_ids": {
@ -14880,7 +14871,7 @@
"items": { "items": {
"type": "string" "type": "string"
}, },
"description": "A list of File IDs that the vector store should use." "description": "A list of File IDs that the vector store should use"
}, },
"attributes": { "attributes": {
"type": "object", "type": "object",
@ -14906,18 +14897,19 @@
} }
] ]
}, },
"description": "(Optional) Key-value attributes to store with the files." "description": "(Optional) Key-value attributes to store with the files"
}, },
"chunking_strategy": { "chunking_strategy": {
"$ref": "#/components/schemas/VectorStoreChunkingStrategy", "$ref": "#/components/schemas/VectorStoreChunkingStrategy",
"description": "(Optional) The chunking strategy used to chunk the file(s). Defaults to auto." "description": "(Optional) The chunking strategy used to chunk the file(s). Defaults to auto"
} }
}, },
"additionalProperties": false, "additionalProperties": false,
"required": [ "required": [
"file_ids" "file_ids"
], ],
"title": "OpenaiCreateVectorStoreFileBatchRequest" "title": "OpenAICreateVectorStoreFileBatchRequestWithExtraBody",
"description": "Request to create a vector store file batch with extra_body support."
}, },
"VectorStoreFileBatchObject": { "VectorStoreFileBatchObject": {
"type": "object", "type": "object",

View file

@ -620,7 +620,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/OpenaiEmbeddingsRequest' $ref: '#/components/schemas/OpenAIEmbeddingsRequestWithExtraBody'
required: true required: true
deprecated: false deprecated: false
/v1/files: /v1/files:
@ -2416,13 +2416,16 @@ paths:
tags: tags:
- VectorIO - VectorIO
summary: Creates a vector store. summary: Creates a vector store.
description: Creates a vector store. description: >-
Creates a vector store.
Generate an OpenAI-compatible vector store with the given parameters.
parameters: [] parameters: []
requestBody: requestBody:
content: content:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/OpenaiCreateVectorStoreRequest' $ref: '#/components/schemas/OpenAICreateVectorStoreRequestWithExtraBody'
required: true required: true
deprecated: false deprecated: false
/v1/vector_stores/{vector_store_id}: /v1/vector_stores/{vector_store_id}:
@ -2548,7 +2551,11 @@ paths:
tags: tags:
- VectorIO - VectorIO
summary: Create a vector store file batch. summary: Create a vector store file batch.
description: Create a vector store file batch. description: >-
Create a vector store file batch.
Generate an OpenAI-compatible vector store file batch for the given vector
store.
parameters: parameters:
- name: vector_store_id - name: vector_store_id
in: path in: path
@ -2561,7 +2568,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/OpenaiCreateVectorStoreFileBatchRequest' $ref: '#/components/schemas/OpenAICreateVectorStoreFileBatchRequestWithExtraBody'
required: true required: true
deprecated: false deprecated: false
/v1/vector_stores/{vector_store_id}/file_batches/{batch_id}: /v1/vector_stores/{vector_store_id}/file_batches/{batch_id}:
@ -6242,7 +6249,7 @@ components:
- deleted - deleted
title: ConversationItemDeletedResource title: ConversationItemDeletedResource
description: Response for deleted conversation item. description: Response for deleted conversation item.
OpenaiEmbeddingsRequest: OpenAIEmbeddingsRequestWithExtraBody:
type: object type: object
properties: properties:
model: model:
@ -6261,6 +6268,7 @@ components:
multiple inputs in a single request, pass an array of strings. multiple inputs in a single request, pass an array of strings.
encoding_format: encoding_format:
type: string type: string
default: float
description: >- description: >-
(Optional) The format to return the embeddings in. Can be either "float" (Optional) The format to return the embeddings in. Can be either "float"
or "base64". Defaults to "float". or "base64". Defaults to "float".
@ -6278,7 +6286,9 @@ components:
required: required:
- model - model
- input - input
title: OpenaiEmbeddingsRequest title: OpenAIEmbeddingsRequestWithExtraBody
description: >-
Request parameters for OpenAI-compatible embeddings endpoint.
OpenAIEmbeddingData: OpenAIEmbeddingData:
type: object type: object
properties: properties:
@ -9036,227 +9046,6 @@ components:
title: ListOpenAIResponseInputItem title: ListOpenAIResponseInputItem
description: >- description: >-
List container for OpenAI response input items. List container for OpenAI response input items.
CompletionMessage:
type: object
properties:
role:
type: string
const: assistant
default: assistant
description: >-
Must be "assistant" to identify this as the model's response
content:
$ref: '#/components/schemas/InterleavedContent'
description: The content of the model's response
stop_reason:
type: string
enum:
- end_of_turn
- end_of_message
- out_of_tokens
description: >-
Reason why the model stopped generating. Options are: - `StopReason.end_of_turn`:
The model finished generating the entire response. - `StopReason.end_of_message`:
The model finished generating but generated a partial response -- usually,
a tool call. The user may call the tool and continue the conversation
with the tool's response. - `StopReason.out_of_tokens`: The model ran
out of token budget.
tool_calls:
type: array
items:
$ref: '#/components/schemas/ToolCall'
description: >-
List of tool calls. Each tool call is a ToolCall object.
additionalProperties: false
required:
- role
- content
- stop_reason
title: CompletionMessage
description: >-
A message containing the model's (assistant) response in a chat conversation.
ImageContentItem:
type: object
properties:
type:
type: string
const: image
default: image
description: >-
Discriminator type of the content item. Always "image"
image:
type: object
properties:
url:
$ref: '#/components/schemas/URL'
description: >-
A URL of the image or data URL in the format of data:image/{type};base64,{data}.
Note that URL could have length limits.
data:
type: string
contentEncoding: base64
description: base64 encoded image data as string
additionalProperties: false
description: >-
Image as a base64 encoded string or an URL
additionalProperties: false
required:
- type
- image
title: ImageContentItem
description: A image content item
InterleavedContent:
oneOf:
- type: string
- $ref: '#/components/schemas/InterleavedContentItem'
- type: array
items:
$ref: '#/components/schemas/InterleavedContentItem'
InterleavedContentItem:
oneOf:
- $ref: '#/components/schemas/ImageContentItem'
- $ref: '#/components/schemas/TextContentItem'
discriminator:
propertyName: type
mapping:
image: '#/components/schemas/ImageContentItem'
text: '#/components/schemas/TextContentItem'
Message:
oneOf:
- $ref: '#/components/schemas/UserMessage'
- $ref: '#/components/schemas/SystemMessage'
- $ref: '#/components/schemas/ToolResponseMessage'
- $ref: '#/components/schemas/CompletionMessage'
discriminator:
propertyName: role
mapping:
user: '#/components/schemas/UserMessage'
system: '#/components/schemas/SystemMessage'
tool: '#/components/schemas/ToolResponseMessage'
assistant: '#/components/schemas/CompletionMessage'
SystemMessage:
type: object
properties:
role:
type: string
const: system
default: system
description: >-
Must be "system" to identify this as a system message
content:
$ref: '#/components/schemas/InterleavedContent'
description: >-
The content of the "system prompt". If multiple system messages are provided,
they are concatenated. The underlying Llama Stack code may also add other
system messages (for example, for formatting tool definitions).
additionalProperties: false
required:
- role
- content
title: SystemMessage
description: >-
A system message providing instructions or context to the model.
TextContentItem:
type: object
properties:
type:
type: string
const: text
default: text
description: >-
Discriminator type of the content item. Always "text"
text:
type: string
description: Text content
additionalProperties: false
required:
- type
- text
title: TextContentItem
description: A text content item
ToolCall:
type: object
properties:
call_id:
type: string
tool_name:
oneOf:
- type: string
enum:
- brave_search
- wolfram_alpha
- photogen
- code_interpreter
title: BuiltinTool
- type: string
arguments:
type: string
additionalProperties: false
required:
- call_id
- tool_name
- arguments
title: ToolCall
ToolResponseMessage:
type: object
properties:
role:
type: string
const: tool
default: tool
description: >-
Must be "tool" to identify this as a tool response
call_id:
type: string
description: >-
Unique identifier for the tool call this response is for
content:
$ref: '#/components/schemas/InterleavedContent'
description: The response content from the tool
additionalProperties: false
required:
- role
- call_id
- content
title: ToolResponseMessage
description: >-
A message representing the result of a tool invocation.
URL:
type: object
properties:
uri:
type: string
description: The URL string pointing to the resource
additionalProperties: false
required:
- uri
title: URL
description: A URL reference to external content.
UserMessage:
type: object
properties:
role:
type: string
const: user
default: user
description: >-
Must be "user" to identify this as a user message
content:
$ref: '#/components/schemas/InterleavedContent'
description: >-
The content of the message, which can include text and other media
context:
$ref: '#/components/schemas/InterleavedContent'
description: >-
(Optional) This field is used internally by Llama Stack to pass RAG context.
This field may be removed in the API in the future.
additionalProperties: false
required:
- role
- content
title: UserMessage
description: >-
A message from the user in a chat conversation.
RunShieldRequest: RunShieldRequest:
type: object type: object
properties: properties:
@ -9266,7 +9055,7 @@ components:
messages: messages:
type: array type: array
items: items:
$ref: '#/components/schemas/Message' $ref: '#/components/schemas/OpenAIMessageParam'
description: The messages to run the shield on. description: The messages to run the shield on.
params: params:
type: object type: object
@ -9933,6 +9722,227 @@ components:
required: required:
- shield_id - shield_id
title: RegisterShieldRequest title: RegisterShieldRequest
CompletionMessage:
type: object
properties:
role:
type: string
const: assistant
default: assistant
description: >-
Must be "assistant" to identify this as the model's response
content:
$ref: '#/components/schemas/InterleavedContent'
description: The content of the model's response
stop_reason:
type: string
enum:
- end_of_turn
- end_of_message
- out_of_tokens
description: >-
Reason why the model stopped generating. Options are: - `StopReason.end_of_turn`:
The model finished generating the entire response. - `StopReason.end_of_message`:
The model finished generating but generated a partial response -- usually,
a tool call. The user may call the tool and continue the conversation
with the tool's response. - `StopReason.out_of_tokens`: The model ran
out of token budget.
tool_calls:
type: array
items:
$ref: '#/components/schemas/ToolCall'
description: >-
List of tool calls. Each tool call is a ToolCall object.
additionalProperties: false
required:
- role
- content
- stop_reason
title: CompletionMessage
description: >-
A message containing the model's (assistant) response in a chat conversation.
ImageContentItem:
type: object
properties:
type:
type: string
const: image
default: image
description: >-
Discriminator type of the content item. Always "image"
image:
type: object
properties:
url:
$ref: '#/components/schemas/URL'
description: >-
A URL of the image or data URL in the format of data:image/{type};base64,{data}.
Note that URL could have length limits.
data:
type: string
contentEncoding: base64
description: base64 encoded image data as string
additionalProperties: false
description: >-
Image as a base64 encoded string or an URL
additionalProperties: false
required:
- type
- image
title: ImageContentItem
description: A image content item
InterleavedContent:
oneOf:
- type: string
- $ref: '#/components/schemas/InterleavedContentItem'
- type: array
items:
$ref: '#/components/schemas/InterleavedContentItem'
InterleavedContentItem:
oneOf:
- $ref: '#/components/schemas/ImageContentItem'
- $ref: '#/components/schemas/TextContentItem'
discriminator:
propertyName: type
mapping:
image: '#/components/schemas/ImageContentItem'
text: '#/components/schemas/TextContentItem'
Message:
oneOf:
- $ref: '#/components/schemas/UserMessage'
- $ref: '#/components/schemas/SystemMessage'
- $ref: '#/components/schemas/ToolResponseMessage'
- $ref: '#/components/schemas/CompletionMessage'
discriminator:
propertyName: role
mapping:
user: '#/components/schemas/UserMessage'
system: '#/components/schemas/SystemMessage'
tool: '#/components/schemas/ToolResponseMessage'
assistant: '#/components/schemas/CompletionMessage'
SystemMessage:
type: object
properties:
role:
type: string
const: system
default: system
description: >-
Must be "system" to identify this as a system message
content:
$ref: '#/components/schemas/InterleavedContent'
description: >-
The content of the "system prompt". If multiple system messages are provided,
they are concatenated. The underlying Llama Stack code may also add other
system messages (for example, for formatting tool definitions).
additionalProperties: false
required:
- role
- content
title: SystemMessage
description: >-
A system message providing instructions or context to the model.
TextContentItem:
type: object
properties:
type:
type: string
const: text
default: text
description: >-
Discriminator type of the content item. Always "text"
text:
type: string
description: Text content
additionalProperties: false
required:
- type
- text
title: TextContentItem
description: A text content item
ToolCall:
type: object
properties:
call_id:
type: string
tool_name:
oneOf:
- type: string
enum:
- brave_search
- wolfram_alpha
- photogen
- code_interpreter
title: BuiltinTool
- type: string
arguments:
type: string
additionalProperties: false
required:
- call_id
- tool_name
- arguments
title: ToolCall
ToolResponseMessage:
type: object
properties:
role:
type: string
const: tool
default: tool
description: >-
Must be "tool" to identify this as a tool response
call_id:
type: string
description: >-
Unique identifier for the tool call this response is for
content:
$ref: '#/components/schemas/InterleavedContent'
description: The response content from the tool
additionalProperties: false
required:
- role
- call_id
- content
title: ToolResponseMessage
description: >-
A message representing the result of a tool invocation.
URL:
type: object
properties:
uri:
type: string
description: The URL string pointing to the resource
additionalProperties: false
required:
- uri
title: URL
description: A URL reference to external content.
UserMessage:
type: object
properties:
role:
type: string
const: user
default: user
description: >-
Must be "user" to identify this as a user message
content:
$ref: '#/components/schemas/InterleavedContent'
description: >-
The content of the message, which can include text and other media
context:
$ref: '#/components/schemas/InterleavedContent'
description: >-
(Optional) This field is used internally by Llama Stack to pass RAG context.
This field may be removed in the API in the future.
additionalProperties: false
required:
- role
- content
title: UserMessage
description: >-
A message from the user in a chat conversation.
SyntheticDataGenerateRequest: SyntheticDataGenerateRequest:
type: object type: object
properties: properties:
@ -11057,19 +11067,18 @@ components:
- metadata - metadata
title: VectorStoreObject title: VectorStoreObject
description: OpenAI Vector Store object. description: OpenAI Vector Store object.
OpenaiCreateVectorStoreRequest: "OpenAICreateVectorStoreRequestWithExtraBody":
type: object type: object
properties: properties:
name: name:
type: string type: string
description: A name for the vector store. description: (Optional) A name for the vector store
file_ids: file_ids:
type: array type: array
items: items:
type: string type: string
description: >- description: >-
A list of File IDs that the vector store should use. Useful for tools List of file IDs to include in the vector store
like `file_search` that can access files.
expires_after: expires_after:
type: object type: object
additionalProperties: additionalProperties:
@ -11081,7 +11090,7 @@ components:
- type: array - type: array
- type: object - type: object
description: >- description: >-
The expiration policy for a vector store. (Optional) Expiration policy for the vector store
chunking_strategy: chunking_strategy:
type: object type: object
additionalProperties: additionalProperties:
@ -11093,8 +11102,7 @@ components:
- type: array - type: array
- type: object - type: object
description: >- description: >-
The chunking strategy used to chunk the file(s). If not set, will use (Optional) Strategy for splitting files into chunks
the `auto` strategy.
metadata: metadata:
type: object type: object
additionalProperties: additionalProperties:
@ -11106,21 +11114,12 @@ components:
- type: array - type: array
- type: object - type: object
description: >- description: >-
Set of 16 key-value pairs that can be attached to an object. Set of key-value pairs that can be attached to the vector store
embedding_model:
type: string
description: >-
The embedding model to use for this vector store.
embedding_dimension:
type: integer
description: >-
The dimension of the embedding vectors (default: 384).
provider_id:
type: string
description: >-
The ID of the provider to use for this vector store.
additionalProperties: false additionalProperties: false
title: OpenaiCreateVectorStoreRequest title: >-
OpenAICreateVectorStoreRequestWithExtraBody
description: >-
Request to create a vector store with extra_body support.
OpenaiUpdateVectorStoreRequest: OpenaiUpdateVectorStoreRequest:
type: object type: object
properties: properties:
@ -11241,7 +11240,7 @@ components:
title: VectorStoreChunkingStrategyStaticConfig title: VectorStoreChunkingStrategyStaticConfig
description: >- description: >-
Configuration for static chunking strategy. Configuration for static chunking strategy.
OpenaiCreateVectorStoreFileBatchRequest: "OpenAICreateVectorStoreFileBatchRequestWithExtraBody":
type: object type: object
properties: properties:
file_ids: file_ids:
@ -11249,7 +11248,7 @@ components:
items: items:
type: string type: string
description: >- description: >-
A list of File IDs that the vector store should use. A list of File IDs that the vector store should use
attributes: attributes:
type: object type: object
additionalProperties: additionalProperties:
@ -11261,16 +11260,19 @@ components:
- type: array - type: array
- type: object - type: object
description: >- description: >-
(Optional) Key-value attributes to store with the files. (Optional) Key-value attributes to store with the files
chunking_strategy: chunking_strategy:
$ref: '#/components/schemas/VectorStoreChunkingStrategy' $ref: '#/components/schemas/VectorStoreChunkingStrategy'
description: >- description: >-
(Optional) The chunking strategy used to chunk the file(s). Defaults to (Optional) The chunking strategy used to chunk the file(s). Defaults to
auto. auto
additionalProperties: false additionalProperties: false
required: required:
- file_ids - file_ids
title: OpenaiCreateVectorStoreFileBatchRequest title: >-
OpenAICreateVectorStoreFileBatchRequestWithExtraBody
description: >-
Request to create a vector store file batch with extra_body support.
VectorStoreFileBatchObject: VectorStoreFileBatchObject:
type: object type: object
properties: properties:

View file

@ -161,6 +161,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"id": "4ad70258",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -180,8 +181,8 @@
"# Create a vector database with optimized settings for general use\n", "# Create a vector database with optimized settings for general use\n",
"client.vector_dbs.register(\n", "client.vector_dbs.register(\n",
" vector_db_id=VECTOR_DB_ID,\n", " vector_db_id=VECTOR_DB_ID,\n",
" embedding_model=\"all-MiniLM-L6-v2\",\n", " embedding_model=\"nomic-embed-text-v1.5\",\n",
" embedding_dimension=384, # This is the dimension for all-MiniLM-L6-v2\n", " embedding_dimension=768, # This is the dimension for nomic-embed-text-v1.5\n",
" provider_id=provider_id,\n", " provider_id=provider_id,\n",
")" ")"
] ]

View file

@ -1140,6 +1140,25 @@ class OpenAIChatCompletionRequestWithExtraBody(BaseModel, extra="allow"):
user: str | None = None user: str | None = None
# extra_body can be accessed via .model_extra
@json_schema_type
class OpenAIEmbeddingsRequestWithExtraBody(BaseModel, extra="allow"):
"""Request parameters for OpenAI-compatible embeddings endpoint.
:param model: The identifier of the model to use. The model must be an embedding model registered with Llama Stack and available via the /models endpoint.
:param input: Input text to embed, encoded as a string or array of strings. To embed multiple inputs in a single request, pass an array of strings.
:param encoding_format: (Optional) The format to return the embeddings in. Can be either "float" or "base64". Defaults to "float".
:param dimensions: (Optional) The number of dimensions the resulting output embeddings should have. Only supported in text-embedding-3 and later models.
:param user: (Optional) A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.
"""
model: str
input: str | list[str]
encoding_format: str | None = "float"
dimensions: int | None = None
user: str | None = None
@runtime_checkable @runtime_checkable
@trace_protocol @trace_protocol
class InferenceProvider(Protocol): class InferenceProvider(Protocol):
@ -1200,21 +1219,11 @@ class InferenceProvider(Protocol):
@webmethod(route="/embeddings", method="POST", level=LLAMA_STACK_API_V1) @webmethod(route="/embeddings", method="POST", level=LLAMA_STACK_API_V1)
async def openai_embeddings( async def openai_embeddings(
self, self,
model: str, params: Annotated[OpenAIEmbeddingsRequestWithExtraBody, Body(...)],
input: str | list[str],
encoding_format: str | None = "float",
dimensions: int | None = None,
user: str | None = None,
) -> OpenAIEmbeddingsResponse: ) -> OpenAIEmbeddingsResponse:
"""Create embeddings. """Create embeddings.
Generate OpenAI-compatible embeddings for the given input using the specified model. Generate OpenAI-compatible embeddings for the given input using the specified model.
:param model: The identifier of the model to use. The model must be an embedding model registered with Llama Stack and available via the /models endpoint.
:param input: Input text to embed, encoded as a string or array of strings. To embed multiple inputs in a single request, pass an array of strings.
:param encoding_format: (Optional) The format to return the embeddings in. Can be either "float" or "base64". Defaults to "float".
:param dimensions: (Optional) The number of dimensions the resulting output embeddings should have. Only supported in text-embedding-3 and later models.
:param user: (Optional) A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.
:returns: An OpenAIEmbeddingsResponse containing the embeddings. :returns: An OpenAIEmbeddingsResponse containing the embeddings.
""" """
... ...

View file

@ -9,7 +9,7 @@ from typing import Any, Protocol, runtime_checkable
from pydantic import BaseModel, Field from pydantic import BaseModel, Field
from llama_stack.apis.inference import Message from llama_stack.apis.inference import OpenAIMessageParam
from llama_stack.apis.shields import Shield from llama_stack.apis.shields import Shield
from llama_stack.apis.version import LLAMA_STACK_API_V1 from llama_stack.apis.version import LLAMA_STACK_API_V1
from llama_stack.providers.utils.telemetry.trace_protocol import trace_protocol from llama_stack.providers.utils.telemetry.trace_protocol import trace_protocol
@ -107,7 +107,7 @@ class Safety(Protocol):
async def run_shield( async def run_shield(
self, self,
shield_id: str, shield_id: str,
messages: list[Message], messages: list[OpenAIMessageParam],
params: dict[str, Any], params: dict[str, Any],
) -> RunShieldResponse: ) -> RunShieldResponse:
"""Run shield. """Run shield.

View file

@ -11,6 +11,7 @@
import uuid import uuid
from typing import Annotated, Any, Literal, Protocol, runtime_checkable from typing import Annotated, Any, Literal, Protocol, runtime_checkable
from fastapi import Body
from pydantic import BaseModel, Field from pydantic import BaseModel, Field
from llama_stack.apis.inference import InterleavedContent from llama_stack.apis.inference import InterleavedContent
@ -466,6 +467,40 @@ class VectorStoreFilesListInBatchResponse(BaseModel):
has_more: bool = False has_more: bool = False
# extra_body can be accessed via .model_extra
@json_schema_type
class OpenAICreateVectorStoreRequestWithExtraBody(BaseModel, extra="allow"):
"""Request to create a vector store with extra_body support.
:param name: (Optional) A name for the vector store
:param file_ids: List of file IDs to include in the vector store
:param expires_after: (Optional) Expiration policy for the vector store
:param chunking_strategy: (Optional) Strategy for splitting files into chunks
:param metadata: Set of key-value pairs that can be attached to the vector store
"""
name: str | None = None
file_ids: list[str] | None = None
expires_after: dict[str, Any] | None = None
chunking_strategy: dict[str, Any] | None = None
metadata: dict[str, Any] | None = None
# extra_body can be accessed via .model_extra
@json_schema_type
class OpenAICreateVectorStoreFileBatchRequestWithExtraBody(BaseModel, extra="allow"):
"""Request to create a vector store file batch with extra_body support.
:param file_ids: A list of File IDs that the vector store should use
:param attributes: (Optional) Key-value attributes to store with the files
:param chunking_strategy: (Optional) The chunking strategy used to chunk the file(s). Defaults to auto
"""
file_ids: list[str]
attributes: dict[str, Any] | None = None
chunking_strategy: VectorStoreChunkingStrategy | None = None
class VectorDBStore(Protocol): class VectorDBStore(Protocol):
def get_vector_db(self, vector_db_id: str) -> VectorDB | None: ... def get_vector_db(self, vector_db_id: str) -> VectorDB | None: ...
@ -516,25 +551,11 @@ class VectorIO(Protocol):
@webmethod(route="/vector_stores", method="POST", level=LLAMA_STACK_API_V1) @webmethod(route="/vector_stores", method="POST", level=LLAMA_STACK_API_V1)
async def openai_create_vector_store( async def openai_create_vector_store(
self, self,
name: str | None = None, params: Annotated[OpenAICreateVectorStoreRequestWithExtraBody, Body(...)],
file_ids: list[str] | None = None,
expires_after: dict[str, Any] | None = None,
chunking_strategy: dict[str, Any] | None = None,
metadata: dict[str, Any] | None = None,
embedding_model: str | None = None,
embedding_dimension: int | None = 384,
provider_id: str | None = None,
) -> VectorStoreObject: ) -> VectorStoreObject:
"""Creates a vector store. """Creates a vector store.
:param name: A name for the vector store. Generate an OpenAI-compatible vector store with the given parameters.
:param file_ids: A list of File IDs that the vector store should use. Useful for tools like `file_search` that can access files.
:param expires_after: The expiration policy for a vector store.
:param chunking_strategy: The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy.
:param metadata: Set of 16 key-value pairs that can be attached to an object.
:param embedding_model: The embedding model to use for this vector store.
:param embedding_dimension: The dimension of the embedding vectors (default: 384).
:param provider_id: The ID of the provider to use for this vector store.
:returns: A VectorStoreObject representing the created vector store. :returns: A VectorStoreObject representing the created vector store.
""" """
... ...
@ -827,16 +848,12 @@ class VectorIO(Protocol):
async def openai_create_vector_store_file_batch( async def openai_create_vector_store_file_batch(
self, self,
vector_store_id: str, vector_store_id: str,
file_ids: list[str], params: Annotated[OpenAICreateVectorStoreFileBatchRequestWithExtraBody, Body(...)],
attributes: dict[str, Any] | None = None,
chunking_strategy: VectorStoreChunkingStrategy | None = None,
) -> VectorStoreFileBatchObject: ) -> VectorStoreFileBatchObject:
"""Create a vector store file batch. """Create a vector store file batch.
Generate an OpenAI-compatible vector store file batch for the given vector store.
:param vector_store_id: The ID of the vector store to create the file batch for. :param vector_store_id: The ID of the vector store to create the file batch for.
:param file_ids: A list of File IDs that the vector store should use.
:param attributes: (Optional) Key-value attributes to store with the files.
:param chunking_strategy: (Optional) The chunking strategy used to chunk the file(s). Defaults to auto.
:returns: A VectorStoreFileBatchObject representing the created file batch. :returns: A VectorStoreFileBatchObject representing the created file batch.
""" """
... ...

View file

@ -513,6 +513,14 @@ class AsyncLlamaStackAsLibraryClient(AsyncLlamaStackClient):
# Strip NOT_GIVENs to use the defaults in signature # Strip NOT_GIVENs to use the defaults in signature
body = {k: v for k, v in body.items() if v is not NOT_GIVEN} body = {k: v for k, v in body.items() if v is not NOT_GIVEN}
# Check if there's an unwrapped body parameter among multiple parameters
# (e.g., path param + body param like: vector_store_id: str, params: Annotated[Model, Body(...)])
unwrapped_body_param = None
for param in params_list:
if is_unwrapped_body_param(param.annotation):
unwrapped_body_param = param
break
# Convert parameters to Pydantic models where needed # Convert parameters to Pydantic models where needed
converted_body = {} converted_body = {}
for param_name, param in sig.parameters.items(): for param_name, param in sig.parameters.items():
@ -522,5 +530,11 @@ class AsyncLlamaStackAsLibraryClient(AsyncLlamaStackClient):
converted_body[param_name] = value converted_body[param_name] = value
else: else:
converted_body[param_name] = convert_to_pydantic(param.annotation, value) converted_body[param_name] = convert_to_pydantic(param.annotation, value)
elif unwrapped_body_param and param.name == unwrapped_body_param.name:
# This is the unwrapped body param - construct it from remaining body keys
base_type = get_args(param.annotation)[0]
# Extract only the keys that aren't already used by other params
remaining_keys = {k: v for k, v in body.items() if k not in converted_body}
converted_body[param.name] = base_type(**remaining_keys)
return converted_body return converted_body

View file

@ -40,6 +40,7 @@ from llama_stack.apis.inference import (
OpenAICompletion, OpenAICompletion,
OpenAICompletionRequestWithExtraBody, OpenAICompletionRequestWithExtraBody,
OpenAICompletionWithInputMessages, OpenAICompletionWithInputMessages,
OpenAIEmbeddingsRequestWithExtraBody,
OpenAIEmbeddingsResponse, OpenAIEmbeddingsResponse,
OpenAIMessageParam, OpenAIMessageParam,
Order, Order,
@ -279,26 +280,18 @@ class InferenceRouter(Inference):
async def openai_embeddings( async def openai_embeddings(
self, self,
model: str, params: Annotated[OpenAIEmbeddingsRequestWithExtraBody, Body(...)],
input: str | list[str],
encoding_format: str | None = "float",
dimensions: int | None = None,
user: str | None = None,
) -> OpenAIEmbeddingsResponse: ) -> OpenAIEmbeddingsResponse:
logger.debug( logger.debug(
f"InferenceRouter.openai_embeddings: {model=}, input_type={type(input)}, {encoding_format=}, {dimensions=}", f"InferenceRouter.openai_embeddings: model={params.model}, input_type={type(params.input)}, encoding_format={params.encoding_format}, dimensions={params.dimensions}",
)
model_obj = await self._get_model(model, ModelType.embedding)
params = dict(
model=model_obj.identifier,
input=input,
encoding_format=encoding_format,
dimensions=dimensions,
user=user,
) )
model_obj = await self._get_model(params.model, ModelType.embedding)
# Update model to use resolved identifier
params.model = model_obj.identifier
provider = await self.routing_table.get_provider_impl(model_obj.identifier) provider = await self.routing_table.get_provider_impl(model_obj.identifier)
return await provider.openai_embeddings(**params) return await provider.openai_embeddings(params)
async def list_chat_completions( async def list_chat_completions(
self, self,

View file

@ -6,12 +6,16 @@
import asyncio import asyncio
import uuid import uuid
from typing import Any from typing import Annotated, Any
from fastapi import Body
from llama_stack.apis.common.content_types import InterleavedContent from llama_stack.apis.common.content_types import InterleavedContent
from llama_stack.apis.models import ModelType from llama_stack.apis.models import ModelType
from llama_stack.apis.vector_io import ( from llama_stack.apis.vector_io import (
Chunk, Chunk,
OpenAICreateVectorStoreFileBatchRequestWithExtraBody,
OpenAICreateVectorStoreRequestWithExtraBody,
QueryChunksResponse, QueryChunksResponse,
SearchRankingOptions, SearchRankingOptions,
VectorIO, VectorIO,
@ -51,30 +55,18 @@ class VectorIORouter(VectorIO):
logger.debug("VectorIORouter.shutdown") logger.debug("VectorIORouter.shutdown")
pass pass
async def _get_first_embedding_model(self) -> tuple[str, int] | None: async def _get_embedding_model_dimension(self, embedding_model_id: str) -> int:
"""Get the first available embedding model identifier.""" """Get the embedding dimension for a specific embedding model."""
try:
# Get all models from the routing table
all_models = await self.routing_table.get_all_with_type("model") all_models = await self.routing_table.get_all_with_type("model")
# Filter for embedding models for model in all_models:
embedding_models = [ if model.identifier == embedding_model_id and model.model_type == ModelType.embedding:
model dimension = model.metadata.get("embedding_dimension")
for model in all_models
if hasattr(model, "model_type") and model.model_type == ModelType.embedding
]
if embedding_models:
dimension = embedding_models[0].metadata.get("embedding_dimension", None)
if dimension is None: if dimension is None:
raise ValueError(f"Embedding model {embedding_models[0].identifier} has no embedding dimension") raise ValueError(f"Embedding model '{embedding_model_id}' has no embedding_dimension in metadata")
return embedding_models[0].identifier, dimension return int(dimension)
else:
logger.warning("No embedding models found in the routing table") raise ValueError(f"Embedding model '{embedding_model_id}' not found or not an embedding model")
return None
except Exception as e:
logger.error(f"Error getting embedding models: {e}")
return None
async def register_vector_db( async def register_vector_db(
self, self,
@ -120,24 +112,35 @@ class VectorIORouter(VectorIO):
# OpenAI Vector Stores API endpoints # OpenAI Vector Stores API endpoints
async def openai_create_vector_store( async def openai_create_vector_store(
self, self,
name: str, params: Annotated[OpenAICreateVectorStoreRequestWithExtraBody, Body(...)],
file_ids: list[str] | None = None,
expires_after: dict[str, Any] | None = None,
chunking_strategy: dict[str, Any] | None = None,
metadata: dict[str, Any] | None = None,
embedding_model: str | None = None,
embedding_dimension: int | None = None,
provider_id: str | None = None,
) -> VectorStoreObject: ) -> VectorStoreObject:
logger.debug(f"VectorIORouter.openai_create_vector_store: name={name}, provider_id={provider_id}") # Extract llama-stack-specific parameters from extra_body
extra = params.model_extra or {}
embedding_model = extra.get("embedding_model")
embedding_dimension = extra.get("embedding_dimension")
provider_id = extra.get("provider_id")
# If no embedding model is provided, use the first available one logger.debug(f"VectorIORouter.openai_create_vector_store: name={params.name}, provider_id={provider_id}")
# Require explicit embedding model specification
if embedding_model is None: if embedding_model is None:
embedding_model_info = await self._get_first_embedding_model() raise ValueError("embedding_model is required in extra_body when creating a vector store")
if embedding_model_info is None:
raise ValueError("No embedding model provided and no embedding models available in the system") if embedding_dimension is None:
embedding_model, embedding_dimension = embedding_model_info embedding_dimension = await self._get_embedding_model_dimension(embedding_model)
logger.info(f"No embedding model specified, using first available: {embedding_model}")
# Auto-select provider if not specified
if provider_id is None:
num_providers = len(self.routing_table.impls_by_provider_id)
if num_providers == 0:
raise ValueError("No vector_io providers available")
if num_providers > 1:
available_providers = list(self.routing_table.impls_by_provider_id.keys())
raise ValueError(
f"Multiple vector_io providers available. Please specify provider_id in extra_body. "
f"Available providers: {available_providers}"
)
provider_id = list(self.routing_table.impls_by_provider_id.keys())[0]
vector_db_id = f"vs_{uuid.uuid4()}" vector_db_id = f"vs_{uuid.uuid4()}"
registered_vector_db = await self.routing_table.register_vector_db( registered_vector_db = await self.routing_table.register_vector_db(
@ -146,20 +149,19 @@ class VectorIORouter(VectorIO):
embedding_dimension=embedding_dimension, embedding_dimension=embedding_dimension,
provider_id=provider_id, provider_id=provider_id,
provider_vector_db_id=vector_db_id, provider_vector_db_id=vector_db_id,
vector_db_name=name, vector_db_name=params.name,
) )
provider = await self.routing_table.get_provider_impl(registered_vector_db.identifier) provider = await self.routing_table.get_provider_impl(registered_vector_db.identifier)
return await provider.openai_create_vector_store(
name=name, # Update model_extra with registered values so provider uses the already-registered vector_db
file_ids=file_ids, if params.model_extra is None:
expires_after=expires_after, params.model_extra = {}
chunking_strategy=chunking_strategy, params.model_extra["provider_vector_db_id"] = registered_vector_db.provider_resource_id
metadata=metadata, params.model_extra["provider_id"] = registered_vector_db.provider_id
embedding_model=embedding_model, params.model_extra["embedding_model"] = embedding_model
embedding_dimension=embedding_dimension, params.model_extra["embedding_dimension"] = embedding_dimension
provider_id=registered_vector_db.provider_id,
provider_vector_db_id=registered_vector_db.provider_resource_id, return await provider.openai_create_vector_store(params)
)
async def openai_list_vector_stores( async def openai_list_vector_stores(
self, self,
@ -219,7 +221,8 @@ class VectorIORouter(VectorIO):
vector_store_id: str, vector_store_id: str,
) -> VectorStoreObject: ) -> VectorStoreObject:
logger.debug(f"VectorIORouter.openai_retrieve_vector_store: {vector_store_id}") logger.debug(f"VectorIORouter.openai_retrieve_vector_store: {vector_store_id}")
return await self.routing_table.openai_retrieve_vector_store(vector_store_id) provider = await self.routing_table.get_provider_impl(vector_store_id)
return await provider.openai_retrieve_vector_store(vector_store_id)
async def openai_update_vector_store( async def openai_update_vector_store(
self, self,
@ -229,7 +232,8 @@ class VectorIORouter(VectorIO):
metadata: dict[str, Any] | None = None, metadata: dict[str, Any] | None = None,
) -> VectorStoreObject: ) -> VectorStoreObject:
logger.debug(f"VectorIORouter.openai_update_vector_store: {vector_store_id}") logger.debug(f"VectorIORouter.openai_update_vector_store: {vector_store_id}")
return await self.routing_table.openai_update_vector_store( provider = await self.routing_table.get_provider_impl(vector_store_id)
return await provider.openai_update_vector_store(
vector_store_id=vector_store_id, vector_store_id=vector_store_id,
name=name, name=name,
expires_after=expires_after, expires_after=expires_after,
@ -241,7 +245,8 @@ class VectorIORouter(VectorIO):
vector_store_id: str, vector_store_id: str,
) -> VectorStoreDeleteResponse: ) -> VectorStoreDeleteResponse:
logger.debug(f"VectorIORouter.openai_delete_vector_store: {vector_store_id}") logger.debug(f"VectorIORouter.openai_delete_vector_store: {vector_store_id}")
return await self.routing_table.openai_delete_vector_store(vector_store_id) provider = await self.routing_table.get_provider_impl(vector_store_id)
return await provider.openai_delete_vector_store(vector_store_id)
async def openai_search_vector_store( async def openai_search_vector_store(
self, self,
@ -254,7 +259,8 @@ class VectorIORouter(VectorIO):
search_mode: str | None = "vector", search_mode: str | None = "vector",
) -> VectorStoreSearchResponsePage: ) -> VectorStoreSearchResponsePage:
logger.debug(f"VectorIORouter.openai_search_vector_store: {vector_store_id}") logger.debug(f"VectorIORouter.openai_search_vector_store: {vector_store_id}")
return await self.routing_table.openai_search_vector_store( provider = await self.routing_table.get_provider_impl(vector_store_id)
return await provider.openai_search_vector_store(
vector_store_id=vector_store_id, vector_store_id=vector_store_id,
query=query, query=query,
filters=filters, filters=filters,
@ -272,7 +278,8 @@ class VectorIORouter(VectorIO):
chunking_strategy: VectorStoreChunkingStrategy | None = None, chunking_strategy: VectorStoreChunkingStrategy | None = None,
) -> VectorStoreFileObject: ) -> VectorStoreFileObject:
logger.debug(f"VectorIORouter.openai_attach_file_to_vector_store: {vector_store_id}, {file_id}") logger.debug(f"VectorIORouter.openai_attach_file_to_vector_store: {vector_store_id}, {file_id}")
return await self.routing_table.openai_attach_file_to_vector_store( provider = await self.routing_table.get_provider_impl(vector_store_id)
return await provider.openai_attach_file_to_vector_store(
vector_store_id=vector_store_id, vector_store_id=vector_store_id,
file_id=file_id, file_id=file_id,
attributes=attributes, attributes=attributes,
@ -289,7 +296,8 @@ class VectorIORouter(VectorIO):
filter: VectorStoreFileStatus | None = None, filter: VectorStoreFileStatus | None = None,
) -> list[VectorStoreFileObject]: ) -> list[VectorStoreFileObject]:
logger.debug(f"VectorIORouter.openai_list_files_in_vector_store: {vector_store_id}") logger.debug(f"VectorIORouter.openai_list_files_in_vector_store: {vector_store_id}")
return await self.routing_table.openai_list_files_in_vector_store( provider = await self.routing_table.get_provider_impl(vector_store_id)
return await provider.openai_list_files_in_vector_store(
vector_store_id=vector_store_id, vector_store_id=vector_store_id,
limit=limit, limit=limit,
order=order, order=order,
@ -304,7 +312,8 @@ class VectorIORouter(VectorIO):
file_id: str, file_id: str,
) -> VectorStoreFileObject: ) -> VectorStoreFileObject:
logger.debug(f"VectorIORouter.openai_retrieve_vector_store_file: {vector_store_id}, {file_id}") logger.debug(f"VectorIORouter.openai_retrieve_vector_store_file: {vector_store_id}, {file_id}")
return await self.routing_table.openai_retrieve_vector_store_file( provider = await self.routing_table.get_provider_impl(vector_store_id)
return await provider.openai_retrieve_vector_store_file(
vector_store_id=vector_store_id, vector_store_id=vector_store_id,
file_id=file_id, file_id=file_id,
) )
@ -315,7 +324,8 @@ class VectorIORouter(VectorIO):
file_id: str, file_id: str,
) -> VectorStoreFileContentsResponse: ) -> VectorStoreFileContentsResponse:
logger.debug(f"VectorIORouter.openai_retrieve_vector_store_file_contents: {vector_store_id}, {file_id}") logger.debug(f"VectorIORouter.openai_retrieve_vector_store_file_contents: {vector_store_id}, {file_id}")
return await self.routing_table.openai_retrieve_vector_store_file_contents( provider = await self.routing_table.get_provider_impl(vector_store_id)
return await provider.openai_retrieve_vector_store_file_contents(
vector_store_id=vector_store_id, vector_store_id=vector_store_id,
file_id=file_id, file_id=file_id,
) )
@ -327,7 +337,8 @@ class VectorIORouter(VectorIO):
attributes: dict[str, Any], attributes: dict[str, Any],
) -> VectorStoreFileObject: ) -> VectorStoreFileObject:
logger.debug(f"VectorIORouter.openai_update_vector_store_file: {vector_store_id}, {file_id}") logger.debug(f"VectorIORouter.openai_update_vector_store_file: {vector_store_id}, {file_id}")
return await self.routing_table.openai_update_vector_store_file( provider = await self.routing_table.get_provider_impl(vector_store_id)
return await provider.openai_update_vector_store_file(
vector_store_id=vector_store_id, vector_store_id=vector_store_id,
file_id=file_id, file_id=file_id,
attributes=attributes, attributes=attributes,
@ -339,7 +350,8 @@ class VectorIORouter(VectorIO):
file_id: str, file_id: str,
) -> VectorStoreFileDeleteResponse: ) -> VectorStoreFileDeleteResponse:
logger.debug(f"VectorIORouter.openai_delete_vector_store_file: {vector_store_id}, {file_id}") logger.debug(f"VectorIORouter.openai_delete_vector_store_file: {vector_store_id}, {file_id}")
return await self.routing_table.openai_delete_vector_store_file( provider = await self.routing_table.get_provider_impl(vector_store_id)
return await provider.openai_delete_vector_store_file(
vector_store_id=vector_store_id, vector_store_id=vector_store_id,
file_id=file_id, file_id=file_id,
) )
@ -370,17 +382,13 @@ class VectorIORouter(VectorIO):
async def openai_create_vector_store_file_batch( async def openai_create_vector_store_file_batch(
self, self,
vector_store_id: str, vector_store_id: str,
file_ids: list[str], params: Annotated[OpenAICreateVectorStoreFileBatchRequestWithExtraBody, Body(...)],
attributes: dict[str, Any] | None = None,
chunking_strategy: VectorStoreChunkingStrategy | None = None,
) -> VectorStoreFileBatchObject: ) -> VectorStoreFileBatchObject:
logger.debug(f"VectorIORouter.openai_create_vector_store_file_batch: {vector_store_id}, {len(file_ids)} files") logger.debug(
return await self.routing_table.openai_create_vector_store_file_batch( f"VectorIORouter.openai_create_vector_store_file_batch: {vector_store_id}, {len(params.file_ids)} files"
vector_store_id=vector_store_id,
file_ids=file_ids,
attributes=attributes,
chunking_strategy=chunking_strategy,
) )
provider = await self.routing_table.get_provider_impl(vector_store_id)
return await provider.openai_create_vector_store_file_batch(vector_store_id, params)
async def openai_retrieve_vector_store_file_batch( async def openai_retrieve_vector_store_file_batch(
self, self,
@ -388,7 +396,8 @@ class VectorIORouter(VectorIO):
vector_store_id: str, vector_store_id: str,
) -> VectorStoreFileBatchObject: ) -> VectorStoreFileBatchObject:
logger.debug(f"VectorIORouter.openai_retrieve_vector_store_file_batch: {batch_id}, {vector_store_id}") logger.debug(f"VectorIORouter.openai_retrieve_vector_store_file_batch: {batch_id}, {vector_store_id}")
return await self.routing_table.openai_retrieve_vector_store_file_batch( provider = await self.routing_table.get_provider_impl(vector_store_id)
return await provider.openai_retrieve_vector_store_file_batch(
batch_id=batch_id, batch_id=batch_id,
vector_store_id=vector_store_id, vector_store_id=vector_store_id,
) )
@ -404,7 +413,8 @@ class VectorIORouter(VectorIO):
order: str | None = "desc", order: str | None = "desc",
) -> VectorStoreFilesListInBatchResponse: ) -> VectorStoreFilesListInBatchResponse:
logger.debug(f"VectorIORouter.openai_list_files_in_vector_store_file_batch: {batch_id}, {vector_store_id}") logger.debug(f"VectorIORouter.openai_list_files_in_vector_store_file_batch: {batch_id}, {vector_store_id}")
return await self.routing_table.openai_list_files_in_vector_store_file_batch( provider = await self.routing_table.get_provider_impl(vector_store_id)
return await provider.openai_list_files_in_vector_store_file_batch(
batch_id=batch_id, batch_id=batch_id,
vector_store_id=vector_store_id, vector_store_id=vector_store_id,
after=after, after=after,
@ -420,7 +430,8 @@ class VectorIORouter(VectorIO):
vector_store_id: str, vector_store_id: str,
) -> VectorStoreFileBatchObject: ) -> VectorStoreFileBatchObject:
logger.debug(f"VectorIORouter.openai_cancel_vector_store_file_batch: {batch_id}, {vector_store_id}") logger.debug(f"VectorIORouter.openai_cancel_vector_store_file_batch: {batch_id}, {vector_store_id}")
return await self.routing_table.openai_cancel_vector_store_file_batch( provider = await self.routing_table.get_provider_impl(vector_store_id)
return await provider.openai_cancel_vector_store_file_batch(
batch_id=batch_id, batch_id=batch_id,
vector_store_id=vector_store_id, vector_store_id=vector_store_id,
) )

View file

@ -5,13 +5,11 @@
# the root directory of this source tree. # the root directory of this source tree.
import ssl import ssl
import time
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
from asyncio import Lock
from urllib.parse import parse_qs, urljoin, urlparse from urllib.parse import parse_qs, urljoin, urlparse
import httpx import httpx
from jose import jwt import jwt
from pydantic import BaseModel, Field from pydantic import BaseModel, Field
from llama_stack.apis.common.errors import TokenValidationError from llama_stack.apis.common.errors import TokenValidationError
@ -98,9 +96,7 @@ class OAuth2TokenAuthProvider(AuthProvider):
def __init__(self, config: OAuth2TokenAuthConfig): def __init__(self, config: OAuth2TokenAuthConfig):
self.config = config self.config = config
self._jwks_at: float = 0.0 self._jwks_client: jwt.PyJWKClient | None = None
self._jwks: dict[str, str] = {}
self._jwks_lock = Lock()
async def validate_token(self, token: str, scope: dict | None = None) -> User: async def validate_token(self, token: str, scope: dict | None = None) -> User:
if self.config.jwks: if self.config.jwks:
@ -109,23 +105,60 @@ class OAuth2TokenAuthProvider(AuthProvider):
return await self.introspect_token(token, scope) return await self.introspect_token(token, scope)
raise ValueError("One of jwks or introspection must be configured") raise ValueError("One of jwks or introspection must be configured")
def _get_jwks_client(self) -> jwt.PyJWKClient:
if self._jwks_client is None:
ssl_context = None
if not self.config.verify_tls:
# Disable SSL verification if verify_tls is False
ssl_context = ssl.create_default_context()
ssl_context.check_hostname = False
ssl_context.verify_mode = ssl.CERT_NONE
elif self.config.tls_cafile:
# Use custom CA file if provided
ssl_context = ssl.create_default_context(
cafile=self.config.tls_cafile.as_posix(),
)
# If verify_tls is True and no tls_cafile, ssl_context remains None (use system defaults)
# Prepare headers for JWKS request - this is needed for Kubernetes to authenticate
# to the JWK endpoint, we must use the token in the config to authenticate
headers = {}
if self.config.jwks and self.config.jwks.token:
headers["Authorization"] = f"Bearer {self.config.jwks.token}"
self._jwks_client = jwt.PyJWKClient(
self.config.jwks.uri if self.config.jwks else None,
cache_keys=True,
max_cached_keys=10,
lifespan=self.config.jwks.key_recheck_period if self.config.jwks else None,
headers=headers,
ssl_context=ssl_context,
)
return self._jwks_client
async def validate_jwt_token(self, token: str, scope: dict | None = None) -> User: async def validate_jwt_token(self, token: str, scope: dict | None = None) -> User:
"""Validate a token using the JWT token.""" """Validate a token using the JWT token."""
await self._refresh_jwks()
try: try:
header = jwt.get_unverified_header(token) jwks_client: jwt.PyJWKClient = self._get_jwks_client()
kid = header["kid"] signing_key = jwks_client.get_signing_key_from_jwt(token)
if kid not in self._jwks: algorithm = jwt.get_unverified_header(token)["alg"]
raise ValueError(f"Unknown key ID: {kid}")
key_data = self._jwks[kid]
algorithm = header.get("alg", "RS256")
claims = jwt.decode( claims = jwt.decode(
token, token,
key_data, signing_key.key,
algorithms=[algorithm], algorithms=[algorithm],
audience=self.config.audience, audience=self.config.audience,
issuer=self.config.issuer, issuer=self.config.issuer,
options={"verify_exp": True, "verify_aud": True, "verify_iss": True},
)
# Decode and verify the JWT
claims = jwt.decode(
token,
signing_key.key,
algorithms=[algorithm],
audience=self.config.audience,
issuer=self.config.issuer,
options={"verify_exp": True, "verify_aud": True, "verify_iss": True},
) )
except Exception as exc: except Exception as exc:
raise ValueError("Invalid JWT token") from exc raise ValueError("Invalid JWT token") from exc
@ -201,37 +234,6 @@ class OAuth2TokenAuthProvider(AuthProvider):
else: else:
return "Authentication required. Please provide a valid OAuth2 Bearer token in the Authorization header" return "Authentication required. Please provide a valid OAuth2 Bearer token in the Authorization header"
async def _refresh_jwks(self) -> None:
"""
Refresh the JWKS cache.
This is a simple cache that expires after a certain amount of time (defined by `key_recheck_period`).
If the cache is expired, we refresh the JWKS from the JWKS URI.
Notes: for Kubernetes which doesn't fully implement the OIDC protocol:
* It doesn't have user authentication flows
* It doesn't have refresh tokens
"""
async with self._jwks_lock:
if self.config.jwks is None:
raise ValueError("JWKS is not configured")
if time.time() - self._jwks_at > self.config.jwks.key_recheck_period:
headers = {}
if self.config.jwks.token:
headers["Authorization"] = f"Bearer {self.config.jwks.token}"
verify = self.config.tls_cafile.as_posix() if self.config.tls_cafile else self.config.verify_tls
async with httpx.AsyncClient(verify=verify) as client:
res = await client.get(self.config.jwks.uri, timeout=5, headers=headers)
res.raise_for_status()
jwks_data = res.json()["keys"]
updated = {}
for k in jwks_data:
kid = k["kid"]
# Store the entire key object as it may be needed for different algorithms
updated[kid] = k
self._jwks = updated
self._jwks_at = time.time()
class CustomAuthProvider(AuthProvider): class CustomAuthProvider(AuthProvider):
"""Custom authentication provider that uses an external endpoint.""" """Custom authentication provider that uses an external endpoint."""

View file

@ -87,11 +87,11 @@ def get_distribution_template() -> DistributionTemplate:
provider_id="tgi1", provider_id="tgi1",
) )
embedding_model = ModelInput( embedding_model = ModelInput(
model_id="all-MiniLM-L6-v2", model_id="nomic-embed-text-v1.5",
provider_id="sentence-transformers", provider_id="sentence-transformers",
model_type=ModelType.embedding, model_type=ModelType.embedding,
metadata={ metadata={
"embedding_dimension": 384, "embedding_dimension": 768,
}, },
) )
default_tool_groups = [ default_tool_groups = [

View file

@ -114,8 +114,8 @@ models:
provider_id: tgi1 provider_id: tgi1
model_type: llm model_type: llm
- metadata: - metadata:
embedding_dimension: 384 embedding_dimension: 768
model_id: all-MiniLM-L6-v2 model_id: nomic-embed-text-v1.5
provider_id: sentence-transformers provider_id: sentence-transformers
model_type: embedding model_type: embedding
shields: shields:

View file

@ -106,8 +106,8 @@ models:
provider_id: tgi0 provider_id: tgi0
model_type: llm model_type: llm
- metadata: - metadata:
embedding_dimension: 384 embedding_dimension: 768
model_id: all-MiniLM-L6-v2 model_id: nomic-embed-text-v1.5
provider_id: sentence-transformers provider_id: sentence-transformers
model_type: embedding model_type: embedding
shields: [] shields: []

View file

@ -77,11 +77,11 @@ def get_distribution_template() -> DistributionTemplate:
provider_id="meta-reference-inference", provider_id="meta-reference-inference",
) )
embedding_model = ModelInput( embedding_model = ModelInput(
model_id="all-MiniLM-L6-v2", model_id="nomic-embed-text-v1.5",
provider_id="sentence-transformers", provider_id="sentence-transformers",
model_type=ModelType.embedding, model_type=ModelType.embedding,
metadata={ metadata={
"embedding_dimension": 384, "embedding_dimension": 768,
}, },
) )
safety_model = ModelInput( safety_model = ModelInput(

View file

@ -127,8 +127,8 @@ models:
provider_id: meta-reference-safety provider_id: meta-reference-safety
model_type: llm model_type: llm
- metadata: - metadata:
embedding_dimension: 384 embedding_dimension: 768
model_id: all-MiniLM-L6-v2 model_id: nomic-embed-text-v1.5
provider_id: sentence-transformers provider_id: sentence-transformers
model_type: embedding model_type: embedding
shields: shields:

View file

@ -113,8 +113,8 @@ models:
provider_id: meta-reference-inference provider_id: meta-reference-inference
model_type: llm model_type: llm
- metadata: - metadata:
embedding_dimension: 384 embedding_dimension: 768
model_id: all-MiniLM-L6-v2 model_id: nomic-embed-text-v1.5
provider_id: sentence-transformers provider_id: sentence-transformers
model_type: embedding model_type: embedding
shields: [] shields: []

View file

@ -85,11 +85,11 @@ def get_distribution_template() -> DistributionTemplate:
config=SentenceTransformersInferenceConfig.sample_run_config(), config=SentenceTransformersInferenceConfig.sample_run_config(),
) )
embedding_model = ModelInput( embedding_model = ModelInput(
model_id="all-MiniLM-L6-v2", model_id="nomic-embed-text-v1.5",
provider_id=embedding_provider.provider_id, provider_id=embedding_provider.provider_id,
model_type=ModelType.embedding, model_type=ModelType.embedding,
metadata={ metadata={
"embedding_dimension": 384, "embedding_dimension": 768,
}, },
) )
postgres_config = PostgresSqlStoreConfig.sample_run_config() postgres_config = PostgresSqlStoreConfig.sample_run_config()

View file

@ -95,8 +95,8 @@ models:
provider_id: vllm-inference provider_id: vllm-inference
model_type: llm model_type: llm
- metadata: - metadata:
embedding_dimension: 384 embedding_dimension: 768
model_id: all-MiniLM-L6-v2 model_id: nomic-embed-text-v1.5
provider_id: sentence-transformers provider_id: sentence-transformers
model_type: embedding model_type: embedding
shields: shields:

View file

@ -25,6 +25,7 @@ from llama_stack.apis.inference import (
OpenAIChatCompletionRequestWithExtraBody, OpenAIChatCompletionRequestWithExtraBody,
OpenAICompletionRequestWithExtraBody, OpenAICompletionRequestWithExtraBody,
OpenAIDeveloperMessageParam, OpenAIDeveloperMessageParam,
OpenAIEmbeddingsRequestWithExtraBody,
OpenAIMessageParam, OpenAIMessageParam,
OpenAISystemMessageParam, OpenAISystemMessageParam,
OpenAIToolMessageParam, OpenAIToolMessageParam,
@ -640,7 +641,9 @@ class ReferenceBatchesImpl(Batches):
}, },
} }
else: # /v1/embeddings else: # /v1/embeddings
embeddings_response = await self.inference_api.openai_embeddings(**request.body) embeddings_response = await self.inference_api.openai_embeddings(
OpenAIEmbeddingsRequestWithExtraBody(**request.body)
)
assert hasattr(embeddings_response, "model_dump_json"), ( assert hasattr(embeddings_response, "model_dump_json"), (
"Embeddings response must have model_dump_json method" "Embeddings response must have model_dump_json method"
) )

View file

@ -54,11 +54,11 @@ class SentenceTransformersInferenceImpl(
async def list_models(self) -> list[Model] | None: async def list_models(self) -> list[Model] | None:
return [ return [
Model( Model(
identifier="all-MiniLM-L6-v2", identifier="nomic-ai/nomic-embed-text-v1.5",
provider_resource_id="all-MiniLM-L6-v2", provider_resource_id="nomic-ai/nomic-embed-text-v1.5",
provider_id=self.__provider_id__, provider_id=self.__provider_id__,
metadata={ metadata={
"embedding_dimension": 384, "embedding_dimension": 768,
}, },
model_type=ModelType.embedding, model_type=ModelType.embedding,
), ),

View file

@ -10,7 +10,7 @@ from typing import TYPE_CHECKING, Any
if TYPE_CHECKING: if TYPE_CHECKING:
from codeshield.cs import CodeShieldScanResult from codeshield.cs import CodeShieldScanResult
from llama_stack.apis.inference import Message from llama_stack.apis.inference import OpenAIMessageParam
from llama_stack.apis.safety import ( from llama_stack.apis.safety import (
RunShieldResponse, RunShieldResponse,
Safety, Safety,
@ -53,7 +53,7 @@ class MetaReferenceCodeScannerSafetyImpl(Safety):
async def run_shield( async def run_shield(
self, self,
shield_id: str, shield_id: str,
messages: list[Message], messages: list[OpenAIMessageParam],
params: dict[str, Any] = None, params: dict[str, Any] = None,
) -> RunShieldResponse: ) -> RunShieldResponse:
shield = await self.shield_store.get_shield(shield_id) shield = await self.shield_store.get_shield(shield_id)

View file

@ -12,10 +12,9 @@ from typing import Any
from llama_stack.apis.common.content_types import ImageContentItem, TextContentItem from llama_stack.apis.common.content_types import ImageContentItem, TextContentItem
from llama_stack.apis.inference import ( from llama_stack.apis.inference import (
Inference, Inference,
Message,
OpenAIChatCompletionRequestWithExtraBody, OpenAIChatCompletionRequestWithExtraBody,
OpenAIMessageParam,
OpenAIUserMessageParam, OpenAIUserMessageParam,
UserMessage,
) )
from llama_stack.apis.safety import ( from llama_stack.apis.safety import (
RunShieldResponse, RunShieldResponse,
@ -165,7 +164,7 @@ class LlamaGuardSafetyImpl(Safety, ShieldsProtocolPrivate):
async def run_shield( async def run_shield(
self, self,
shield_id: str, shield_id: str,
messages: list[Message], messages: list[OpenAIMessageParam],
params: dict[str, Any] = None, params: dict[str, Any] = None,
) -> RunShieldResponse: ) -> RunShieldResponse:
shield = await self.shield_store.get_shield(shield_id) shield = await self.shield_store.get_shield(shield_id)
@ -175,8 +174,8 @@ class LlamaGuardSafetyImpl(Safety, ShieldsProtocolPrivate):
messages = messages.copy() messages = messages.copy()
# some shields like llama-guard require the first message to be a user message # some shields like llama-guard require the first message to be a user message
# since this might be a tool call, first role might not be user # since this might be a tool call, first role might not be user
if len(messages) > 0 and messages[0].role != Role.user.value: if len(messages) > 0 and messages[0].role != "user":
messages[0] = UserMessage(content=messages[0].content) messages[0] = OpenAIUserMessageParam(content=messages[0].content)
# Use the inference API's model resolution instead of hardcoded mappings # Use the inference API's model resolution instead of hardcoded mappings
# This allows the shield to work with any registered model # This allows the shield to work with any registered model
@ -208,7 +207,7 @@ class LlamaGuardSafetyImpl(Safety, ShieldsProtocolPrivate):
messages = [input] messages = [input]
# convert to user messages format with role # convert to user messages format with role
messages = [UserMessage(content=m) for m in messages] messages = [OpenAIUserMessageParam(content=m) for m in messages]
# Determine safety categories based on the model type # Determine safety categories based on the model type
# For known Llama Guard models, use specific categories # For known Llama Guard models, use specific categories
@ -277,7 +276,7 @@ class LlamaGuardShield:
return final_categories return final_categories
def validate_messages(self, messages: list[Message]) -> None: def validate_messages(self, messages: list[OpenAIMessageParam]) -> list[OpenAIMessageParam]:
if len(messages) == 0: if len(messages) == 0:
raise ValueError("Messages must not be empty") raise ValueError("Messages must not be empty")
if messages[0].role != Role.user.value: if messages[0].role != Role.user.value:
@ -288,7 +287,7 @@ class LlamaGuardShield:
return messages return messages
async def run(self, messages: list[Message]) -> RunShieldResponse: async def run(self, messages: list[OpenAIMessageParam]) -> RunShieldResponse:
messages = self.validate_messages(messages) messages = self.validate_messages(messages)
if self.model == CoreModelId.llama_guard_3_11b_vision.value: if self.model == CoreModelId.llama_guard_3_11b_vision.value:
@ -307,10 +306,10 @@ class LlamaGuardShield:
content = content.strip() content = content.strip()
return self.get_shield_response(content) return self.get_shield_response(content)
def build_text_shield_input(self, messages: list[Message]) -> OpenAIUserMessageParam: def build_text_shield_input(self, messages: list[OpenAIMessageParam]) -> OpenAIUserMessageParam:
return OpenAIUserMessageParam(role="user", content=self.build_prompt(messages)) return OpenAIUserMessageParam(content=self.build_prompt(messages))
def build_vision_shield_input(self, messages: list[Message]) -> OpenAIUserMessageParam: def build_vision_shield_input(self, messages: list[OpenAIMessageParam]) -> OpenAIUserMessageParam:
conversation = [] conversation = []
most_recent_img = None most_recent_img = None
@ -333,7 +332,7 @@ class LlamaGuardShield:
else: else:
raise ValueError(f"Unknown content type: {c}") raise ValueError(f"Unknown content type: {c}")
conversation.append(UserMessage(content=content)) conversation.append(OpenAIUserMessageParam(content=content))
else: else:
raise ValueError(f"Unknown content type: {m.content}") raise ValueError(f"Unknown content type: {m.content}")
@ -342,9 +341,9 @@ class LlamaGuardShield:
prompt.append(most_recent_img) prompt.append(most_recent_img)
prompt.append(self.build_prompt(conversation[::-1])) prompt.append(self.build_prompt(conversation[::-1]))
return OpenAIUserMessageParam(role="user", content=prompt) return OpenAIUserMessageParam(content=prompt)
def build_prompt(self, messages: list[Message]) -> str: def build_prompt(self, messages: list[OpenAIMessageParam]) -> str:
categories = self.get_safety_categories() categories = self.get_safety_categories()
categories_str = "\n".join(categories) categories_str = "\n".join(categories)
conversations_str = "\n\n".join( conversations_str = "\n\n".join(
@ -377,7 +376,7 @@ class LlamaGuardShield:
raise ValueError(f"Unexpected response: {response}") raise ValueError(f"Unexpected response: {response}")
async def run_moderation(self, messages: list[Message]) -> ModerationObject: async def run_moderation(self, messages: list[OpenAIMessageParam]) -> ModerationObject:
if not messages: if not messages:
return self.create_moderation_object(self.model) return self.create_moderation_object(self.model)
@ -388,6 +387,7 @@ class LlamaGuardShield:
model=self.model, model=self.model,
messages=[shield_input_message], messages=[shield_input_message],
stream=False, stream=False,
temperature=0.0, # default is 1, which is too high for safety
) )
response = await self.inference_api.openai_chat_completion(params) response = await self.inference_api.openai_chat_completion(params)
content = response.choices[0].message.content content = response.choices[0].message.content

View file

@ -9,7 +9,7 @@ from typing import Any
import torch import torch
from transformers import AutoModelForSequenceClassification, AutoTokenizer from transformers import AutoModelForSequenceClassification, AutoTokenizer
from llama_stack.apis.inference import Message from llama_stack.apis.inference import OpenAIMessageParam
from llama_stack.apis.safety import ( from llama_stack.apis.safety import (
RunShieldResponse, RunShieldResponse,
Safety, Safety,
@ -22,9 +22,7 @@ from llama_stack.apis.shields import Shield
from llama_stack.core.utils.model_utils import model_local_dir from llama_stack.core.utils.model_utils import model_local_dir
from llama_stack.log import get_logger from llama_stack.log import get_logger
from llama_stack.providers.datatypes import ShieldsProtocolPrivate from llama_stack.providers.datatypes import ShieldsProtocolPrivate
from llama_stack.providers.utils.inference.prompt_adapter import ( from llama_stack.providers.utils.inference.prompt_adapter import interleaved_content_as_str
interleaved_content_as_str,
)
from .config import PromptGuardConfig, PromptGuardType from .config import PromptGuardConfig, PromptGuardType
@ -56,7 +54,7 @@ class PromptGuardSafetyImpl(Safety, ShieldsProtocolPrivate):
async def run_shield( async def run_shield(
self, self,
shield_id: str, shield_id: str,
messages: list[Message], messages: list[OpenAIMessageParam],
params: dict[str, Any], params: dict[str, Any],
) -> RunShieldResponse: ) -> RunShieldResponse:
shield = await self.shield_store.get_shield(shield_id) shield = await self.shield_store.get_shield(shield_id)
@ -93,7 +91,7 @@ class PromptGuardShield:
self.tokenizer = AutoTokenizer.from_pretrained(model_dir) self.tokenizer = AutoTokenizer.from_pretrained(model_dir)
self.model = AutoModelForSequenceClassification.from_pretrained(model_dir, device_map=self.device) self.model = AutoModelForSequenceClassification.from_pretrained(model_dir, device_map=self.device)
async def run(self, messages: list[Message]) -> RunShieldResponse: async def run(self, messages: list[OpenAIMessageParam]) -> RunShieldResponse:
message = messages[-1] message = messages[-1]
text = interleaved_content_as_str(message.content) text = interleaved_content_as_str(message.content)

View file

@ -43,6 +43,12 @@ def available_providers() -> list[ProviderSpec]:
pip_packages=[ pip_packages=[
"torch torchvision torchao>=0.12.0 --extra-index-url https://download.pytorch.org/whl/cpu", "torch torchvision torchao>=0.12.0 --extra-index-url https://download.pytorch.org/whl/cpu",
"sentence-transformers --no-deps", "sentence-transformers --no-deps",
# required by some SentenceTransformers architectures for tensor rearrange/merge ops
"einops",
# fast HF tokenization backend used by SentenceTransformers models
"tokenizers",
# safe and fast file format for storing and loading tensors
"safetensors",
], ],
module="llama_stack.providers.inline.inference.sentence_transformers", module="llama_stack.providers.inline.inference.sentence_transformers",
config_class="llama_stack.providers.inline.inference.sentence_transformers.config.SentenceTransformersInferenceConfig", config_class="llama_stack.providers.inline.inference.sentence_transformers.config.SentenceTransformersInferenceConfig",
@ -271,7 +277,7 @@ Available Models:
pip_packages=["litellm"], pip_packages=["litellm"],
module="llama_stack.providers.remote.inference.watsonx", module="llama_stack.providers.remote.inference.watsonx",
config_class="llama_stack.providers.remote.inference.watsonx.WatsonXConfig", config_class="llama_stack.providers.remote.inference.watsonx.WatsonXConfig",
provider_data_validator="llama_stack.providers.remote.inference.watsonx.WatsonXProviderDataValidator", provider_data_validator="llama_stack.providers.remote.inference.watsonx.config.WatsonXProviderDataValidator",
description="IBM WatsonX inference provider for accessing AI models on IBM's WatsonX platform.", description="IBM WatsonX inference provider for accessing AI models on IBM's WatsonX platform.",
), ),
RemoteProviderSpec( RemoteProviderSpec(

View file

@ -14,6 +14,7 @@ from llama_stack.apis.inference import (
Inference, Inference,
OpenAIChatCompletionRequestWithExtraBody, OpenAIChatCompletionRequestWithExtraBody,
OpenAICompletionRequestWithExtraBody, OpenAICompletionRequestWithExtraBody,
OpenAIEmbeddingsRequestWithExtraBody,
OpenAIEmbeddingsResponse, OpenAIEmbeddingsResponse,
) )
from llama_stack.apis.inference.inference import ( from llama_stack.apis.inference.inference import (
@ -124,11 +125,7 @@ class BedrockInferenceAdapter(
async def openai_embeddings( async def openai_embeddings(
self, self,
model: str, params: OpenAIEmbeddingsRequestWithExtraBody,
input: str | list[str],
encoding_format: str | None = "float",
dimensions: int | None = None,
user: str | None = None,
) -> OpenAIEmbeddingsResponse: ) -> OpenAIEmbeddingsResponse:
raise NotImplementedError() raise NotImplementedError()

View file

@ -6,7 +6,10 @@
from urllib.parse import urljoin from urllib.parse import urljoin
from llama_stack.apis.inference import OpenAIEmbeddingsResponse from llama_stack.apis.inference import (
OpenAIEmbeddingsRequestWithExtraBody,
OpenAIEmbeddingsResponse,
)
from llama_stack.providers.utils.inference.openai_mixin import OpenAIMixin from llama_stack.providers.utils.inference.openai_mixin import OpenAIMixin
from .config import CerebrasImplConfig from .config import CerebrasImplConfig
@ -20,10 +23,6 @@ class CerebrasInferenceAdapter(OpenAIMixin):
async def openai_embeddings( async def openai_embeddings(
self, self,
model: str, params: OpenAIEmbeddingsRequestWithExtraBody,
input: str | list[str],
encoding_format: str | None = "float",
dimensions: int | None = None,
user: str | None = None,
) -> OpenAIEmbeddingsResponse: ) -> OpenAIEmbeddingsResponse:
raise NotImplementedError() raise NotImplementedError()

View file

@ -7,6 +7,7 @@
from llama_stack.apis.inference.inference import ( from llama_stack.apis.inference.inference import (
OpenAICompletion, OpenAICompletion,
OpenAICompletionRequestWithExtraBody, OpenAICompletionRequestWithExtraBody,
OpenAIEmbeddingsRequestWithExtraBody,
OpenAIEmbeddingsResponse, OpenAIEmbeddingsResponse,
) )
from llama_stack.log import get_logger from llama_stack.log import get_logger
@ -40,10 +41,6 @@ class LlamaCompatInferenceAdapter(OpenAIMixin):
async def openai_embeddings( async def openai_embeddings(
self, self,
model: str, params: OpenAIEmbeddingsRequestWithExtraBody,
input: str | list[str],
encoding_format: str | None = "float",
dimensions: int | None = None,
user: str | None = None,
) -> OpenAIEmbeddingsResponse: ) -> OpenAIEmbeddingsResponse:
raise NotImplementedError() raise NotImplementedError()

View file

@ -9,6 +9,7 @@ from openai import NOT_GIVEN
from llama_stack.apis.inference import ( from llama_stack.apis.inference import (
OpenAIEmbeddingData, OpenAIEmbeddingData,
OpenAIEmbeddingsRequestWithExtraBody,
OpenAIEmbeddingsResponse, OpenAIEmbeddingsResponse,
OpenAIEmbeddingUsage, OpenAIEmbeddingUsage,
) )
@ -78,11 +79,7 @@ class NVIDIAInferenceAdapter(OpenAIMixin):
async def openai_embeddings( async def openai_embeddings(
self, self,
model: str, params: OpenAIEmbeddingsRequestWithExtraBody,
input: str | list[str],
encoding_format: str | None = "float",
dimensions: int | None = None,
user: str | None = None,
) -> OpenAIEmbeddingsResponse: ) -> OpenAIEmbeddingsResponse:
""" """
OpenAI-compatible embeddings for NVIDIA NIM. OpenAI-compatible embeddings for NVIDIA NIM.
@ -99,11 +96,11 @@ class NVIDIAInferenceAdapter(OpenAIMixin):
) )
response = await self.client.embeddings.create( response = await self.client.embeddings.create(
model=await self._get_provider_model_id(model), model=await self._get_provider_model_id(params.model),
input=input, input=params.input,
encoding_format=encoding_format if encoding_format is not None else NOT_GIVEN, encoding_format=params.encoding_format if params.encoding_format is not None else NOT_GIVEN,
dimensions=dimensions if dimensions is not None else NOT_GIVEN, dimensions=params.dimensions if params.dimensions is not None else NOT_GIVEN,
user=user if user is not None else NOT_GIVEN, user=params.user if params.user is not None else NOT_GIVEN,
extra_body=extra_body, extra_body=extra_body,
) )

View file

@ -16,6 +16,7 @@ from llama_stack.apis.inference import (
OpenAIChatCompletionRequestWithExtraBody, OpenAIChatCompletionRequestWithExtraBody,
OpenAICompletion, OpenAICompletion,
OpenAICompletionRequestWithExtraBody, OpenAICompletionRequestWithExtraBody,
OpenAIEmbeddingsRequestWithExtraBody,
OpenAIEmbeddingsResponse, OpenAIEmbeddingsResponse,
) )
from llama_stack.apis.models import Model from llama_stack.apis.models import Model
@ -69,11 +70,7 @@ class PassthroughInferenceAdapter(Inference):
async def openai_embeddings( async def openai_embeddings(
self, self,
model: str, params: OpenAIEmbeddingsRequestWithExtraBody,
input: str | list[str],
encoding_format: str | None = "float",
dimensions: int | None = None,
user: str | None = None,
) -> OpenAIEmbeddingsResponse: ) -> OpenAIEmbeddingsResponse:
raise NotImplementedError() raise NotImplementedError()

View file

@ -10,7 +10,10 @@ from collections.abc import Iterable
from huggingface_hub import AsyncInferenceClient, HfApi from huggingface_hub import AsyncInferenceClient, HfApi
from pydantic import SecretStr from pydantic import SecretStr
from llama_stack.apis.inference import OpenAIEmbeddingsResponse from llama_stack.apis.inference import (
OpenAIEmbeddingsRequestWithExtraBody,
OpenAIEmbeddingsResponse,
)
from llama_stack.log import get_logger from llama_stack.log import get_logger
from llama_stack.providers.utils.inference.openai_mixin import OpenAIMixin from llama_stack.providers.utils.inference.openai_mixin import OpenAIMixin
@ -40,11 +43,7 @@ class _HfAdapter(OpenAIMixin):
async def openai_embeddings( async def openai_embeddings(
self, self,
model: str, params: OpenAIEmbeddingsRequestWithExtraBody,
input: str | list[str],
encoding_format: str | None = "float",
dimensions: int | None = None,
user: str | None = None,
) -> OpenAIEmbeddingsResponse: ) -> OpenAIEmbeddingsResponse:
raise NotImplementedError() raise NotImplementedError()

View file

@ -11,6 +11,7 @@ from together import AsyncTogether
from together.constants import BASE_URL from together.constants import BASE_URL
from llama_stack.apis.inference import ( from llama_stack.apis.inference import (
OpenAIEmbeddingsRequestWithExtraBody,
OpenAIEmbeddingsResponse, OpenAIEmbeddingsResponse,
) )
from llama_stack.apis.inference.inference import OpenAIEmbeddingUsage from llama_stack.apis.inference.inference import OpenAIEmbeddingUsage
@ -62,11 +63,7 @@ class TogetherInferenceAdapter(OpenAIMixin, NeedsRequestProviderData):
async def openai_embeddings( async def openai_embeddings(
self, self,
model: str, params: OpenAIEmbeddingsRequestWithExtraBody,
input: str | list[str],
encoding_format: str | None = "float",
dimensions: int | None = None,
user: str | None = None,
) -> OpenAIEmbeddingsResponse: ) -> OpenAIEmbeddingsResponse:
""" """
Together's OpenAI-compatible embeddings endpoint is not compatible with Together's OpenAI-compatible embeddings endpoint is not compatible with
@ -78,25 +75,27 @@ class TogetherInferenceAdapter(OpenAIMixin, NeedsRequestProviderData):
- does not support dimensions param, returns 400 Unrecognized request arguments supplied: dimensions - does not support dimensions param, returns 400 Unrecognized request arguments supplied: dimensions
""" """
# Together support ticket #13332 -> will not fix # Together support ticket #13332 -> will not fix
if user is not None: if params.user is not None:
raise ValueError("Together's embeddings endpoint does not support user param.") raise ValueError("Together's embeddings endpoint does not support user param.")
# Together support ticket #13333 -> escalated # Together support ticket #13333 -> escalated
if dimensions is not None: if params.dimensions is not None:
raise ValueError("Together's embeddings endpoint does not support dimensions param.") raise ValueError("Together's embeddings endpoint does not support dimensions param.")
response = await self.client.embeddings.create( response = await self.client.embeddings.create(
model=await self._get_provider_model_id(model), model=await self._get_provider_model_id(params.model),
input=input, input=params.input,
encoding_format=encoding_format, encoding_format=params.encoding_format,
) )
response.model = model # return the user the same model id they provided, avoid exposing the provider model id response.model = (
params.model
) # return the user the same model id they provided, avoid exposing the provider model id
# Together support ticket #13330 -> escalated # Together support ticket #13330 -> escalated
# - togethercomputer/m2-bert-80M-32k-retrieval *does not* return usage information # - togethercomputer/m2-bert-80M-32k-retrieval *does not* return usage information
if not hasattr(response, "usage") or response.usage is None: if not hasattr(response, "usage") or response.usage is None:
logger.warning( logger.warning(
f"Together's embedding endpoint for {model} did not return usage information, substituting -1s." f"Together's embedding endpoint for {params.model} did not return usage information, substituting -1s."
) )
response.usage = OpenAIEmbeddingUsage(prompt_tokens=-1, total_tokens=-1) response.usage = OpenAIEmbeddingUsage(prompt_tokens=-1, total_tokens=-1)

View file

@ -7,18 +7,18 @@
import os import os
from typing import Any from typing import Any
from pydantic import BaseModel, ConfigDict, Field from pydantic import BaseModel, Field
from llama_stack.providers.utils.inference.model_registry import RemoteInferenceProviderConfig from llama_stack.providers.utils.inference.model_registry import RemoteInferenceProviderConfig
from llama_stack.schema_utils import json_schema_type from llama_stack.schema_utils import json_schema_type
class WatsonXProviderDataValidator(BaseModel): class WatsonXProviderDataValidator(BaseModel):
model_config = ConfigDict( watsonx_project_id: str | None = Field(
from_attributes=True, default=None,
extra="forbid", description="IBM WatsonX project ID",
) )
watsonx_api_key: str | None watsonx_api_key: str | None = None
@json_schema_type @json_schema_type

View file

@ -4,42 +4,259 @@
# This source code is licensed under the terms described in the LICENSE file in # This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree. # the root directory of this source tree.
from collections.abc import AsyncIterator
from typing import Any from typing import Any
import litellm
import requests import requests
from llama_stack.apis.inference import ChatCompletionRequest from llama_stack.apis.inference.inference import (
OpenAIChatCompletion,
OpenAIChatCompletionChunk,
OpenAIChatCompletionRequestWithExtraBody,
OpenAIChatCompletionUsage,
OpenAICompletion,
OpenAICompletionRequestWithExtraBody,
OpenAIEmbeddingsRequestWithExtraBody,
OpenAIEmbeddingsResponse,
)
from llama_stack.apis.models import Model from llama_stack.apis.models import Model
from llama_stack.apis.models.models import ModelType from llama_stack.apis.models.models import ModelType
from llama_stack.log import get_logger
from llama_stack.providers.remote.inference.watsonx.config import WatsonXConfig from llama_stack.providers.remote.inference.watsonx.config import WatsonXConfig
from llama_stack.providers.utils.inference.litellm_openai_mixin import LiteLLMOpenAIMixin from llama_stack.providers.utils.inference.litellm_openai_mixin import LiteLLMOpenAIMixin
from llama_stack.providers.utils.inference.openai_compat import prepare_openai_completion_params
from llama_stack.providers.utils.telemetry.tracing import get_current_span
logger = get_logger(name=__name__, category="providers::remote::watsonx")
class WatsonXInferenceAdapter(LiteLLMOpenAIMixin): class WatsonXInferenceAdapter(LiteLLMOpenAIMixin):
_model_cache: dict[str, Model] = {} _model_cache: dict[str, Model] = {}
provider_data_api_key_field: str = "watsonx_api_key"
def __init__(self, config: WatsonXConfig): def __init__(self, config: WatsonXConfig):
self.available_models = None
self.config = config
api_key = config.auth_credential.get_secret_value() if config.auth_credential else None
LiteLLMOpenAIMixin.__init__( LiteLLMOpenAIMixin.__init__(
self, self,
litellm_provider_name="watsonx", litellm_provider_name="watsonx",
api_key_from_config=config.auth_credential.get_secret_value() if config.auth_credential else None, api_key_from_config=api_key,
provider_data_api_key_field="watsonx_api_key", provider_data_api_key_field="watsonx_api_key",
openai_compat_api_base=self.get_base_url(),
)
async def openai_chat_completion(
self,
params: OpenAIChatCompletionRequestWithExtraBody,
) -> OpenAIChatCompletion | AsyncIterator[OpenAIChatCompletionChunk]:
"""
Override parent method to add timeout and inject usage object when missing.
This works around a LiteLLM defect where usage block is sometimes dropped.
"""
# Add usage tracking for streaming when telemetry is active
stream_options = params.stream_options
if params.stream and get_current_span() is not None:
if stream_options is None:
stream_options = {"include_usage": True}
elif "include_usage" not in stream_options:
stream_options = {**stream_options, "include_usage": True}
model_obj = await self.model_store.get_model(params.model)
request_params = await prepare_openai_completion_params(
model=self.get_litellm_model_name(model_obj.provider_resource_id),
messages=params.messages,
frequency_penalty=params.frequency_penalty,
function_call=params.function_call,
functions=params.functions,
logit_bias=params.logit_bias,
logprobs=params.logprobs,
max_completion_tokens=params.max_completion_tokens,
max_tokens=params.max_tokens,
n=params.n,
parallel_tool_calls=params.parallel_tool_calls,
presence_penalty=params.presence_penalty,
response_format=params.response_format,
seed=params.seed,
stop=params.stop,
stream=params.stream,
stream_options=stream_options,
temperature=params.temperature,
tool_choice=params.tool_choice,
tools=params.tools,
top_logprobs=params.top_logprobs,
top_p=params.top_p,
user=params.user,
api_key=self.get_api_key(),
api_base=self.api_base,
# These are watsonx-specific parameters
timeout=self.config.timeout,
project_id=self.config.project_id,
)
result = await litellm.acompletion(**request_params)
# If not streaming, check and inject usage if missing
if not params.stream:
# Use getattr to safely handle cases where usage attribute might not exist
if getattr(result, "usage", None) is None:
# Create usage object with zeros
usage_obj = OpenAIChatCompletionUsage(
prompt_tokens=0,
completion_tokens=0,
total_tokens=0,
)
# Use model_copy to create a new response with the usage injected
result = result.model_copy(update={"usage": usage_obj})
return result
# For streaming, wrap the iterator to normalize chunks
return self._normalize_stream(result)
def _normalize_chunk(self, chunk: OpenAIChatCompletionChunk) -> OpenAIChatCompletionChunk:
"""
Normalize a chunk to ensure it has all expected attributes.
This works around LiteLLM not always including all expected attributes.
"""
# Ensure chunk has usage attribute with zeros if missing
if not hasattr(chunk, "usage") or chunk.usage is None:
usage_obj = OpenAIChatCompletionUsage(
prompt_tokens=0,
completion_tokens=0,
total_tokens=0,
)
chunk = chunk.model_copy(update={"usage": usage_obj})
# Ensure all delta objects in choices have expected attributes
if hasattr(chunk, "choices") and chunk.choices:
normalized_choices = []
for choice in chunk.choices:
if hasattr(choice, "delta") and choice.delta:
delta = choice.delta
# Build update dict for missing attributes
delta_updates = {}
if not hasattr(delta, "refusal"):
delta_updates["refusal"] = None
if not hasattr(delta, "reasoning_content"):
delta_updates["reasoning_content"] = None
# If we need to update delta, create a new choice with updated delta
if delta_updates:
new_delta = delta.model_copy(update=delta_updates)
new_choice = choice.model_copy(update={"delta": new_delta})
normalized_choices.append(new_choice)
else:
normalized_choices.append(choice)
else:
normalized_choices.append(choice)
# If we modified any choices, create a new chunk with updated choices
if any(normalized_choices[i] is not chunk.choices[i] for i in range(len(chunk.choices))):
chunk = chunk.model_copy(update={"choices": normalized_choices})
return chunk
async def _normalize_stream(
self, stream: AsyncIterator[OpenAIChatCompletionChunk]
) -> AsyncIterator[OpenAIChatCompletionChunk]:
"""
Normalize all chunks in the stream to ensure they have expected attributes.
This works around LiteLLM sometimes not including expected attributes.
"""
try:
async for chunk in stream:
# Normalize and yield each chunk immediately
yield self._normalize_chunk(chunk)
except Exception as e:
logger.error(f"Error normalizing stream: {e}", exc_info=True)
raise
async def openai_completion(
self,
params: OpenAICompletionRequestWithExtraBody,
) -> OpenAICompletion:
"""
Override parent method to add watsonx-specific parameters.
"""
from llama_stack.providers.utils.inference.openai_compat import prepare_openai_completion_params
model_obj = await self.model_store.get_model(params.model)
request_params = await prepare_openai_completion_params(
model=self.get_litellm_model_name(model_obj.provider_resource_id),
prompt=params.prompt,
best_of=params.best_of,
echo=params.echo,
frequency_penalty=params.frequency_penalty,
logit_bias=params.logit_bias,
logprobs=params.logprobs,
max_tokens=params.max_tokens,
n=params.n,
presence_penalty=params.presence_penalty,
seed=params.seed,
stop=params.stop,
stream=params.stream,
stream_options=params.stream_options,
temperature=params.temperature,
top_p=params.top_p,
user=params.user,
suffix=params.suffix,
api_key=self.get_api_key(),
api_base=self.api_base,
# These are watsonx-specific parameters
timeout=self.config.timeout,
project_id=self.config.project_id,
)
return await litellm.atext_completion(**request_params)
async def openai_embeddings(
self,
params: OpenAIEmbeddingsRequestWithExtraBody,
) -> OpenAIEmbeddingsResponse:
"""
Override parent method to add watsonx-specific parameters.
"""
model_obj = await self.model_store.get_model(params.model)
# Convert input to list if it's a string
input_list = [params.input] if isinstance(params.input, str) else params.input
# Call litellm embedding function with watsonx-specific parameters
response = litellm.embedding(
model=self.get_litellm_model_name(model_obj.provider_resource_id),
input=input_list,
api_key=self.get_api_key(),
api_base=self.api_base,
dimensions=params.dimensions,
# These are watsonx-specific parameters
timeout=self.config.timeout,
project_id=self.config.project_id,
)
# Convert response to OpenAI format
from llama_stack.apis.inference import OpenAIEmbeddingUsage
from llama_stack.providers.utils.inference.litellm_openai_mixin import b64_encode_openai_embeddings_response
data = b64_encode_openai_embeddings_response(response.data, params.encoding_format)
usage = OpenAIEmbeddingUsage(
prompt_tokens=response["usage"]["prompt_tokens"],
total_tokens=response["usage"]["total_tokens"],
)
return OpenAIEmbeddingsResponse(
data=data,
model=model_obj.provider_resource_id,
usage=usage,
) )
self.available_models = None
self.config = config
def get_base_url(self) -> str: def get_base_url(self) -> str:
return self.config.url return self.config.url
async def _get_params(self, request: ChatCompletionRequest) -> dict[str, Any]:
# Get base parameters from parent
params = await super()._get_params(request)
# Add watsonx.ai specific parameters
params["project_id"] = self.config.project_id
params["time_limit"] = self.config.timeout
return params
# Copied from OpenAIMixin # Copied from OpenAIMixin
async def check_model_availability(self, model: str) -> bool: async def check_model_availability(self, model: str) -> bool:
""" """

View file

@ -7,7 +7,7 @@
import json import json
from typing import Any from typing import Any
from llama_stack.apis.inference import Message from llama_stack.apis.inference import OpenAIMessageParam
from llama_stack.apis.safety import ( from llama_stack.apis.safety import (
RunShieldResponse, RunShieldResponse,
Safety, Safety,
@ -56,7 +56,7 @@ class BedrockSafetyAdapter(Safety, ShieldsProtocolPrivate):
pass pass
async def run_shield( async def run_shield(
self, shield_id: str, messages: list[Message], params: dict[str, Any] = None self, shield_id: str, messages: list[OpenAIMessageParam], params: dict[str, Any] = None
) -> RunShieldResponse: ) -> RunShieldResponse:
shield = await self.shield_store.get_shield(shield_id) shield = await self.shield_store.get_shield(shield_id)
if not shield: if not shield:

View file

@ -8,12 +8,11 @@ from typing import Any
import requests import requests
from llama_stack.apis.inference import Message from llama_stack.apis.inference import OpenAIMessageParam
from llama_stack.apis.safety import ModerationObject, RunShieldResponse, Safety, SafetyViolation, ViolationLevel from llama_stack.apis.safety import ModerationObject, RunShieldResponse, Safety, SafetyViolation, ViolationLevel
from llama_stack.apis.shields import Shield from llama_stack.apis.shields import Shield
from llama_stack.log import get_logger from llama_stack.log import get_logger
from llama_stack.providers.datatypes import ShieldsProtocolPrivate from llama_stack.providers.datatypes import ShieldsProtocolPrivate
from llama_stack.providers.utils.inference.openai_compat import convert_message_to_openai_dict_new
from .config import NVIDIASafetyConfig from .config import NVIDIASafetyConfig
@ -44,7 +43,7 @@ class NVIDIASafetyAdapter(Safety, ShieldsProtocolPrivate):
pass pass
async def run_shield( async def run_shield(
self, shield_id: str, messages: list[Message], params: dict[str, Any] | None = None self, shield_id: str, messages: list[OpenAIMessageParam], params: dict[str, Any] | None = None
) -> RunShieldResponse: ) -> RunShieldResponse:
""" """
Run a safety shield check against the provided messages. Run a safety shield check against the provided messages.
@ -118,7 +117,7 @@ class NeMoGuardrails:
response.raise_for_status() response.raise_for_status()
return response.json() return response.json()
async def run(self, messages: list[Message]) -> RunShieldResponse: async def run(self, messages: list[OpenAIMessageParam]) -> RunShieldResponse:
""" """
Queries the /v1/guardrails/checks endpoint of the NeMo guardrails deployed API. Queries the /v1/guardrails/checks endpoint of the NeMo guardrails deployed API.
@ -132,10 +131,9 @@ class NeMoGuardrails:
Raises: Raises:
requests.HTTPError: If the POST request fails. requests.HTTPError: If the POST request fails.
""" """
request_messages = [await convert_message_to_openai_dict_new(message) for message in messages]
request_data = { request_data = {
"model": self.model, "model": self.model,
"messages": request_messages, "messages": [{"role": message.role, "content": message.content} for message in messages],
"temperature": self.temperature, "temperature": self.temperature,
"top_p": 1, "top_p": 1,
"frequency_penalty": 0, "frequency_penalty": 0,

View file

@ -4,13 +4,12 @@
# This source code is licensed under the terms described in the LICENSE file in # This source code is licensed under the terms described in the LICENSE file in
# the root directory of this source tree. # the root directory of this source tree.
import json
from typing import Any from typing import Any
import litellm import litellm
import requests import requests
from llama_stack.apis.inference import Message from llama_stack.apis.inference import OpenAIMessageParam
from llama_stack.apis.safety import ( from llama_stack.apis.safety import (
RunShieldResponse, RunShieldResponse,
Safety, Safety,
@ -21,7 +20,6 @@ from llama_stack.apis.shields import Shield
from llama_stack.core.request_headers import NeedsRequestProviderData from llama_stack.core.request_headers import NeedsRequestProviderData
from llama_stack.log import get_logger from llama_stack.log import get_logger
from llama_stack.providers.datatypes import ShieldsProtocolPrivate from llama_stack.providers.datatypes import ShieldsProtocolPrivate
from llama_stack.providers.utils.inference.openai_compat import convert_message_to_openai_dict_new
from .config import SambaNovaSafetyConfig from .config import SambaNovaSafetyConfig
@ -72,7 +70,7 @@ class SambaNovaSafetyAdapter(Safety, ShieldsProtocolPrivate, NeedsRequestProvide
pass pass
async def run_shield( async def run_shield(
self, shield_id: str, messages: list[Message], params: dict[str, Any] | None = None self, shield_id: str, messages: list[OpenAIMessageParam], params: dict[str, Any] | None = None
) -> RunShieldResponse: ) -> RunShieldResponse:
shield = await self.shield_store.get_shield(shield_id) shield = await self.shield_store.get_shield(shield_id)
if not shield: if not shield:
@ -80,12 +78,8 @@ class SambaNovaSafetyAdapter(Safety, ShieldsProtocolPrivate, NeedsRequestProvide
shield_params = shield.params shield_params = shield.params
logger.debug(f"run_shield::{shield_params}::messages={messages}") logger.debug(f"run_shield::{shield_params}::messages={messages}")
content_messages = [await convert_message_to_openai_dict_new(m) for m in messages]
logger.debug(f"run_shield::final:messages::{json.dumps(content_messages, indent=2)}:")
response = litellm.completion( response = litellm.completion(model=shield.provider_resource_id, messages=messages, api_key=self._get_api_key())
model=shield.provider_resource_id, messages=content_messages, api_key=self._get_api_key()
)
shield_message = response.choices[0].message.content shield_message = response.choices[0].message.content
if "unsafe" in shield_message.lower(): if "unsafe" in shield_message.lower():

View file

@ -17,6 +17,7 @@ if TYPE_CHECKING:
from llama_stack.apis.inference import ( from llama_stack.apis.inference import (
ModelStore, ModelStore,
OpenAIEmbeddingData, OpenAIEmbeddingData,
OpenAIEmbeddingsRequestWithExtraBody,
OpenAIEmbeddingsResponse, OpenAIEmbeddingsResponse,
OpenAIEmbeddingUsage, OpenAIEmbeddingUsage,
) )
@ -32,26 +33,22 @@ class SentenceTransformerEmbeddingMixin:
async def openai_embeddings( async def openai_embeddings(
self, self,
model: str, params: OpenAIEmbeddingsRequestWithExtraBody,
input: str | list[str],
encoding_format: str | None = "float",
dimensions: int | None = None,
user: str | None = None,
) -> OpenAIEmbeddingsResponse: ) -> OpenAIEmbeddingsResponse:
# Convert input to list format if it's a single string # Convert input to list format if it's a single string
input_list = [input] if isinstance(input, str) else input input_list = [params.input] if isinstance(params.input, str) else params.input
if not input_list: if not input_list:
raise ValueError("Empty list not supported") raise ValueError("Empty list not supported")
# Get the model and generate embeddings # Get the model and generate embeddings
model_obj = await self.model_store.get_model(model) model_obj = await self.model_store.get_model(params.model)
embedding_model = await self._load_sentence_transformer_model(model_obj.provider_resource_id) embedding_model = await self._load_sentence_transformer_model(model_obj.provider_resource_id)
embeddings = await asyncio.to_thread(embedding_model.encode, input_list, show_progress_bar=False) embeddings = await asyncio.to_thread(embedding_model.encode, input_list, show_progress_bar=False)
# Convert embeddings to the requested format # Convert embeddings to the requested format
data = [] data = []
for i, embedding in enumerate(embeddings): for i, embedding in enumerate(embeddings):
if encoding_format == "base64": if params.encoding_format == "base64":
# Convert float array to base64 string # Convert float array to base64 string
float_bytes = struct.pack(f"{len(embedding)}f", *embedding) float_bytes = struct.pack(f"{len(embedding)}f", *embedding)
embedding_value = base64.b64encode(float_bytes).decode("ascii") embedding_value = base64.b64encode(float_bytes).decode("ascii")
@ -70,7 +67,7 @@ class SentenceTransformerEmbeddingMixin:
usage = OpenAIEmbeddingUsage(prompt_tokens=-1, total_tokens=-1) usage = OpenAIEmbeddingUsage(prompt_tokens=-1, total_tokens=-1)
return OpenAIEmbeddingsResponse( return OpenAIEmbeddingsResponse(
data=data, data=data,
model=model, model=params.model,
usage=usage, usage=usage,
) )
@ -86,7 +83,7 @@ class SentenceTransformerEmbeddingMixin:
def _load_model(): def _load_model():
from sentence_transformers import SentenceTransformer from sentence_transformers import SentenceTransformer
return SentenceTransformer(model) return SentenceTransformer(model, trust_remote_code=True)
loaded_model = await asyncio.to_thread(_load_model) loaded_model = await asyncio.to_thread(_load_model)
EMBEDDING_MODELS[model] = loaded_model EMBEDDING_MODELS[model] = loaded_model

View file

@ -20,6 +20,7 @@ from llama_stack.apis.inference import (
OpenAICompletion, OpenAICompletion,
OpenAICompletionRequestWithExtraBody, OpenAICompletionRequestWithExtraBody,
OpenAIEmbeddingData, OpenAIEmbeddingData,
OpenAIEmbeddingsRequestWithExtraBody,
OpenAIEmbeddingsResponse, OpenAIEmbeddingsResponse,
OpenAIEmbeddingUsage, OpenAIEmbeddingUsage,
ToolChoice, ToolChoice,
@ -189,16 +190,12 @@ class LiteLLMOpenAIMixin(
async def openai_embeddings( async def openai_embeddings(
self, self,
model: str, params: OpenAIEmbeddingsRequestWithExtraBody,
input: str | list[str],
encoding_format: str | None = "float",
dimensions: int | None = None,
user: str | None = None,
) -> OpenAIEmbeddingsResponse: ) -> OpenAIEmbeddingsResponse:
model_obj = await self.model_store.get_model(model) model_obj = await self.model_store.get_model(params.model)
# Convert input to list if it's a string # Convert input to list if it's a string
input_list = [input] if isinstance(input, str) else input input_list = [params.input] if isinstance(params.input, str) else params.input
# Call litellm embedding function # Call litellm embedding function
# litellm.drop_params = True # litellm.drop_params = True
@ -207,11 +204,11 @@ class LiteLLMOpenAIMixin(
input=input_list, input=input_list,
api_key=self.get_api_key(), api_key=self.get_api_key(),
api_base=self.api_base, api_base=self.api_base,
dimensions=dimensions, dimensions=params.dimensions,
) )
# Convert response to OpenAI format # Convert response to OpenAI format
data = b64_encode_openai_embeddings_response(response.data, encoding_format) data = b64_encode_openai_embeddings_response(response.data, params.encoding_format)
usage = OpenAIEmbeddingUsage( usage = OpenAIEmbeddingUsage(
prompt_tokens=response["usage"]["prompt_tokens"], prompt_tokens=response["usage"]["prompt_tokens"],

View file

@ -21,6 +21,7 @@ from llama_stack.apis.inference import (
OpenAICompletion, OpenAICompletion,
OpenAICompletionRequestWithExtraBody, OpenAICompletionRequestWithExtraBody,
OpenAIEmbeddingData, OpenAIEmbeddingData,
OpenAIEmbeddingsRequestWithExtraBody,
OpenAIEmbeddingsResponse, OpenAIEmbeddingsResponse,
OpenAIEmbeddingUsage, OpenAIEmbeddingUsage,
OpenAIMessageParam, OpenAIMessageParam,
@ -316,23 +317,27 @@ class OpenAIMixin(NeedsRequestProviderData, ABC, BaseModel):
async def openai_embeddings( async def openai_embeddings(
self, self,
model: str, params: OpenAIEmbeddingsRequestWithExtraBody,
input: str | list[str],
encoding_format: str | None = "float",
dimensions: int | None = None,
user: str | None = None,
) -> OpenAIEmbeddingsResponse: ) -> OpenAIEmbeddingsResponse:
""" """
Direct OpenAI embeddings API call. Direct OpenAI embeddings API call.
""" """
# Prepare request parameters
request_params = {
"model": await self._get_provider_model_id(params.model),
"input": params.input,
"encoding_format": params.encoding_format if params.encoding_format is not None else NOT_GIVEN,
"dimensions": params.dimensions if params.dimensions is not None else NOT_GIVEN,
"user": params.user if params.user is not None else NOT_GIVEN,
}
# Add extra_body if present
extra_body = params.model_extra
if extra_body:
request_params["extra_body"] = extra_body
# Call OpenAI embeddings API with properly typed parameters # Call OpenAI embeddings API with properly typed parameters
response = await self.client.embeddings.create( response = await self.client.embeddings.create(**request_params)
model=await self._get_provider_model_id(model),
input=input,
encoding_format=encoding_format if encoding_format is not None else NOT_GIVEN,
dimensions=dimensions if dimensions is not None else NOT_GIVEN,
user=user if user is not None else NOT_GIVEN,
)
data = [] data = []
for i, embedding_data in enumerate(response.data): for i, embedding_data in enumerate(response.data):
@ -350,7 +355,7 @@ class OpenAIMixin(NeedsRequestProviderData, ABC, BaseModel):
return OpenAIEmbeddingsResponse( return OpenAIEmbeddingsResponse(
data=data, data=data,
model=model, model=params.model,
usage=usage, usage=usage,
) )

View file

@ -9,6 +9,7 @@ import base64
import io import io
import json import json
import re import re
from typing import Any
import httpx import httpx
from PIL import Image as PIL_Image from PIL import Image as PIL_Image
@ -23,6 +24,9 @@ from llama_stack.apis.inference import (
ChatCompletionRequest, ChatCompletionRequest,
CompletionRequest, CompletionRequest,
Message, Message,
OpenAIChatCompletionContentPartImageParam,
OpenAIChatCompletionContentPartTextParam,
OpenAIFile,
ResponseFormat, ResponseFormat,
ResponseFormatType, ResponseFormatType,
SystemMessage, SystemMessage,
@ -74,14 +78,22 @@ def decode_assistant_message(content: str, stop_reason: StopReason) -> RawMessag
return formatter.decode_assistant_message_from_content(content, stop_reason) return formatter.decode_assistant_message_from_content(content, stop_reason)
def interleaved_content_as_str(content: InterleavedContent, sep: str = " ") -> str: def interleaved_content_as_str(
content: Any,
sep: str = " ",
) -> str:
if content is None:
return ""
def _process(c) -> str: def _process(c) -> str:
if isinstance(c, str): if isinstance(c, str):
return c return c
elif isinstance(c, ImageContentItem): elif isinstance(c, TextContentItem) or isinstance(c, OpenAIChatCompletionContentPartTextParam):
return "<image>"
elif isinstance(c, TextContentItem):
return c.text return c.text
elif isinstance(c, ImageContentItem) or isinstance(c, OpenAIChatCompletionContentPartImageParam):
return "<image>"
elif isinstance(c, OpenAIFile):
return "<file>"
else: else:
raise ValueError(f"Unsupported content type: {type(c)}") raise ValueError(f"Unsupported content type: {type(c)}")

View file

@ -21,12 +21,38 @@ class SqliteKVStoreImpl(KVStore):
def __init__(self, config: SqliteKVStoreConfig): def __init__(self, config: SqliteKVStoreConfig):
self.db_path = config.db_path self.db_path = config.db_path
self.table_name = "kvstore" self.table_name = "kvstore"
self._conn: aiosqlite.Connection | None = None
def __str__(self): def __str__(self):
return f"SqliteKVStoreImpl(db_path={self.db_path}, table_name={self.table_name})" return f"SqliteKVStoreImpl(db_path={self.db_path}, table_name={self.table_name})"
def _is_memory_db(self) -> bool:
"""Check if this is an in-memory database."""
return self.db_path == ":memory:" or "mode=memory" in self.db_path
async def initialize(self): async def initialize(self):
os.makedirs(os.path.dirname(self.db_path), exist_ok=True) # Skip directory creation for in-memory databases and file: URIs
if not self._is_memory_db() and not self.db_path.startswith("file:"):
db_dir = os.path.dirname(self.db_path)
if db_dir: # Only create if there's a directory component
os.makedirs(db_dir, exist_ok=True)
# Only use persistent connection for in-memory databases
# File-based databases use connection-per-operation to avoid hangs
if self._is_memory_db():
self._conn = await aiosqlite.connect(self.db_path)
await self._conn.execute(
f"""
CREATE TABLE IF NOT EXISTS {self.table_name} (
key TEXT PRIMARY KEY,
value TEXT,
expiration TIMESTAMP
)
"""
)
await self._conn.commit()
else:
# For file-based databases, just create the table
async with aiosqlite.connect(self.db_path) as db: async with aiosqlite.connect(self.db_path) as db:
await db.execute( await db.execute(
f""" f"""
@ -39,7 +65,22 @@ class SqliteKVStoreImpl(KVStore):
) )
await db.commit() await db.commit()
async def shutdown(self):
"""Close the persistent connection (only for in-memory databases)."""
if self._conn:
await self._conn.close()
self._conn = None
async def set(self, key: str, value: str, expiration: datetime | None = None) -> None: async def set(self, key: str, value: str, expiration: datetime | None = None) -> None:
if self._conn:
# In-memory database with persistent connection
await self._conn.execute(
f"INSERT OR REPLACE INTO {self.table_name} (key, value, expiration) VALUES (?, ?, ?)",
(key, value, expiration),
)
await self._conn.commit()
else:
# File-based database with connection per operation
async with aiosqlite.connect(self.db_path) as db: async with aiosqlite.connect(self.db_path) as db:
await db.execute( await db.execute(
f"INSERT OR REPLACE INTO {self.table_name} (key, value, expiration) VALUES (?, ?, ?)", f"INSERT OR REPLACE INTO {self.table_name} (key, value, expiration) VALUES (?, ?, ?)",
@ -48,8 +89,25 @@ class SqliteKVStoreImpl(KVStore):
await db.commit() await db.commit()
async def get(self, key: str) -> str | None: async def get(self, key: str) -> str | None:
if self._conn:
# In-memory database with persistent connection
async with self._conn.execute(
f"SELECT value, expiration FROM {self.table_name} WHERE key = ?", (key,)
) as cursor:
row = await cursor.fetchone()
if row is None:
return None
value, expiration = row
if not isinstance(value, str):
logger.warning(f"Expected string value for key {key}, got {type(value)}, returning None")
return None
return value
else:
# File-based database with connection per operation
async with aiosqlite.connect(self.db_path) as db: async with aiosqlite.connect(self.db_path) as db:
async with db.execute(f"SELECT value, expiration FROM {self.table_name} WHERE key = ?", (key,)) as cursor: async with db.execute(
f"SELECT value, expiration FROM {self.table_name} WHERE key = ?", (key,)
) as cursor:
row = await cursor.fetchone() row = await cursor.fetchone()
if row is None: if row is None:
return None return None
@ -60,11 +118,30 @@ class SqliteKVStoreImpl(KVStore):
return value return value
async def delete(self, key: str) -> None: async def delete(self, key: str) -> None:
if self._conn:
# In-memory database with persistent connection
await self._conn.execute(f"DELETE FROM {self.table_name} WHERE key = ?", (key,))
await self._conn.commit()
else:
# File-based database with connection per operation
async with aiosqlite.connect(self.db_path) as db: async with aiosqlite.connect(self.db_path) as db:
await db.execute(f"DELETE FROM {self.table_name} WHERE key = ?", (key,)) await db.execute(f"DELETE FROM {self.table_name} WHERE key = ?", (key,))
await db.commit() await db.commit()
async def values_in_range(self, start_key: str, end_key: str) -> list[str]: async def values_in_range(self, start_key: str, end_key: str) -> list[str]:
if self._conn:
# In-memory database with persistent connection
async with self._conn.execute(
f"SELECT key, value, expiration FROM {self.table_name} WHERE key >= ? AND key <= ?",
(start_key, end_key),
) as cursor:
result = []
async for row in cursor:
_, value, _ = row
result.append(value)
return result
else:
# File-based database with connection per operation
async with aiosqlite.connect(self.db_path) as db: async with aiosqlite.connect(self.db_path) as db:
async with db.execute( async with db.execute(
f"SELECT key, value, expiration FROM {self.table_name} WHERE key >= ? AND key <= ?", f"SELECT key, value, expiration FROM {self.table_name} WHERE key >= ? AND key <= ?",
@ -78,6 +155,16 @@ class SqliteKVStoreImpl(KVStore):
async def keys_in_range(self, start_key: str, end_key: str) -> list[str]: async def keys_in_range(self, start_key: str, end_key: str) -> list[str]:
"""Get all keys in the given range.""" """Get all keys in the given range."""
if self._conn:
# In-memory database with persistent connection
cursor = await self._conn.execute(
f"SELECT key FROM {self.table_name} WHERE key >= ? AND key <= ?",
(start_key, end_key),
)
rows = await cursor.fetchall()
return [row[0] for row in rows]
else:
# File-based database with connection per operation
async with aiosqlite.connect(self.db_path) as db: async with aiosqlite.connect(self.db_path) as db:
cursor = await db.execute( cursor = await db.execute(
f"SELECT key FROM {self.table_name} WHERE key >= ? AND key <= ?", f"SELECT key FROM {self.table_name} WHERE key >= ? AND key <= ?",

View file

@ -10,8 +10,9 @@ import mimetypes
import time import time
import uuid import uuid
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
from typing import Any from typing import Annotated, Any
from fastapi import Body
from pydantic import TypeAdapter from pydantic import TypeAdapter
from llama_stack.apis.common.errors import VectorStoreNotFoundError from llama_stack.apis.common.errors import VectorStoreNotFoundError
@ -19,6 +20,8 @@ from llama_stack.apis.files import Files, OpenAIFileObject
from llama_stack.apis.vector_dbs import VectorDB from llama_stack.apis.vector_dbs import VectorDB
from llama_stack.apis.vector_io import ( from llama_stack.apis.vector_io import (
Chunk, Chunk,
OpenAICreateVectorStoreFileBatchRequestWithExtraBody,
OpenAICreateVectorStoreRequestWithExtraBody,
QueryChunksResponse, QueryChunksResponse,
SearchRankingOptions, SearchRankingOptions,
VectorStoreChunkingStrategy, VectorStoreChunkingStrategy,
@ -340,39 +343,39 @@ class OpenAIVectorStoreMixin(ABC):
async def openai_create_vector_store( async def openai_create_vector_store(
self, self,
name: str | None = None, params: Annotated[OpenAICreateVectorStoreRequestWithExtraBody, Body(...)],
file_ids: list[str] | None = None,
expires_after: dict[str, Any] | None = None,
chunking_strategy: dict[str, Any] | None = None,
metadata: dict[str, Any] | None = None,
embedding_model: str | None = None,
embedding_dimension: int | None = 384,
provider_id: str | None = None,
provider_vector_db_id: str | None = None,
) -> VectorStoreObject: ) -> VectorStoreObject:
"""Creates a vector store.""" """Creates a vector store."""
created_at = int(time.time()) created_at = int(time.time())
# Extract llama-stack-specific parameters from extra_body
extra = params.model_extra or {}
provider_vector_db_id = extra.get("provider_vector_db_id")
embedding_model = extra.get("embedding_model")
embedding_dimension = extra.get("embedding_dimension", 768)
# use provider_id set by router; fallback to provider's own ID when used directly via --stack-config
provider_id = extra.get("provider_id") or getattr(self, "__provider_id__", None)
# Derive the canonical vector_db_id (allow override, else generate) # Derive the canonical vector_db_id (allow override, else generate)
vector_db_id = provider_vector_db_id or generate_object_id("vector_store", lambda: f"vs_{uuid.uuid4()}") vector_db_id = provider_vector_db_id or generate_object_id("vector_store", lambda: f"vs_{uuid.uuid4()}")
if provider_id is None:
raise ValueError("Provider ID is required")
if embedding_model is None: if embedding_model is None:
raise ValueError("Embedding model is required") raise ValueError("Embedding model is required")
# Embedding dimension is required (defaulted to 384 if not provided) # Embedding dimension is required (defaulted to 768 if not provided)
if embedding_dimension is None: if embedding_dimension is None:
raise ValueError("Embedding dimension is required") raise ValueError("Embedding dimension is required")
# Register the VectorDB backing this vector store # Register the VectorDB backing this vector store
if provider_id is None:
raise ValueError("Provider ID is required but was not provided")
vector_db = VectorDB( vector_db = VectorDB(
identifier=vector_db_id, identifier=vector_db_id,
embedding_dimension=embedding_dimension, embedding_dimension=embedding_dimension,
embedding_model=embedding_model, embedding_model=embedding_model,
provider_id=provider_id, provider_id=provider_id,
provider_resource_id=vector_db_id, provider_resource_id=vector_db_id,
vector_db_name=name, vector_db_name=params.name,
) )
await self.register_vector_db(vector_db) await self.register_vector_db(vector_db)
@ -391,19 +394,19 @@ class OpenAIVectorStoreMixin(ABC):
"id": vector_db_id, "id": vector_db_id,
"object": "vector_store", "object": "vector_store",
"created_at": created_at, "created_at": created_at,
"name": name, "name": params.name,
"usage_bytes": 0, "usage_bytes": 0,
"file_counts": file_counts.model_dump(), "file_counts": file_counts.model_dump(),
"status": status, "status": status,
"expires_after": expires_after, "expires_after": params.expires_after,
"expires_at": None, "expires_at": None,
"last_active_at": created_at, "last_active_at": created_at,
"file_ids": [], "file_ids": [],
"chunking_strategy": chunking_strategy, "chunking_strategy": params.chunking_strategy,
} }
# Add provider information to metadata if provided # Add provider information to metadata if provided
metadata = metadata or {} metadata = params.metadata or {}
if provider_id: if provider_id:
metadata["provider_id"] = provider_id metadata["provider_id"] = provider_id
if provider_vector_db_id: if provider_vector_db_id:
@ -417,7 +420,7 @@ class OpenAIVectorStoreMixin(ABC):
self.openai_vector_stores[vector_db_id] = store_info self.openai_vector_stores[vector_db_id] = store_info
# Now that our vector store is created, attach any files that were provided # Now that our vector store is created, attach any files that were provided
file_ids = file_ids or [] file_ids = params.file_ids or []
tasks = [self.openai_attach_file_to_vector_store(vector_db_id, file_id) for file_id in file_ids] tasks = [self.openai_attach_file_to_vector_store(vector_db_id, file_id) for file_id in file_ids]
await asyncio.gather(*tasks) await asyncio.gather(*tasks)
@ -976,15 +979,13 @@ class OpenAIVectorStoreMixin(ABC):
async def openai_create_vector_store_file_batch( async def openai_create_vector_store_file_batch(
self, self,
vector_store_id: str, vector_store_id: str,
file_ids: list[str], params: Annotated[OpenAICreateVectorStoreFileBatchRequestWithExtraBody, Body(...)],
attributes: dict[str, Any] | None = None,
chunking_strategy: VectorStoreChunkingStrategy | None = None,
) -> VectorStoreFileBatchObject: ) -> VectorStoreFileBatchObject:
"""Create a vector store file batch.""" """Create a vector store file batch."""
if vector_store_id not in self.openai_vector_stores: if vector_store_id not in self.openai_vector_stores:
raise VectorStoreNotFoundError(vector_store_id) raise VectorStoreNotFoundError(vector_store_id)
chunking_strategy = chunking_strategy or VectorStoreChunkingStrategyAuto() chunking_strategy = params.chunking_strategy or VectorStoreChunkingStrategyAuto()
created_at = int(time.time()) created_at = int(time.time())
batch_id = generate_object_id("vector_store_file_batch", lambda: f"batch_{uuid.uuid4()}") batch_id = generate_object_id("vector_store_file_batch", lambda: f"batch_{uuid.uuid4()}")
@ -996,8 +997,8 @@ class OpenAIVectorStoreMixin(ABC):
completed=0, completed=0,
cancelled=0, cancelled=0,
failed=0, failed=0,
in_progress=len(file_ids), in_progress=len(params.file_ids),
total=len(file_ids), total=len(params.file_ids),
) )
# Create batch object immediately with in_progress status # Create batch object immediately with in_progress status
@ -1011,8 +1012,8 @@ class OpenAIVectorStoreMixin(ABC):
batch_info = { batch_info = {
**batch_object.model_dump(), **batch_object.model_dump(),
"file_ids": file_ids, "file_ids": params.file_ids,
"attributes": attributes, "attributes": params.attributes,
"chunking_strategy": chunking_strategy.model_dump(), "chunking_strategy": chunking_strategy.model_dump(),
"expires_at": expires_at, "expires_at": expires_at,
} }

View file

@ -21,6 +21,7 @@ from llama_stack.apis.common.content_types import (
URL, URL,
InterleavedContent, InterleavedContent,
) )
from llama_stack.apis.inference import OpenAIEmbeddingsRequestWithExtraBody
from llama_stack.apis.tools import RAGDocument from llama_stack.apis.tools import RAGDocument
from llama_stack.apis.vector_dbs import VectorDB from llama_stack.apis.vector_dbs import VectorDB
from llama_stack.apis.vector_io import Chunk, ChunkMetadata, QueryChunksResponse from llama_stack.apis.vector_io import Chunk, ChunkMetadata, QueryChunksResponse
@ -274,10 +275,11 @@ class VectorDBWithIndex:
_validate_embedding(c.embedding, i, self.vector_db.embedding_dimension) _validate_embedding(c.embedding, i, self.vector_db.embedding_dimension)
if chunks_to_embed: if chunks_to_embed:
resp = await self.inference_api.openai_embeddings( params = OpenAIEmbeddingsRequestWithExtraBody(
self.vector_db.embedding_model, model=self.vector_db.embedding_model,
[c.content for c in chunks_to_embed], input=[c.content for c in chunks_to_embed],
) )
resp = await self.inference_api.openai_embeddings(params)
for c, data in zip(chunks_to_embed, resp.data, strict=False): for c, data in zip(chunks_to_embed, resp.data, strict=False):
c.embedding = data.embedding c.embedding = data.embedding
@ -316,7 +318,11 @@ class VectorDBWithIndex:
if mode == "keyword": if mode == "keyword":
return await self.index.query_keyword(query_string, k, score_threshold) return await self.index.query_keyword(query_string, k, score_threshold)
embeddings_response = await self.inference_api.openai_embeddings(self.vector_db.embedding_model, [query_string]) params = OpenAIEmbeddingsRequestWithExtraBody(
model=self.vector_db.embedding_model,
input=[query_string],
)
embeddings_response = await self.inference_api.openai_embeddings(params)
query_vector = np.array(embeddings_response.data[0].embedding, dtype=np.float32) query_vector = np.array(embeddings_response.data[0].embedding, dtype=np.float32)
if mode == "hybrid": if mode == "hybrid":
return await self.index.query_hybrid( return await self.index.query_hybrid(

View file

@ -34,7 +34,7 @@ dependencies = [
"openai>=1.107", # for expires_after support "openai>=1.107", # for expires_after support
"prompt-toolkit", "prompt-toolkit",
"python-dotenv", "python-dotenv",
"python-jose[cryptography]", "pyjwt[crypto]>=2.10.0", # Pull crypto to support RS256 for jwt. Requires 2.10.0+ for ssl_context support.
"pydantic>=2.11.9", "pydantic>=2.11.9",
"rich", "rich",
"starlette", "starlette",

View file

@ -290,6 +290,8 @@ pytest -s -v $PYTEST_TARGET \
-k "$PYTEST_PATTERN" \ -k "$PYTEST_PATTERN" \
$EXTRA_PARAMS \ $EXTRA_PARAMS \
--color=yes \ --color=yes \
--embedding-model=nomic-ai/nomic-embed-text-v1.5 \
--color=yes $EXTRA_PARAMS \
--capture=tee-sys --capture=tee-sys
exit_code=$? exit_code=$?
set +x set +x

View file

@ -8,7 +8,7 @@ FROM --platform=linux/amd64 ollama/ollama:latest
RUN ollama serve & \ RUN ollama serve & \
sleep 5 && \ sleep 5 && \
ollama pull llama3.2:3b-instruct-fp16 && \ ollama pull llama3.2:3b-instruct-fp16 && \
ollama pull all-minilm:l6-v2 && \ ollama pull nomic-embed-text:v1.5 && \
ollama pull llama-guard3:1b ollama pull llama-guard3:1b
# Set the entrypoint to start ollama serve # Set the entrypoint to start ollama serve

View file

@ -8,7 +8,7 @@ FROM --platform=linux/amd64 ollama/ollama:latest
RUN ollama serve & \ RUN ollama serve & \
sleep 5 && \ sleep 5 && \
ollama pull llama3.2-vision:11b && \ ollama pull llama3.2-vision:11b && \
ollama pull all-minilm:l6-v2 ollama pull nomic-embed-text:v1.5
# Set the entrypoint to start ollama serve # Set the entrypoint to start ollama serve
ENTRYPOINT ["ollama", "serve"] ENTRYPOINT ["ollama", "serve"]

View file

@ -35,7 +35,7 @@ Model parameters can be influenced by the following options:
- `--embedding-model`: comma-separated list of embedding models. - `--embedding-model`: comma-separated list of embedding models.
- `--safety-shield`: comma-separated list of safety shields. - `--safety-shield`: comma-separated list of safety shields.
- `--judge-model`: comma-separated list of judge models. - `--judge-model`: comma-separated list of judge models.
- `--embedding-dimension`: output dimensionality of the embedding model to use for testing. Default: 384 - `--embedding-dimension`: output dimensionality of the embedding model to use for testing. Default: 768
Each of these are comma-separated lists and can be used to generate multiple parameter combinations. Note that tests will be skipped Each of these are comma-separated lists and can be used to generate multiple parameter combinations. Note that tests will be skipped
if no model is specified. if no model is specified.
@ -82,7 +82,7 @@ OLLAMA_URL=http://localhost:11434 \
pytest -s -v tests/integration/inference/test_text_inference.py \ pytest -s -v tests/integration/inference/test_text_inference.py \
--stack-config=server:starter \ --stack-config=server:starter \
--text-model=ollama/llama3.2:3b-instruct-fp16 \ --text-model=ollama/llama3.2:3b-instruct-fp16 \
--embedding-model=sentence-transformers/all-MiniLM-L6-v2 --embedding-model=nomic-embed-text-v1.5
``` ```
Run tests with auto-server startup on a custom port: Run tests with auto-server startup on a custom port:
@ -92,7 +92,7 @@ OLLAMA_URL=http://localhost:11434 \
pytest -s -v tests/integration/inference/ \ pytest -s -v tests/integration/inference/ \
--stack-config=server:starter:8322 \ --stack-config=server:starter:8322 \
--text-model=ollama/llama3.2:3b-instruct-fp16 \ --text-model=ollama/llama3.2:3b-instruct-fp16 \
--embedding-model=sentence-transformers/all-MiniLM-L6-v2 --embedding-model=nomic-embed-text-v1.5
``` ```
### Testing with Library Client ### Testing with Library Client
@ -120,7 +120,7 @@ Another example: Running Vector IO tests for embedding models:
```bash ```bash
pytest -s -v tests/integration/vector_io/ \ pytest -s -v tests/integration/vector_io/ \
--stack-config=inference=inline::sentence-transformers,vector_io=inline::sqlite-vec \ --stack-config=inference=inline::sentence-transformers,vector_io=inline::sqlite-vec \
--embedding-model=sentence-transformers/all-MiniLM-L6-v2 --embedding-model=nomic-embed-text-v1.5
``` ```
## Recording Modes ## Recording Modes

View file

@ -167,8 +167,8 @@ def pytest_addoption(parser):
parser.addoption( parser.addoption(
"--embedding-dimension", "--embedding-dimension",
type=int, type=int,
default=None, default=768,
help="Output dimensionality of the embedding model to use for testing. Default: 384 (or setup-specific)", help="Output dimensionality of the embedding model to use for testing. Default: 768",
) )
parser.addoption( parser.addoption(
@ -207,7 +207,7 @@ MODEL_SHORT_IDS = {
"meta-llama/Llama-3.3-70B-Instruct": "70B", "meta-llama/Llama-3.3-70B-Instruct": "70B",
"meta-llama/Llama-Guard-3-1B": "Guard1B", "meta-llama/Llama-Guard-3-1B": "Guard1B",
"meta-llama/Llama-Guard-3-8B": "Guard8B", "meta-llama/Llama-Guard-3-8B": "Guard8B",
"all-MiniLM-L6-v2": "MiniLM", "nomic-ai/nomic-embed-text-v1.5": "Nomic-v1.5",
} }

View file

@ -151,7 +151,7 @@ def client_with_models(
model_id=embedding_model_id, model_id=embedding_model_id,
provider_id=selected_provider.provider_id, provider_id=selected_provider.provider_id,
model_type="embedding", model_type="embedding",
metadata={"embedding_dimension": embedding_dimension or 384}, metadata={"embedding_dimension": embedding_dimension or 768},
) )
return client return client

View file

@ -58,7 +58,6 @@ def skip_if_model_doesnt_support_openai_completion(client_with_models, model_id)
# does not work with the specified model, gpt-5-mini. Please choose different model and try # does not work with the specified model, gpt-5-mini. Please choose different model and try
# again. You can learn more about which models can be used with each operation here: # again. You can learn more about which models can be used with each operation here:
# https://go.microsoft.com/fwlink/?linkid=2197993.'}}"} # https://go.microsoft.com/fwlink/?linkid=2197993.'}}"}
"remote::watsonx", # return 404 when hitting the /openai/v1 endpoint
"remote::llama-openai-compat", "remote::llama-openai-compat",
): ):
pytest.skip(f"Model {model_id} hosted by {provider.provider_type} doesn't support OpenAI completions.") pytest.skip(f"Model {model_id} hosted by {provider.provider_type} doesn't support OpenAI completions.")
@ -68,6 +67,7 @@ def skip_if_doesnt_support_completions_logprobs(client_with_models, model_id):
provider_type = provider_from_model(client_with_models, model_id).provider_type provider_type = provider_from_model(client_with_models, model_id).provider_type
if provider_type in ( if provider_type in (
"remote::ollama", # logprobs is ignored "remote::ollama", # logprobs is ignored
"remote::watsonx",
): ):
pytest.skip(f"Model {model_id} hosted by {provider_type} doesn't support /v1/completions logprobs.") pytest.skip(f"Model {model_id} hosted by {provider_type} doesn't support /v1/completions logprobs.")
@ -110,6 +110,7 @@ def skip_if_doesnt_support_n(client_with_models, model_id):
# Error code 400 - {'message': '"n" > 1 is not currently supported', 'type': 'invalid_request_error', 'param': 'n', 'code': 'wrong_api_format'} # Error code 400 - {'message': '"n" > 1 is not currently supported', 'type': 'invalid_request_error', 'param': 'n', 'code': 'wrong_api_format'}
"remote::cerebras", "remote::cerebras",
"remote::databricks", # Bad request: parameter "n" must be equal to 1 for streaming mode "remote::databricks", # Bad request: parameter "n" must be equal to 1 for streaming mode
"remote::watsonx",
): ):
pytest.skip(f"Model {model_id} hosted by {provider.provider_type} doesn't support n param.") pytest.skip(f"Model {model_id} hosted by {provider.provider_type} doesn't support n param.")
@ -124,7 +125,6 @@ def skip_if_model_doesnt_support_openai_chat_completion(client_with_models, mode
"remote::databricks", "remote::databricks",
"remote::cerebras", "remote::cerebras",
"remote::runpod", "remote::runpod",
"remote::watsonx", # watsonx returns 404 when hitting the /openai/v1 endpoint
): ):
pytest.skip(f"Model {model_id} hosted by {provider.provider_type} doesn't support OpenAI chat completions.") pytest.skip(f"Model {model_id} hosted by {provider.provider_type} doesn't support OpenAI chat completions.")
@ -508,6 +508,12 @@ def test_openai_chat_completion_non_streaming_with_file(openai_client, client_wi
assert "hello world" in normalized_content assert "hello world" in normalized_content
def skip_if_doesnt_support_completions_stop_sequence(client_with_models, model_id):
provider_type = provider_from_model(client_with_models, model_id).provider_type
if provider_type in ("remote::watsonx",): # openai.BadRequestError: Error code: 400
pytest.skip(f"Model {model_id} hosted by {provider_type} doesn't support /v1/completions stop sequence.")
@pytest.mark.parametrize( @pytest.mark.parametrize(
"test_case", "test_case",
[ [
@ -516,6 +522,7 @@ def test_openai_chat_completion_non_streaming_with_file(openai_client, client_wi
) )
def test_openai_completion_stop_sequence(client_with_models, openai_client, text_model_id, test_case): def test_openai_completion_stop_sequence(client_with_models, openai_client, text_model_id, test_case):
skip_if_model_doesnt_support_openai_completion(client_with_models, text_model_id) skip_if_model_doesnt_support_openai_completion(client_with_models, text_model_id)
skip_if_doesnt_support_completions_stop_sequence(client_with_models, text_model_id)
tc = TestCase(test_case) tc = TestCase(test_case)

View file

@ -50,11 +50,15 @@ def skip_if_model_doesnt_support_encoding_format_base64(client, model_id):
def skip_if_model_doesnt_support_variable_dimensions(client_with_models, model_id): def skip_if_model_doesnt_support_variable_dimensions(client_with_models, model_id):
provider = provider_from_model(client_with_models, model_id) provider = provider_from_model(client_with_models, model_id)
if provider.provider_type in ( if (
provider.provider_type
in (
"remote::together", # returns 400 "remote::together", # returns 400
"inline::sentence-transformers", "inline::sentence-transformers",
# Error code: 400 - {'error_code': 'BAD_REQUEST', 'message': 'Bad request: json: unknown field "dimensions"\n'} # Error code: 400 - {'error_code': 'BAD_REQUEST', 'message': 'Bad request: json: unknown field "dimensions"\n'}
"remote::databricks", "remote::databricks",
"remote::watsonx", # openai.BadRequestError: Error code: 400 - {'detail': "litellm.UnsupportedParamsError: watsonx does not support parameters: {'dimensions': 384}
)
): ):
pytest.skip( pytest.skip(
f"Model {model_id} hosted by {provider.provider_type} does not support variable output embedding dimensions." f"Model {model_id} hosted by {provider.provider_type} does not support variable output embedding dimensions."
@ -104,7 +108,9 @@ def test_openai_embeddings_single_string(compat_client, client_with_models, embe
) )
assert response.object == "list" assert response.object == "list"
assert response.model == embedding_model_id
# Handle provider-scoped model identifiers (e.g., sentence-transformers/nomic-ai/nomic-embed-text-v1.5)
assert response.model == embedding_model_id or response.model.endswith(f"/{embedding_model_id}")
assert len(response.data) == 1 assert len(response.data) == 1
assert response.data[0].object == "embedding" assert response.data[0].object == "embedding"
assert response.data[0].index == 0 assert response.data[0].index == 0
@ -126,7 +132,9 @@ def test_openai_embeddings_multiple_strings(compat_client, client_with_models, e
) )
assert response.object == "list" assert response.object == "list"
assert response.model == embedding_model_id
# Handle provider-scoped model identifiers (e.g., sentence-transformers/nomic-ai/nomic-embed-text-v1.5)
assert response.model == embedding_model_id or response.model.endswith(f"/{embedding_model_id}")
assert len(response.data) == len(input_texts) assert len(response.data) == len(input_texts)
for i, embedding_data in enumerate(response.data): for i, embedding_data in enumerate(response.data):
@ -293,7 +301,9 @@ def test_openai_embeddings_base64_batch_processing(compat_client, client_with_mo
) )
# Validate response structure # Validate response structure
assert response.object == "list" assert response.object == "list"
assert response.model == embedding_model_id
# Handle provider-scoped model identifiers (e.g., sentence-transformers/nomic-ai/nomic-embed-text-v1.5)
assert response.model == embedding_model_id or response.model.endswith(f"/{embedding_model_id}")
assert len(response.data) == len(input_texts) assert len(response.data) == len(input_texts)
# Validate each embedding in the batch # Validate each embedding in the batch

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"machine learning and artificial intelligence"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 52811770,
"load_duration": 6194013,
"prompt_eval_count": 5,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
-0.0055726366,
0.03758779,
-0.14073274,
-0.0028261202,
0.07147327,
0.025371972,
-0.0066179973,
-0.008440432,
-0.027689878,
0.033815898,
0.01255994,
0.041466597,
0.1394728,
0.04413591,
-0.018266913,
-0.010594185,
-0.05404993,
-0.02331191,
-0.019186607,
-0.0075088246,
-0.008019582,
0.025802018,
0.015399594,
0.018932406,
0.07705894,
0.00584616,
-0.05804286,
-0.007938182,
0.01415059,
0.03419066,
0.025758756,
-0.041143026,
0.020827321,
-0.0036771016,
-0.059706405,
-0.048277717,
0.0969666,
-0.006288603,
0.028554324,
0.03671213,
0.004421919,
0.033689786,
0.00014899831,
-0.0046071257,
0.058647178,
0.04386413,
-0.014699119,
-0.040989503,
0.07026251,
-0.016314635,
0.04359805,
-0.014725774,
0.005342329,
0.02076911,
0.0766472,
0.011564106,
-0.026253637,
0.004351187,
0.033876598,
-0.060892243,
0.13737321,
0.028928872,
-0.042754147,
0.07968156,
0.03175424,
-0.003189506,
-0.002108313,
0.023479825,
0.011494846,
0.0059559043,
-0.0010056782,
-0.021689879,
0.037786942,
0.033727527,
-0.025807424,
-0.015366761,
-0.019970872,
-0.010742837,
-0.02880859,
0.08470623,
0.051467683,
-0.040768947,
0.032566722,
-0.006370886,
0.03593552,
-0.009310957,
-0.08136231,
-0.017276974,
-0.010894151,
0.106479675,
0.02411391,
0.03771778,
0.057938684,
0.011345579,
-0.010915211,
0.0040161586,
-0.05618756,
0.00016291472,
-0.049082145,
-0.037569903,
-0.060840394,
0.02171559,
0.016445257,
-0.046207547,
0.047338583,
0.02183381,
0.00080036116,
-0.03986493,
-0.013698121,
0.022696868,
-0.0054725297,
0.05374313,
-0.02115486,
-0.006692463,
-0.051966824,
-0.051796902,
-0.010299757,
-0.004735053,
0.039228752,
0.012437073,
0.00072310836,
-0.04692196,
-0.008458627,
0.0055631157,
-0.012446129,
0.043567274,
-0.049026128,
0.02482734,
-0.011146355,
-0.04246333,
0.039104074,
-0.03278035,
-0.020479586,
-0.006234126,
-0.025613753,
0.08639122,
-0.05346669,
-0.050290037,
0.035135224,
0.03722659,
0.019267285,
0.024712428,
-0.0025617029,
-0.013935953,
-0.02692485,
-0.024748774,
0.027761493,
0.029931404,
-0.09718575,
0.030220157,
0.000874375,
0.052964512,
-0.028489627,
-0.013133571,
0.022427157,
0.0006638948,
-0.055727314,
-0.005797505,
0.03875226,
-0.012548079,
0.03381042,
-0.026273372,
-0.023157693,
0.028081235,
-0.0050815563,
-0.008282379,
0.026184075,
0.037515238,
0.02737745,
0.02041779,
-0.043154813,
0.0007157116,
0.00032018943,
0.014475151,
0.06224083,
0.009979348,
-0.01797768,
-0.083561756,
0.04808074,
-0.05024089,
0.031090736,
-0.046134256,
0.024033684,
0.03377288,
-0.0019258205,
-0.036137734,
-0.039733585,
-0.0029625504,
-0.03683732,
-0.030604793,
-0.020944368,
0.021328388,
-0.020608993,
-0.0420853,
-0.05491809,
-0.00901488,
0.022209037,
0.009653026,
0.017362706,
-0.034192756,
-0.0044500744,
-0.0396118,
-0.056855194,
-0.023356795,
-0.036584143,
0.052622057,
0.027988672,
0.00052112195,
-0.017876146,
0.0003397616,
0.056505658,
0.03723961,
0.0219598,
-0.015109099,
-0.027402155,
-0.0062603313,
-0.007751186,
-0.04877505,
0.013010676,
-0.029580085,
0.053115413,
-0.006055014,
0.023119446,
-0.017877,
0.0057433033,
0.0134622585,
-0.03449424,
-0.009676607,
-0.054523885,
0.03457906,
-0.019923769,
-0.044975106,
0.079302765,
0.0006104698,
0.030717855,
0.020598345,
0.017652651,
0.05506464,
0.008721195,
0.035736892,
-0.022522777,
0.057645034,
-0.024298128,
0.011256673,
-0.05662339,
-0.031213908,
0.010803549,
-0.04246545,
0.019976584,
0.026007812,
-0.020781737,
0.027346825,
-0.032561734,
0.019670205,
0.0046304474,
-0.027571268,
0.006930695,
0.008477638,
0.0072519886,
0.010807186,
0.043756254,
-0.04127392,
0.034697615,
-0.007031618,
0.026300237,
-0.008135164,
-0.004989022,
0.0006954738,
0.013755977,
0.0078835245,
0.02026103,
0.023480458,
0.04299564,
-0.0015504083,
-0.006060534,
0.029991196,
-0.004359388,
-0.02807185,
-0.013867878,
-0.017090457,
-0.056304526,
-0.030373072,
-0.06751273,
-0.028568732,
-0.003669821,
0.013283217,
0.014180496,
0.027181862,
0.015316264,
0.040691298,
0.021122772,
0.017264789,
-0.024679897,
-0.00704638,
-0.026887896,
0.03802021,
0.035229992,
0.032842457,
0.037448507,
-0.045819655,
0.032905355,
-0.0071612955,
0.07340684,
0.0035889267,
0.05020798,
-0.022513669,
-0.016152976,
-0.014328233,
0.039808016,
0.012659313,
-0.06731982,
0.0022997668,
0.013813673,
0.0054245763,
0.0024107988,
-0.010298754,
-0.042504966,
0.019618958,
0.041974556,
0.010016772,
0.013175887,
-0.085026965,
-0.060246117,
-0.012778929,
0.029477503,
0.07532788,
-0.001427116,
0.015594924,
-0.040753808,
-0.035380244,
0.015065211,
0.02352234,
0.018861167,
-0.022154585,
-0.06255266,
-0.0035984744,
0.028358528,
0.007203454,
-0.012354266,
0.02329183,
0.057675537,
-0.0027970872,
0.004463212,
-0.017356977,
-0.016265469,
0.013822675,
-0.0029586833,
-0.013221051,
0.015400703,
-0.0102295205,
-0.03277416,
0.021473505,
0.023890397,
0.004600832,
0.03632141,
0.003199016,
0.01728629,
0.06310019,
0.04432602,
-0.007824226,
0.02784128,
-0.05598871,
0.015813962,
-0.027676895,
-0.016882744,
-0.015714979,
0.02220521,
0.0036401239,
0.016419675,
-0.0028151204,
0.058507897,
-0.008083906,
-0.0037898025,
0.060749322,
-0.027016152,
0.018475639,
-0.05591903,
-0.04503886,
-0.034943204,
-0.01930848,
-0.04117505,
0.03013694,
-0.025298923,
0.0069293873,
0.038516946,
-0.012329543,
0.00050915516,
-0.040138986,
-0.006128133,
0.00047964088,
-0.018873213,
-0.014747335,
-0.0759526,
-0.01819908,
0.012405103,
-0.02786867,
0.00679246,
-0.009549205,
0.015769506,
0.04661448,
-0.04255141,
-0.02184417,
-0.005724239,
-0.048729498,
-0.01587459,
-0.01106075,
-0.04778009,
-0.03550024,
0.06778468,
0.020500962,
0.024167258,
0.010247341,
2.9439348e-06,
-0.06264793,
0.02467731,
-0.0569042,
0.021186134,
0.017757706,
-0.05818787,
0.0105827795,
0.03094233,
0.00072336843,
-0.016259046,
0.007888352,
-0.036146663,
0.014693995,
0.0104111,
0.050448544,
0.004762968,
-0.040818185,
0.063732564,
-0.017635256,
-0.0258791,
-0.034496512,
-0.009326162,
0.04558568,
0.002188671,
0.026831593,
0.020071523,
0.029625144,
0.031248951,
-0.0322858,
-0.034088656,
-0.018945606,
0.032556307,
0.12181285,
0.04705519,
-0.02055295,
-0.07899817,
0.038052686,
0.009379335,
0.011700234,
0.02326485,
0.0077754674,
0.06505003,
-0.022618646,
-0.011702904,
0.03082202,
0.038762085,
0.038830556,
0.011637638,
0.031108813,
-0.06299583,
0.020171175,
-0.022304576,
-0.012489327,
-0.0018578202,
-0.025269546,
0.031405464,
0.06506653,
-0.0066341,
0.03257395,
0.038948644,
-0.03932034,
-0.011333275,
0.013061859,
-0.025642361,
-0.03809061,
0.031518564,
0.05427365,
0.0042634653,
-0.0626107,
-0.007267641,
-0.03838501,
-0.013757208,
0.03583489,
-0.006429219,
0.024410333,
0.004229057,
-0.031900045,
0.04366515,
0.008353927,
0.017444134,
-0.0444271,
-0.074079126,
-0.030303683,
-0.10017178,
0.025770513,
0.016802536,
0.008713135,
-0.0004869017,
0.008767488,
-0.021118967,
0.0037063968,
-0.023383576,
-0.015041627,
0.04968291,
-0.093096875,
-0.04654022,
0.098058216,
-0.013854857,
-0.003749807,
0.03978298,
0.033881303,
0.0012076185,
-0.03799182,
0.041092657,
0.04234528,
-0.08403521,
-0.018683258,
0.072275706,
-0.010740222,
0.010807815,
0.00955574,
-0.03392568,
-0.0063302303,
0.026243962,
-0.04098879,
0.038340293,
0.0008424834,
0.028485665,
0.0077943513,
-0.030165322,
-0.027769309,
0.004651679,
0.005033484,
-0.008940051,
-0.026896829,
0.042967107,
0.017165883,
0.06631633,
-0.0019245895,
0.0032749427,
-0.037274588,
0.0034951835,
-0.013165258,
-0.007862015,
0.04194783,
-0.0030406287,
-0.09477118,
0.034842882,
-0.036814626,
-0.0029179691,
-0.008849123,
-0.0074389474,
-0.009127831,
-0.02146967,
-0.04248614,
-0.00651609,
0.0023729058,
-0.036433946,
0.0031168424,
0.06755612,
-0.014993316,
-0.045285936,
0.025940642,
-0.010275768,
-0.021722194,
0.00084657356,
0.032271072,
0.02836863,
-0.055848174,
0.0016199003,
0.008899758,
0.008555816,
-0.014915837,
-0.014079556,
-0.018109383,
-0.037231375,
-0.022198202,
0.08024568,
-0.06451723,
-0.020766106,
0.020864861,
0.03523546,
0.012211657,
-0.0570283,
-0.0013622358,
0.04106705,
-0.062760904,
-0.018206272,
0.021716602,
-0.014517323,
-0.054593526,
-0.04519974,
0.016954647,
-0.02327835,
-0.027598577,
-0.023535965,
-0.05903621,
0.0041620177,
-0.039954223,
0.046710916,
-0.006388047,
0.020479973,
0.027638791,
-0.012050759,
0.051823754,
0.04903381,
0.0069008074,
-0.03512754,
-0.011251652,
-0.014616171,
0.014784756,
0.055039458,
-0.035553962,
0.04242957,
-0.09388191,
-0.087591134,
-0.016321942,
-0.052623842,
-0.07636053,
0.032825958,
-0.015473792,
0.052168082,
-0.003604893,
0.0029646754,
-0.01555854,
0.01621538,
0.06956003,
-0.01835442,
0.0517784,
0.016805952,
-0.04840021,
-0.027128687,
0.0077580265,
-0.015057385,
0.019526443,
0.027078133,
0.07452813,
0.017071,
-0.009301505,
-0.03119231,
0.034350246,
0.0340188,
-0.023147605,
0.041815214,
0.08863121,
-0.0104886945,
-0.015345755,
0.03945793,
0.041599277,
0.010335151,
-0.03177839,
-0.043523323,
0.046266828,
0.0072918106,
-0.012197957,
0.009132112,
-0.021738917,
-0.021880707,
0.013465258,
0.0050371876,
-0.008430583,
0.04109797,
-0.020646464,
-0.036139004,
0.010499862,
-0.07939189,
-0.06501907,
0.033503268,
-0.012798389,
0.024077661,
-0.041221693,
-0.0050737844,
0.049661387,
0.019008912,
0.02467624,
-0.026790015,
-0.008536108,
-0.026450286,
-0.021262454,
0.019801894,
-0.027394805,
0.0008564678,
-0.032779545,
0.052298795,
-0.024265694,
0.017661352,
-0.07038125,
-0.02454946,
-0.07169627,
-0.01705358,
-0.0062632,
-0.014406639,
0.033080865,
-0.039415132,
0.028597385,
0.05657959,
0.063139535,
-0.011624071,
0.04524019,
0.032662436,
0.04697864,
-0.054036353,
0.004408054,
0.007875965,
0.03307435,
-0.012253569,
-0.021469655,
-0.015537069,
0.017215775,
-0.023675416,
0.080179304,
-0.022867741,
-0.013489164,
-0.028108824,
-0.045177963,
-0.023673253,
0.04031029,
0.040819284,
-0.03210277,
-0.03916873,
-0.017087357,
-0.03698465,
-0.04077409,
0.021928439,
-0.026817646,
-0.01106303,
0.004512083,
0.023710325,
-0.0245082,
-0.048106957,
0.0050511425,
-0.0072124526,
0.019437807,
-0.05639996,
-0.018387474,
-0.04654496,
0.011461513,
-0.0105791325,
0.0033555275,
0.043007024,
0.023549581,
0.011049015,
-0.02588134,
-0.013378935,
0.051739335,
0.021091674,
-0.01786458,
-0.006382594,
0.015551687,
-0.052483745,
0.010794458,
-0.017585343,
0.038107336,
-0.030182848,
0.07094169,
0.12957415,
-0.009040866,
0.038507964,
-0.058074147,
0.013483132,
-0.0170141,
-0.028936993,
0.015603824,
-0.06157329,
-0.00049588573
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"artificial intelligence"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 35092144,
"load_duration": 9205577,
"prompt_eval_count": 2,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
0.0022459761,
0.0845855,
-0.118770294,
-0.0052484823,
0.07120039,
0.049479805,
-0.015881795,
-0.0012119231,
-0.0033731982,
0.054913778,
0.030510623,
0.05010692,
0.09319765,
0.032162752,
-0.004374012,
-0.038468517,
-0.018967906,
-0.023621555,
0.022897922,
-0.03111014,
0.028833516,
-0.016233068,
0.00874333,
0.057522222,
0.10938156,
0.005853652,
-0.007460108,
0.020824656,
0.010380827,
-0.010142605,
0.02186145,
-0.019714817,
0.027516654,
0.026805714,
-0.04455893,
-0.04452179,
0.08356262,
0.012453612,
0.010525618,
0.038434025,
-0.030541867,
0.059067614,
-0.010383995,
-0.022071486,
0.05343041,
0.055648796,
-0.0044340827,
-0.037001938,
0.063940264,
-0.032288145,
0.032508854,
0.005599889,
-0.032362577,
-0.004498921,
0.09392303,
0.006764056,
-0.032286532,
0.008353272,
0.014349416,
-0.036489014,
0.08909049,
0.059554726,
-0.019406658,
0.063505046,
0.04776043,
-0.02735308,
0.00650999,
0.04953119,
0.010551204,
0.022338172,
-0.023207193,
-0.027374944,
0.038481887,
0.022797523,
-0.024024384,
-0.0012893366,
-0.006183491,
-0.017202137,
-0.0030407566,
0.10508405,
0.04293999,
-0.06902175,
0.024722142,
-0.024688805,
0.03436742,
0.0020651382,
-0.06261552,
-0.029705893,
0.01124745,
0.07875532,
0.033568155,
0.035124693,
0.032037407,
0.00026193194,
-0.036536343,
-0.0016048138,
-0.08197494,
0.016161699,
-0.066015564,
-0.029322235,
-0.0472476,
0.025314262,
0.026285263,
-0.051344153,
0.045346852,
-0.014955671,
-0.013046094,
-0.030399544,
-0.00837482,
0.0056103314,
0.020683404,
0.028624265,
0.029875536,
-0.03199178,
-0.0007616276,
-0.034196425,
-0.025897106,
-0.0076540406,
0.022642214,
0.018380042,
-0.021796877,
-0.040439527,
0.0047869985,
-0.009606057,
-0.03594268,
0.0053249854,
-0.05747488,
0.06073938,
-0.020814294,
-0.029288447,
0.016346097,
-0.038621757,
-0.022478674,
-0.020450005,
-0.036009148,
0.05956065,
-0.030316992,
-0.06926602,
0.03366001,
0.036910895,
0.03371369,
0.027693838,
0.015165795,
-0.018013021,
-0.011645587,
-0.02007139,
0.04092347,
0.02169688,
-0.104392156,
0.038903475,
-0.0014918976,
0.03571438,
-0.009716118,
-0.02924793,
-0.0069342474,
0.014206545,
-0.01732279,
0.014699001,
0.0038424064,
-0.02284251,
0.041644156,
-0.020974293,
-0.027603546,
0.037564963,
-0.003716844,
0.027577596,
0.04057151,
0.0034531597,
0.037646092,
0.025783077,
-0.027008232,
0.005824049,
-0.0039860657,
0.0056432155,
0.06278955,
0.0043308972,
-0.02981198,
-0.06707526,
0.050020736,
-0.07489255,
0.011565154,
-0.07561254,
0.027665483,
0.04189908,
-0.022098044,
-0.03330015,
-0.031799886,
-0.015910972,
-0.027016416,
-0.018142229,
0.006242244,
0.02659928,
-0.019840943,
-0.04060086,
-0.039683804,
-0.015784204,
0.029145675,
0.008346576,
0.035197683,
-0.008699983,
-0.015765524,
-0.025466884,
-0.05862144,
-0.04288488,
-0.015203518,
0.014273099,
0.025983924,
-0.017332051,
-0.03781707,
-0.035193257,
0.07132202,
0.056545146,
0.016492346,
-0.018760977,
-0.038458858,
-0.012570814,
0.006398965,
-0.062122267,
-0.0065937066,
-0.02772747,
0.06373387,
0.026987756,
0.024291446,
-0.018715853,
-0.012525724,
0.013443484,
-0.055779915,
-0.02740097,
-0.036763377,
0.017500222,
0.024762942,
-0.030449286,
0.06854537,
-0.010197382,
0.031139549,
0.021592306,
0.02371123,
0.054312434,
0.03100431,
0.026393836,
-0.046228178,
0.040468246,
-0.03303591,
0.009691253,
-0.047410667,
-0.021130849,
-0.023989182,
-0.055827428,
-0.017233323,
0.012561586,
-0.008570468,
0.02191902,
-0.059356567,
0.014222966,
0.0034734241,
-0.014991501,
0.009470919,
0.025920684,
0.01782029,
-0.017910382,
0.03702367,
-0.062434252,
0.054529104,
0.007203894,
0.036871325,
-0.012669744,
0.013436448,
0.006393138,
0.0130221555,
-0.005487674,
0.029718827,
0.015466657,
0.037024297,
0.015184332,
0.0014853638,
0.03154546,
-0.034037802,
-0.010633708,
-0.006539123,
-0.036020327,
-0.023996303,
0.00029613983,
-0.04641546,
0.000676765,
0.005198228,
0.0022921995,
0.019907692,
0.055562235,
0.00015789036,
0.012450808,
0.00090716535,
-0.0007034728,
-0.050788462,
-0.01723807,
-0.027111992,
0.053336505,
0.034050237,
0.025892904,
0.048161436,
-0.0083876895,
0.021406818,
-0.029163726,
0.04374157,
-0.0055995523,
0.04934261,
-0.017003858,
-0.019544259,
-0.0073026395,
0.022166839,
0.0022170492,
-0.034798883,
0.0066060266,
0.015678417,
0.0068066786,
0.005670851,
0.0009948775,
-0.04441707,
0.01379,
0.04123376,
0.028619396,
0.030242082,
-0.068574615,
-0.06350616,
0.013743421,
0.039637726,
0.074954115,
-0.0053773834,
0.035480417,
-0.05937076,
-0.06497893,
0.0043254998,
0.02681348,
0.015091531,
-0.020784907,
-0.05195499,
-0.019204,
0.018847968,
0.030989287,
-0.01820677,
0.009283221,
0.069743045,
-0.025798852,
0.026588317,
-0.0223841,
-0.040357713,
0.025331281,
0.03499353,
0.013026284,
-0.009360041,
0.0013772856,
-0.03051815,
0.03723264,
0.008684381,
-0.017207826,
0.01999425,
-0.007577646,
0.009753859,
0.08360038,
0.038645275,
-0.003272202,
0.028370475,
-0.03858058,
0.023321483,
0.0046098568,
-0.011383232,
-0.00777738,
0.0050357073,
0.0029987176,
0.0060872724,
0.01590506,
0.022338638,
-0.022155102,
0.00092686777,
0.06191809,
-0.008237606,
0.00053589593,
-0.055003297,
-0.043345015,
-0.019730812,
-0.021763053,
-0.04014172,
0.035623938,
-0.012994337,
0.01672654,
0.04082847,
-0.0123249795,
-0.021429699,
-0.06612962,
-0.021462964,
-0.029859377,
-0.012546966,
-0.0450854,
-0.054111235,
-0.050495826,
0.0017351134,
-0.010483102,
-0.02563268,
-0.04528916,
-0.0047701783,
0.017096328,
-0.03432651,
-0.041952893,
0.012392904,
-0.03919904,
-0.015188965,
-0.0066112806,
-0.015376439,
-0.053237133,
0.06669807,
0.028021395,
0.0058818394,
0.021571819,
0.017222902,
-0.0874136,
0.020542417,
-0.040762596,
0.03196556,
0.016425774,
-0.032799315,
0.009074417,
0.025757797,
-0.0066987635,
0.026961537,
0.026976602,
-0.038010076,
0.015313988,
-0.016525354,
0.04377566,
-0.0065082475,
-0.038370132,
0.035221994,
-0.029069355,
-0.036857057,
-0.030159576,
-0.022446185,
0.058571987,
0.026039828,
0.035465,
0.025649626,
0.0426477,
0.019825738,
0.0030664937,
-0.009444102,
-0.034678217,
0.035446234,
0.10801245,
0.038735878,
0.0016331007,
-0.064277016,
0.042136293,
0.010506551,
0.024595214,
0.01201866,
0.030761477,
0.026547862,
-0.028887127,
-0.019734334,
0.046461817,
0.026275037,
0.049436394,
-0.0074590556,
0.007937081,
-0.08534739,
0.025388863,
-0.018011322,
-0.009423282,
0.01669272,
-0.035424728,
0.027439144,
0.037614323,
0.004201006,
0.04386303,
0.011264169,
-0.038652904,
-0.011952609,
0.007379456,
-0.04413037,
-0.008747569,
0.012680994,
0.035637785,
-0.0007219085,
-0.06122241,
-0.01501182,
-0.032294698,
-0.010085303,
0.02968062,
-0.03545303,
0.025545763,
0.00513856,
-0.038534723,
0.040810063,
0.0036797335,
0.021125326,
-0.04417297,
-0.05691645,
-0.046871662,
-0.097369425,
0.040336214,
0.01823659,
0.023216773,
-0.0040433975,
-0.0071207155,
-0.040822994,
-0.002090658,
-0.043552343,
0.00869053,
0.043224968,
-0.10591219,
-0.058240503,
0.07942362,
0.005600186,
0.0023732963,
0.043274477,
0.017128518,
0.009492503,
-0.022830244,
0.02702694,
0.005394689,
-0.093155086,
-0.012704766,
0.05060759,
0.0016385954,
-0.0052593746,
-0.006009667,
-0.048663773,
0.0137498025,
0.024425894,
-0.04493801,
0.02465394,
-0.0090651335,
0.009057463,
0.00799815,
-0.032015227,
-0.045253854,
0.0023627293,
-0.015072277,
-0.040304966,
-0.044668145,
0.052337464,
0.025100812,
0.06245697,
0.021141378,
0.0063771703,
-0.01292139,
0.010153964,
-0.038462844,
-0.041513197,
0.06475281,
-0.006066694,
-0.08530891,
0.0481095,
-0.0485844,
-0.0005497106,
0.004023715,
0.011246917,
-0.03530786,
-0.008951562,
-0.017967671,
0.0056748274,
-0.032908686,
-0.04876289,
0.010845019,
0.03414114,
-0.011359227,
-0.056809682,
-0.0065372298,
-0.0049946522,
-0.019760255,
0.009133245,
0.031380173,
0.02326544,
-0.037368353,
0.0019855716,
0.007430946,
-0.0019167037,
-0.023231855,
0.0005325032,
-0.024420531,
-0.059595317,
0.01773813,
0.048830878,
-0.08517022,
0.021943187,
0.030728351,
0.04963074,
0.01997924,
-0.047164854,
0.001558822,
0.0334637,
-0.067318834,
-0.006801521,
0.021104202,
-0.01042218,
-0.054989193,
-0.051717903,
0.02997104,
-0.02678612,
0.004539044,
-0.02715776,
-0.04994632,
-0.0012224381,
-0.033812944,
0.041512877,
0.012410997,
0.020035783,
0.012751681,
0.004612327,
0.047167722,
0.038087435,
-0.03399835,
0.011123487,
0.012263675,
-0.015375263,
0.007735875,
0.075646654,
-0.035729144,
0.081184134,
-0.09430186,
-0.088116266,
0.0114660505,
-0.029310493,
-0.08638668,
0.03417333,
-0.005208679,
0.09313087,
-0.010060758,
0.021886718,
-0.0047713425,
0.0011681456,
0.09254987,
-0.038749456,
0.06454609,
0.023755675,
-0.03025349,
-0.011115406,
-0.007423187,
-0.030081635,
0.02060908,
0.04929237,
0.0728251,
-0.0039756885,
-0.0016325217,
-0.035973016,
0.039455134,
0.020030608,
-0.005489007,
0.04019881,
0.109553896,
-0.009760096,
-0.04039632,
0.04021476,
0.037736397,
0.013987222,
-0.030425543,
-0.07112697,
0.042896982,
-0.012732677,
-0.0014557547,
0.01280969,
-0.029981626,
0.0048856707,
0.0062508406,
-0.005710766,
0.009810195,
0.03769784,
-0.037055656,
-0.0075312397,
0.011369313,
-0.054935224,
-0.042443078,
0.02351592,
-0.011048168,
0.0168304,
-0.06971086,
0.008596812,
0.062735,
0.039307248,
0.01642125,
-0.0068997378,
-0.008324923,
-0.009122712,
-0.028969266,
0.039968453,
-0.03311669,
-0.03636177,
-0.011324436,
0.03892255,
-0.007533641,
0.026970727,
-0.07264415,
-0.014196821,
-0.054348893,
-0.017430624,
0.0074018273,
-0.0062353276,
0.02591595,
-0.057454854,
0.018566208,
0.02907042,
0.059309665,
-0.009854315,
0.05242602,
0.057703923,
0.039900526,
-0.04025911,
-0.008270793,
-0.0034033463,
0.029067501,
-0.010713172,
-0.00056468125,
-0.0016177777,
0.030420788,
0.0042498447,
0.058859427,
-0.039968833,
-0.027758287,
-0.032784328,
-0.023316512,
-0.021295434,
0.012401824,
0.04814658,
-0.049514666,
-0.042869776,
-0.0013265676,
-0.025821231,
0.008079029,
0.049515337,
-0.038013786,
0.012605633,
-0.031361498,
0.039115593,
-0.024223149,
-0.05926524,
0.021278135,
-0.009526332,
0.010075951,
-0.057421125,
-0.0432434,
-0.031247647,
0.029872011,
0.019912358,
-0.003003173,
0.040378228,
0.03254255,
0.0036299303,
-0.03521185,
-0.018066157,
0.028061498,
0.026428035,
-0.002493526,
0.021030644,
0.018254563,
-0.042565063,
-0.0014655617,
-0.015577902,
0.05004111,
-0.045358222,
0.052461043,
0.07523485,
-0.014974274,
0.032264654,
-0.06401465,
0.014482717,
-0.014090145,
-0.03501099,
-0.0334364,
-0.046759527,
0.0134310415
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"This is a test file 2"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 53309205,
"load_duration": 8053768,
"prompt_eval_count": 6,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
0.0518073,
0.0010201389,
-0.15081531,
-0.017210446,
0.03324097,
-0.012278174,
0.035831228,
-0.016239444,
-0.07433285,
-0.06548819,
-0.0063088043,
0.06418973,
-0.0002688668,
-0.02611444,
-0.026851593,
-0.03376629,
0.087979764,
-0.046465684,
-0.0025485174,
-0.038767867,
-0.0014130849,
-0.02870626,
-0.05659465,
-0.018204536,
0.12270126,
0.041236572,
-0.022275478,
0.053162746,
-0.09066273,
-0.013798052,
0.044846434,
-0.021654893,
0.02569155,
-0.06533193,
-0.024793914,
-0.039712496,
0.04075478,
0.023921851,
0.023468256,
0.026541308,
-0.024414636,
-0.0094845835,
-0.008743722,
-0.012791804,
0.0009930959,
-0.01516683,
-0.0039158207,
0.0693149,
-0.022308426,
-0.035393372,
0.014115816,
0.016294051,
-0.003358105,
0.03683153,
0.037739463,
-0.022638476,
-0.017140111,
-0.006703055,
0.01898623,
-0.058058273,
0.034402825,
0.029955879,
-0.04684569,
0.06175866,
-0.013147739,
-0.069114,
-0.043503292,
0.015345721,
-0.015778558,
0.017770069,
0.08166245,
-0.0024934956,
0.028075451,
-0.03573029,
0.011466233,
-0.06783725,
0.009887019,
-0.04835829,
-0.055018567,
0.0048491005,
0.04243901,
0.054859485,
-0.0070056417,
0.028302751,
0.07433947,
-0.028365187,
-0.050828252,
0.0032291873,
-0.0005638034,
0.041109215,
0.026256418,
0.053389173,
0.05735847,
-0.017186783,
-0.028030226,
0.026927246,
0.02503298,
0.06252999,
-0.027278252,
0.016127381,
0.0077106496,
0.012165294,
0.034783326,
0.015691724,
0.03894614,
0.02554248,
0.0011276314,
0.0341213,
-0.04115421,
6.8556794e-05,
-0.013532567,
0.03498042,
-0.03172835,
0.005989489,
0.011450762,
-0.02557995,
0.041775398,
-0.043834005,
-0.031456877,
0.019346954,
0.021208571,
-0.03245653,
0.024872687,
0.06545696,
0.054665085,
0.025757158,
-0.07523024,
0.024269538,
0.009706046,
-0.053670295,
-0.01415065,
0.006299825,
0.018069206,
-0.013896289,
0.012415045,
0.030759554,
-0.0040025846,
-0.0046195737,
-0.065655604,
-0.03303291,
-0.04152514,
-0.019559981,
0.043035954,
0.03867079,
0.022152541,
-0.014021561,
0.04706965,
0.02360881,
-0.017735034,
-0.005224425,
0.01976457,
-0.01754635,
0.014107968,
0.0053651235,
0.021217259,
-0.049550448,
0.002760891,
-0.026372205,
0.047114056,
0.07466567,
0.019247074,
-0.01774969,
-0.025349228,
0.00082147314,
-0.045859877,
-0.0046551074,
0.005028807,
0.089756206,
0.06082725,
-0.009663759,
-0.023579452,
-0.03698413,
0.003874013,
0.0023434018,
-0.036628436,
-0.03159626,
-0.011212406,
-0.022765977,
0.038825814,
-0.00831775,
0.020946115,
-0.011611206,
-0.016268328,
0.040347904,
0.008693733,
-0.047099218,
0.02002701,
-0.022033876,
-0.053060107,
-0.009352045,
-0.003967959,
-0.0126540605,
-0.0841668,
-0.043212276,
0.0004026412,
-0.027901677,
0.012515607,
-0.012753008,
0.006164207,
0.00891821,
0.01636955,
-0.01603681,
-0.063070334,
0.026292339,
-0.018317461,
0.01573192,
-0.03973865,
-0.024929507,
-0.029032838,
0.029473128,
0.0434744,
0.00291016,
-0.018685255,
0.041574344,
0.04272903,
-0.024241446,
-0.009556914,
-0.024059588,
-0.045914814,
-0.02186824,
0.019198095,
-0.0043179505,
0.071447514,
-0.039269872,
0.02906418,
-0.01242017,
-0.06243736,
-0.020753596,
-0.028863901,
-0.017369477,
0.008473857,
-0.09169524,
0.008264508,
0.0041049724,
-0.024937812,
-0.019033646,
-0.06999835,
0.07904775,
0.0064784843,
0.044264942,
-0.018035788,
0.07508932,
0.017397275,
0.00807988,
-0.0036497228,
-0.0013610445,
-0.010553328,
-0.033583775,
0.07032539,
0.049025573,
-0.025022866,
0.00995728,
-0.008374078,
0.06402944,
0.013544464,
-0.003180504,
-0.01620642,
-0.009111576,
0.00387079,
-0.055351496,
0.010248992,
-0.05543762,
0.033915125,
0.0015371041,
-0.031560425,
-0.000532945,
-0.026227973,
0.03899258,
-0.031105928,
-0.019636609,
-0.008401919,
0.015481411,
-0.038934294,
-0.0070636785,
0.027539046,
-0.01950276,
0.041085195,
0.00814604,
-0.003156946,
0.044425063,
-0.017681085,
-0.007984986,
0.023291066,
0.046486195,
0.034732956,
0.010211254,
0.003196815,
0.006682472,
0.0360433,
0.029136589,
0.0014801485,
0.035166625,
-0.006373666,
0.027199954,
0.019638686,
0.0032696575,
0.01885095,
-0.005334637,
-0.006241187,
-0.009805942,
0.021487935,
0.021146065,
0.035899747,
0.006424509,
0.025738493,
-0.06995631,
0.023739127,
-0.03277142,
0.046314634,
0.022087835,
-0.061329857,
-0.0039001384,
-0.020769935,
0.01746393,
-0.02549137,
0.03362779,
0.0317282,
0.03075153,
0.07449812,
-0.0086258855,
-0.004027018,
-0.06420975,
-0.0149954185,
0.023091443,
0.020383276,
0.014100246,
0.004734427,
0.051168155,
-0.031068264,
-0.060796168,
0.064657815,
0.07968337,
-0.08594699,
-0.041634988,
0.045737505,
0.022753956,
0.041157354,
0.054831132,
-0.0010116883,
0.054877132,
0.06938806,
0.01108219,
0.023083402,
0.008490204,
0.012287494,
-0.06124392,
-0.041947756,
0.014624511,
-0.009038671,
0.04707133,
0.002627279,
0.0023568,
0.013816829,
0.014921519,
0.017224109,
0.008158233,
0.005132898,
-0.0517318,
0.025385384,
-0.026867563,
0.024517154,
-0.026169479,
-1.0788856e-05,
-0.019340273,
0.02485189,
-0.010546728,
-0.011179942,
0.0036357814,
0.06956026,
0.0012153256,
-0.010687229,
-0.0020465027,
0.040200476,
0.06397282,
0.05608305,
0.022595122,
-0.06268106,
-0.017802112,
-0.019437864,
0.050174695,
0.06855139,
-0.037958544,
0.042239644,
0.056018107,
0.021455817,
-0.062647,
0.03332952,
-0.0063562966,
0.05425424,
0.0071717533,
-0.04426852,
0.033511095,
-0.08662086,
-0.020464486,
-0.004274559,
-0.016570747,
0.040416714,
0.028066633,
-0.043111462,
0.0060365517,
-0.041027054,
-0.017046396,
0.0012071705,
0.01177528,
-0.039359704,
0.02101396,
-0.043571904,
-0.039560378,
0.03927173,
0.0036623995,
0.039583426,
-0.024666918,
-0.01805242,
-0.06843546,
0.01661221,
-0.0045327474,
0.027649578,
0.026967617,
-0.020697452,
0.002486093,
0.002453032,
0.046593424,
0.0166357,
-0.031856135,
-0.03569532,
0.014479858,
0.049183413,
0.04488343,
-0.0032962444,
-0.09943959,
0.011094852,
0.0031866087,
0.028093586,
0.007583973,
-0.022803523,
0.04123381,
-0.022179771,
-0.012936535,
-0.034381445,
0.040327903,
0.030039202,
-0.07468237,
-0.041690223,
0.010944432,
0.009045665,
0.12434281,
0.09976505,
-0.05484964,
-0.033184122,
0.021026244,
-0.011662353,
0.011800979,
0.03745133,
0.02052578,
0.07041249,
-0.021840515,
0.03271515,
-0.01502315,
-0.028943837,
0.016294912,
-0.004833792,
-0.0078789005,
0.041969508,
0.009501793,
0.03697955,
-0.018664706,
-0.023258584,
-0.034372587,
0.008393105,
0.042333856,
-0.043618985,
-0.07011302,
0.009994519,
-0.044499427,
0.026003025,
0.0024550846,
-0.026669499,
0.028024236,
-0.012274569,
0.013386124,
0.036214985,
-0.0011079751,
-0.024785483,
-0.036007743,
0.042518217,
-0.02265144,
0.014955647,
0.023031686,
0.053792063,
0.0011540087,
0.050179027,
0.030224139,
0.038181726,
0.034439612,
-0.016641675,
-0.003856012,
1.068547e-05,
-0.04403419,
0.00054582104,
-0.007281281,
0.033452608,
0.0014973881,
0.017222364,
-0.01603757,
-0.01040989,
-0.028651109,
0.06121139,
-0.055078756,
-0.096628465,
-0.002260051,
-0.05279029,
-0.030501377,
0.013785583,
0.008349415,
0.09239852,
0.01874297,
0.05483006,
0.0026323453,
-0.017260224,
0.03311197,
0.03238429,
-0.0026979072,
0.04409992,
-0.020898808,
-0.09082286,
0.046773914,
-0.005878021,
-0.021119023,
0.072557636,
0.061893012,
0.024324443,
-0.014973251,
-0.026727935,
-0.014804994,
-0.011190145,
-0.028516283,
-0.038306367,
0.0041472083,
-0.02614154,
0.051748727,
-0.055480637,
-0.024979297,
0.0031963238,
-0.0362827,
0.025498725,
-0.027630508,
-0.034413245,
0.013399353,
0.0116100125,
-0.072537504,
0.019533362,
-0.064198576,
-0.03579028,
0.0003663873,
0.028052792,
-0.052979812,
-0.0018449351,
-0.013587079,
-0.001517831,
-0.03511525,
0.028222794,
-0.01211173,
-0.014734837,
0.008201055,
0.03338795,
-0.052265007,
-0.017206438,
0.05580251,
0.0048411214,
0.0062374566,
0.01784519,
-0.002350663,
0.020619694,
-0.009189246,
-0.018759534,
0.011767308,
0.031417068,
0.0626111,
-0.012927245,
-0.042083666,
0.027794756,
0.00470954,
0.020324292,
0.04444163,
-0.011997522,
0.040414978,
0.027978305,
-0.015464424,
0.038533714,
-0.047363088,
-0.024187788,
-0.024606729,
-0.0076063466,
-0.0144878775,
0.0028358484,
-0.0032340765,
-0.026778674,
-0.029158974,
-0.008863447,
-0.0076498087,
-0.0037319672,
0.014952378,
0.0030388746,
-0.035688728,
-0.029866442,
-0.0048337597,
0.006716691,
0.018666843,
-0.009498882,
-0.00258121,
0.009065711,
-0.01824809,
-0.06896444,
0.024227953,
-0.008177755,
-0.063481495,
0.047468998,
-0.03776145,
-0.0073783873,
-0.043710724,
0.03432339,
-0.045865484,
0.025779175,
-0.063083775,
-0.009317559,
-0.02079715,
-0.020005565,
0.022028266,
0.068597026,
0.06421791,
-0.049883164,
0.014131581,
-0.045583025,
-0.046132464,
-0.064344056,
-0.0063566314,
-0.04713416,
0.00067015504,
0.03268965,
0.059540473,
0.023155268,
0.042139433,
-0.052683555,
-0.04094773,
0.011877403,
0.030549755,
0.004629504,
0.034182925,
0.014167011,
-0.025005354,
0.057522587,
0.08755116,
0.047980495,
-0.009723938,
-0.023917975,
0.010465336,
0.04648379,
-0.040778402,
-0.043506928,
-0.079935044,
0.0044612624,
0.028476233,
-0.043194633,
0.009701826,
0.015308486,
0.034481127,
-0.02366641,
-0.042903576,
-0.009659404,
-0.06976849,
0.02662171,
0.029191472,
0.031694062,
0.016596133,
-0.032401573,
0.032910023,
0.050545897,
0.06263789,
-0.00013478643,
-0.0346917,
-0.009615844,
-0.052368507,
0.06640802,
-0.0026492607,
0.028127676,
-0.058001418,
0.0005788803,
-0.061629083,
-0.03182085,
0.009378478,
-0.011405891,
0.012077861,
-0.033154313,
-0.057398487,
-0.034032557,
0.012947985,
0.049807962,
-0.012348293,
-0.005070641,
0.035578866,
0.024860732,
0.032911874,
-0.00015378043,
0.043805376,
-0.03322777,
-0.015281486,
0.03736166,
0.011508478,
-0.06268994,
-0.07534555,
0.02949766,
0.009523069,
-0.0146890925,
0.077915736,
-0.034247685,
0.0066743395,
-0.012805991,
0.023958376,
0.01175659,
0.0009095987,
0.05708267,
0.026331235,
-0.053375654,
0.021397565,
-0.0025518986,
-0.044669233,
0.01452359,
-0.032436114,
0.03629569,
-0.043836568,
-0.04096408,
-0.020194324,
-0.01579229,
-0.001066902,
-0.017151969,
-2.1417989e-05,
-0.009679303,
-0.021090114,
-0.0010899843,
-0.000600503,
0.016321465,
0.037450958,
-0.019159183,
-0.0036072878,
-0.064109445,
-0.005406092,
-0.039139416,
0.019720713,
0.01862705,
0.0006616486,
0.012612519,
-0.039391875,
0.0022171875,
0.010934418,
0.0148258405,
-0.047636658,
-0.012358777,
-0.003677973,
0.079556145,
-0.026134754,
-0.008233534,
-0.018380543,
0.013874316,
0.0023595833,
-0.010961944,
-0.08567243,
-0.00023827382,
-0.03803841
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"What is Python programming language?"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 46735636,
"load_duration": 7419294,
"prompt_eval_count": 6,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
-0.021553172,
0.07456188,
-0.089842975,
-0.07289806,
0.06817678,
0.02518914,
-0.059716303,
-0.019724509,
-0.026598332,
-0.08149664,
-0.0041639223,
0.028888587,
0.0403307,
-0.046604663,
-0.013584703,
-0.10504042,
0.010826202,
-0.07095291,
-0.010350621,
0.073275015,
0.019936841,
-0.041666057,
0.037927777,
-0.010703154,
0.123908006,
0.01758556,
0.015324568,
-0.01774666,
0.0053253258,
0.004244457,
-0.05245437,
0.0074125174,
0.006372095,
-0.02418006,
-0.050372586,
-0.044837587,
0.06449282,
-0.020826314,
0.0457872,
0.03805947,
-0.061231885,
0.009110037,
0.06458304,
-0.025757644,
0.08559058,
-0.048334584,
-0.008491006,
-0.03325738,
-0.051352017,
0.012611518,
-0.019801717,
-0.050617523,
-0.034408234,
-0.0010079348,
0.09278204,
0.03726777,
0.022628019,
0.018074505,
0.0007418624,
-0.04421023,
0.080479234,
0.08085003,
-0.08094756,
0.056088626,
0.048194148,
-0.04007692,
-0.0006763529,
0.017555812,
-0.028865501,
-0.0023458838,
0.031841885,
-0.0700924,
0.035624906,
-0.001163512,
-0.033719588,
-0.005071517,
0.0006481059,
-0.042407304,
0.026225204,
0.046169255,
0.0011586137,
0.009785142,
-0.031035133,
0.029172087,
0.017117059,
-0.047370482,
-0.038349237,
0.00036495677,
-0.051124193,
0.04310073,
-0.060766168,
-0.015174077,
-0.033184618,
-0.011189846,
-0.07492167,
0.032253932,
-0.05088246,
0.008246512,
0.045625057,
-0.008317099,
0.0011927608,
-0.01572179,
0.048680592,
-0.053981576,
0.031462114,
0.054447077,
0.03894372,
-0.039718177,
-0.037968367,
-0.0074595343,
-0.0013340132,
0.046633273,
-0.01730887,
-0.023755448,
-0.046923056,
0.000979729,
0.034532603,
-0.028689606,
0.05773219,
0.043046296,
0.008422111,
-0.023551302,
0.039009485,
0.042990364,
-0.031193512,
0.021595452,
-0.058442175,
0.013143758,
-0.0017852021,
-0.0019170833,
0.055226732,
-0.016395973,
-0.044414833,
-0.024235317,
-0.03219018,
0.05080698,
-0.044200372,
-0.02092189,
0.0580117,
0.0039897994,
0.026737887,
0.019800436,
-0.03960145,
-0.0077677737,
0.040338516,
-0.01523582,
0.016816188,
0.02577547,
0.0003253953,
0.02407759,
0.025407642,
0.051438656,
-0.0024896062,
0.022606216,
-0.0063481443,
0.0017837567,
0.008644017,
0.012482804,
0.066492096,
-0.006351552,
0.09941962,
0.020750199,
-0.013041756,
0.028743612,
-0.049747795,
-0.018612325,
0.019698277,
0.0024325354,
-0.01915703,
0.0061705653,
-0.0223919,
-0.04545708,
0.0045981957,
-0.014010849,
0.013723399,
0.018495277,
-0.009306918,
-0.012698651,
0.03493378,
-0.017710432,
-0.026818218,
-0.04762652,
0.043690186,
0.052603915,
-0.071375415,
0.027071198,
-0.010269553,
-0.049217243,
-0.015010115,
-0.007096392,
-0.03456265,
0.035890598,
-0.028600527,
-0.06729369,
-0.028725144,
-0.03896706,
-0.0057696034,
0.0037227287,
0.062447898,
-0.06581933,
-0.0414894,
0.0077804616,
-0.072656125,
0.0019267257,
-0.062373232,
0.008121951,
-0.011076828,
0.018754765,
-0.047420617,
0.036170572,
0.08880367,
0.010916763,
-0.012883637,
0.06260873,
0.0018110857,
-0.050672933,
-0.020227732,
0.0011717983,
0.0032107267,
0.023494527,
0.043352764,
-0.011467329,
0.010602423,
0.013819501,
0.021411145,
0.02365779,
-0.06569988,
0.0033628268,
-0.063773826,
0.024242854,
0.0011621341,
-0.04809223,
-0.006948382,
0.03611103,
0.028776124,
0.059081964,
0.05560409,
0.036429767,
-0.015723119,
-0.06431396,
-0.0253329,
0.00018341461,
-0.011376878,
0.05463186,
-0.0037716061,
0.011002981,
0.0009151994,
-0.018486321,
-0.030303648,
0.031760976,
-0.025587654,
-0.06719293,
0.0020721399,
0.052564517,
0.02802083,
0.034310017,
0.040314436,
-0.0036684973,
0.043698348,
-0.024171531,
0.0491918,
-0.027781757,
-0.006412741,
0.007970388,
-0.0011894129,
0.0035984,
0.0014546772,
0.036456477,
0.0029782248,
-0.034279484,
0.010560336,
0.0035322504,
0.020129219,
-0.043415673,
-0.009118933,
-0.030193018,
0.018658346,
-0.03606373,
-0.0015406854,
0.0131575465,
0.030846149,
-0.054891676,
-0.04120441,
0.03438805,
-0.011949818,
0.015444059,
0.025234204,
0.008403376,
-0.019274885,
-0.008853354,
0.057749614,
-0.025081236,
-0.036091965,
-0.03203461,
-0.04040303,
0.029162815,
0.045383703,
0.02946273,
0.044946507,
-0.01670611,
-0.026467483,
0.02814063,
0.05311321,
0.03233347,
0.027180135,
-0.02781776,
0.0317338,
0.0038079473,
-0.0333207,
-0.020405712,
-0.049793858,
0.024490476,
-0.030916827,
0.0545178,
-0.07154419,
0.05872816,
0.022016676,
0.018952396,
0.026736137,
-0.030747173,
-0.032632753,
-0.09873412,
0.036421105,
-0.025122073,
0.015521982,
0.033252254,
0.00062293926,
0.032498702,
0.018836299,
-0.044970427,
-0.010897397,
-0.0014576317,
0.0005910161,
-0.020319566,
-0.044815898,
-0.008931326,
0.00047022093,
0.0003049459,
0.028664568,
0.008526114,
0.017410867,
-0.036644094,
0.036418702,
-0.023993712,
-0.007630612,
0.008000665,
0.030062437,
-0.058893345,
0.054311927,
0.03843722,
0.01852763,
0.043631036,
-0.034003157,
0.0039597056,
-0.009026667,
-0.040665936,
0.036740363,
-0.02125452,
-0.014435757,
0.007876177,
0.0023689002,
-0.021699995,
0.023313528,
-0.042599734,
-0.013110352,
0.0021866898,
0.050076384,
-0.037115116,
-0.023012513,
-0.0025016959,
-0.047455475,
-0.05159313,
-0.017610293,
0.01029014,
-0.016907534,
0.00408846,
-0.078405455,
-0.013900063,
-0.020021524,
0.028751751,
0.0066935583,
-0.032649808,
-0.006763511,
0.03299771,
0.003156429,
-0.05392382,
-0.01215072,
-0.00459191,
0.05064916,
0.03561331,
0.017481918,
-0.035083935,
-0.043453865,
0.01815416,
0.046951916,
-0.0049919197,
-0.008505895,
0.011167935,
-0.021867692,
0.0029629092,
-0.063381866,
-0.0679027,
0.018468782,
-0.032873593,
-0.028832695,
0.023317901,
0.0038515755,
-0.02413956,
0.033514734,
-0.006550087,
0.0012688171,
-0.005550443,
0.016541118,
-0.03258667,
-0.026246088,
0.047462273,
0.023489743,
0.035488695,
-0.060600244,
0.016838906,
0.026438922,
0.026164418,
0.007880026,
0.0068441494,
0.007933451,
0.01899983,
0.03454254,
0.06043274,
-0.007381834,
-0.07423027,
0.009216058,
0.01956919,
0.036336318,
0.05096081,
-0.0074778954,
-0.0033972056,
0.0108221965,
0.015464005,
-0.025683189,
0.0588983,
0.041849297,
-0.018126855,
-0.030579738,
0.0040821317,
0.017569052,
0.034149874,
0.09389867,
-0.02206367,
-0.059955835,
0.033345353,
0.00657216,
0.026174178,
0.0017329623,
0.022303639,
0.06188959,
0.048512552,
0.0076356367,
0.006939425,
-0.022812618,
0.035069596,
-0.0049429564,
-0.05625094,
-0.042997748,
0.00206934,
-0.020534936,
-0.014696548,
-0.017626563,
-0.03077441,
-0.015947677,
-0.0057630003,
-0.028772796,
0.040652726,
0.027857244,
-0.051647138,
-0.015136242,
-0.027264267,
-0.016482372,
0.024936615,
0.06123646,
-0.005255819,
0.0017156882,
0.0016962842,
-0.07402659,
-0.004608739,
-0.0037391784,
0.027100354,
-0.012302754,
-0.0043524406,
-0.03164216,
-0.041333206,
0.051360536,
0.033111025,
0.078026414,
0.00398075,
-0.04396869,
-0.03183228,
-0.017761175,
0.09272905,
0.10341986,
0.041000426,
0.04243075,
0.009480886,
-0.023648392,
0.009301616,
0.037870165,
-0.017324075,
0.08090341,
-0.015383662,
-0.03767125,
0.032517172,
0.055409532,
0.014370606,
-0.0030017018,
0.015922759,
0.041591484,
-0.028900212,
0.021146726,
-0.02454138,
-0.07065434,
0.015136878,
-0.012355605,
-0.02175656,
0.0033897983,
-0.02028869,
-0.04787303,
0.045963272,
0.03344755,
-0.0009476675,
-0.020018771,
-0.010568847,
0.051085256,
-0.015750369,
-0.020646987,
-0.015889736,
-0.04724883,
-0.038242348,
-0.040137388,
0.05040969,
0.022251017,
-0.002159736,
0.060206577,
0.031627286,
0.028557083,
0.008869395,
0.044032004,
0.025531366,
-0.03231692,
0.0013592826,
0.0003404247,
-0.065961935,
0.0768224,
-0.043043256,
0.014614257,
-0.01984546,
0.008225415,
-0.038360845,
-0.014143061,
-0.030586913,
-0.0004368779,
-0.064600386,
-0.025520632,
0.008668012,
-0.011625725,
0.00085810357,
0.015334164,
0.03972146,
-0.013052244,
-0.024490133,
-0.0127505595,
0.03354175,
-0.035617076,
-0.01192436,
0.0011129586,
0.010508804,
0.015326659,
0.026520947,
0.016812682,
-0.041040733,
-0.06551224,
-0.013797894,
0.072165765,
-0.046913978,
-0.0030715233,
0.043330867,
-0.0089630205,
0.0008920317,
0.01958467,
0.014530955,
-0.029273646,
0.011160096,
-0.020034848,
0.0070859627,
-0.02541997,
0.016647562,
-0.009951747,
0.03174818,
-0.07282331,
0.0033717607,
-0.0066015865,
-0.04863365,
-0.0103119025,
0.0025679704,
0.041539986,
-0.017856043,
0.019527039,
0.0838815,
-0.019659841,
0.038069256,
-0.035159733,
-0.01726852,
0.038378183,
0.0128092365,
-0.018072981,
0.013047407,
0.021884384,
-0.06139352,
0.029632013,
0.008494567,
0.02177652,
-0.019502524,
0.00070980255,
-0.03984073,
0.03646393,
-0.032246757,
0.04119644,
0.006709525,
-0.037191365,
0.03024037,
0.03960881,
0.0681406,
-0.012202234,
0.003129581,
-0.05918346,
0.005223905,
-0.013540174,
-0.004381214,
-0.047223054,
0.0087192245,
0.0387214,
0.048537552,
0.056118414,
-0.046625756,
-0.001412158,
-0.0020210447,
0.0005724334,
-0.010059937,
0.01742975,
0.068996795,
-0.011381042,
-0.046832375,
0.036824863,
0.059167933,
-0.021284344,
0.016471438,
0.0183492,
0.024895716,
0.046935398,
-0.025326256,
-0.07642374,
-0.006785155,
-0.017809186,
-0.044745807,
-0.032673575,
0.038128093,
0.056831155,
0.058232445,
-0.0018799703,
0.008692216,
-0.046569623,
-0.03131033,
-0.023160683,
0.028515609,
0.0031497679,
-0.029186934,
0.024524013,
0.04876069,
0.015520783,
-0.016389547,
-0.052084237,
-0.0376428,
0.035501905,
-0.0006573894,
-0.012245377,
-0.018819893,
0.018253103,
-0.04535086,
0.037610944,
-0.031780746,
-0.04220951,
-0.07941727,
-0.03210557,
-0.02987403,
0.005628877,
-0.04253893,
0.039340813,
-0.02695328,
-0.018810388,
-0.0052648084,
0.0061414675,
0.06741751,
0.022757279,
0.013827813,
0.00652874,
0.050163127,
-0.039784987,
0.01173477,
0.033536065,
0.042173725,
-0.006868311,
-0.043550655,
-0.033698414,
-0.012223596,
0.044726677,
0.049324814,
0.0061214673,
0.03286707,
-0.04905234,
-0.06275988,
-0.052767873,
-0.0043502264,
0.073623806,
-0.00349909,
-0.015808392,
0.017608441,
-0.028317071,
0.008189918,
0.0018943916,
-0.06029155,
0.013548083,
0.00073401124,
0.005935709,
0.03093152,
-0.041424066,
0.031271376,
-0.014426428,
0.06230713,
-0.019388167,
-0.047630932,
-0.040437073,
0.015118009,
0.03948931,
0.050440658,
-0.0037635523,
0.045580253,
-0.008792551,
-0.031401757,
-0.024070429,
0.05972812,
0.04278057,
-0.034054544,
-0.02525449,
0.0039059466,
-0.035968915,
0.09419907,
-0.0074842493,
-0.0326216,
-0.025627483,
0.08396312,
0.04904894,
-0.004123067,
0.008668851,
-0.008611166,
0.006182857,
-0.025419408,
-0.042288188,
0.001480622,
-0.03428165,
-0.024278741
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"test query"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 45266417,
"load_duration": 7216314,
"prompt_eval_count": 2,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
0.021620473,
0.027913807,
-0.169781,
-0.0057552755,
0.08171205,
-0.036233317,
0.044099476,
-0.01005943,
0.050948765,
-0.0347105,
0.0006938705,
0.059254564,
0.04547466,
-0.019747369,
-0.094699,
-0.05548784,
0.04957602,
-0.07063317,
0.004456102,
-0.0013219138,
0.003992316,
-0.016534463,
-0.06654829,
0.007750523,
0.13795762,
-0.049710568,
-0.05557016,
0.040072657,
-0.034097623,
-0.017494665,
0.0012326887,
-0.008057607,
0.05028682,
-0.060367405,
-0.03603009,
-0.0074676694,
0.019497357,
0.05546256,
-0.015271012,
0.01636071,
0.051274206,
0.0056277663,
0.019476349,
-0.043891314,
0.058626752,
0.004677235,
0.029893609,
0.048163883,
0.04132475,
-0.06542096,
-0.0606018,
-0.044728532,
0.048634384,
0.00040699862,
0.03650828,
0.021256568,
-0.022060085,
0.016503127,
0.014474615,
-0.017100425,
0.008531663,
0.011146427,
-0.054638952,
0.04438437,
0.041699477,
-0.0755039,
-0.014593527,
0.0151611,
-0.020887613,
0.02336283,
0.02436542,
0.00076657097,
0.03374226,
-0.029104065,
-0.026246415,
-0.043977737,
-0.04121522,
-0.032993823,
-0.01696907,
0.019426322,
0.050799303,
0.008166088,
0.032688282,
0.025931625,
0.06545249,
-0.0096534835,
-0.026338411,
-0.045113705,
0.00899324,
0.054012235,
0.070867434,
0.011168649,
0.05316635,
0.026495038,
-0.023253506,
0.042972237,
0.010416305,
0.008757316,
-0.007739451,
-0.02215089,
0.014438219,
0.008057108,
-0.014591613,
-0.021037417,
-0.0015476113,
0.025518099,
0.006401272,
0.022995872,
-0.023892155,
0.015321559,
-0.08473008,
0.088502586,
-0.05604467,
-0.0031189518,
-0.014617193,
-0.011345899,
0.03681831,
-0.0022410771,
-0.01913613,
0.0099516865,
0.011212296,
0.06256269,
-0.040144518,
0.07524861,
-0.0669644,
0.046403464,
-0.067218825,
0.0703969,
0.02018707,
0.030594531,
-0.0101554375,
-0.04434632,
-0.040739305,
-0.0055578756,
-0.014323857,
-0.010857966,
0.015155041,
0.0038601262,
-0.03857523,
-0.02845737,
-0.0037550437,
-0.0026033442,
-0.016553568,
0.0067151794,
0.018818337,
-0.029768381,
0.04956343,
0.0320089,
-0.022492947,
0.012442531,
0.0014153207,
-0.045644477,
0.073572405,
-0.016290126,
0.026606826,
-0.071760416,
-0.00873104,
0.0059533874,
0.019818656,
0.031938408,
0.034132898,
0.0021859286,
-0.027162753,
0.022562718,
0.0043730563,
-0.09534286,
0.012637702,
0.071534455,
0.052459337,
0.016889624,
-0.0557197,
-0.0870659,
0.014726411,
-0.027584016,
-0.030404389,
-0.013722814,
0.027991412,
-0.039488427,
0.052362528,
-0.02274065,
0.044918474,
-0.03270725,
0.051842358,
0.047761448,
-0.0033127293,
-0.059134316,
0.0459061,
-0.013963287,
-0.03158143,
-0.034797903,
-0.014450098,
-0.021374468,
-0.0933836,
-0.045114283,
-0.015859088,
-0.055791356,
0.053230572,
0.02854602,
0.01156222,
-0.02652449,
-0.034693014,
0.0042476445,
-0.0095278695,
0.0073814704,
-0.037104215,
0.005856336,
-0.0034214647,
-0.027950238,
0.025702944,
0.00028056256,
0.053504862,
0.013757695,
0.007105292,
0.023780156,
0.0005763905,
-0.018315643,
0.018139949,
-0.052983604,
0.011635319,
0.0041919937,
0.029590294,
-0.044993795,
-0.025784116,
-0.016568381,
0.036492117,
-0.0025981562,
-0.029801808,
-0.0050900313,
-0.03776899,
-0.0040126024,
0.008407946,
-0.07387779,
0.027821649,
-0.017629344,
0.040194172,
0.0125634335,
-0.018515171,
0.02721519,
0.017737644,
-0.0023587109,
-0.00020399412,
0.026305411,
0.004901361,
0.0017779946,
-0.021136459,
-0.019035844,
-0.0067686494,
-0.01628817,
0.037328426,
0.0345256,
-0.011516041,
0.034582205,
-0.013052615,
0.06529021,
-0.0027826305,
-0.029320333,
-0.0015050921,
-0.00033435735,
0.044129107,
-0.050101653,
-0.021459159,
-0.03639761,
0.027335905,
-0.036283832,
-0.0142763695,
-0.044667017,
-0.0475261,
-0.051154256,
-0.027646113,
-0.008408461,
0.006554618,
0.0060311933,
0.051558286,
0.042508416,
0.04247318,
-0.036540784,
0.0040931148,
0.0072228713,
0.00063334557,
-0.0011777302,
-0.049987633,
-0.012188964,
-0.01232952,
0.05796594,
0.017103106,
0.044699162,
0.018390363,
-0.042958762,
0.0115007125,
0.03339436,
0.029610991,
-0.0037127708,
0.013707231,
0.072233096,
-0.048232257,
0.0025659483,
0.056275934,
-0.055381384,
-0.014552366,
-0.030668937,
-0.0024473728,
0.014395305,
0.035010546,
0.038390614,
-0.015522446,
-0.017862692,
0.008537385,
-0.042025488,
0.06887116,
0.04368307,
-0.060842317,
-0.013070533,
-0.01447814,
0.010738127,
-0.009994192,
0.012587521,
0.028623767,
0.07105804,
0.04647883,
-0.017563492,
-0.01961681,
-0.058321316,
-0.00440669,
-0.009464673,
2.1165155e-05,
0.013205614,
0.020746334,
0.025730284,
-0.051344432,
-0.021312652,
0.022333886,
0.050461102,
-0.02013494,
-0.039235435,
0.024196878,
0.05493299,
-0.0025632826,
0.014383009,
-0.024966478,
0.024219181,
0.045980446,
-0.05346022,
0.03285922,
-0.042018875,
-0.015523831,
0.003780657,
0.011420856,
0.025196712,
-0.0042569404,
0.040787432,
-0.07903698,
-0.01779626,
-0.030717932,
0.004765178,
0.04036832,
0.009940859,
0.049281206,
0.010312763,
0.031829294,
0.008871539,
0.011144645,
-0.0046901824,
0.0020557945,
-0.029297823,
0.022279954,
0.048500977,
0.0049215583,
0.033180833,
0.03784673,
0.008510152,
-0.038959164,
0.010186599,
0.0203661,
0.07565174,
0.028473945,
0.024767688,
-0.11575782,
0.00083366246,
-0.043415222,
0.010741125,
0.050316263,
0.009942293,
0.024146104,
-0.020998012,
0.007146506,
-0.03657576,
0.03545262,
-0.013416221,
-0.0004663062,
-0.012898142,
-0.017353311,
-0.026549365,
-0.10083869,
0.04535001,
-0.0112063205,
-0.047216583,
0.015187313,
-0.005076197,
-0.05323974,
0.047319207,
-0.006483438,
-0.028812516,
-0.01131152,
-0.017943652,
-0.02759154,
0.003175442,
-0.041849144,
-0.030257823,
0.011571448,
-0.023090925,
0.026727233,
-0.0010960322,
-0.03915681,
-0.07057802,
-0.0124754,
0.014744144,
0.053664412,
0.012245103,
-0.049651116,
-0.023939861,
0.02163205,
0.032693755,
0.034615148,
-0.026412101,
0.00444278,
-0.027395824,
0.018668326,
0.048218366,
0.059625495,
-0.035657894,
-0.001966135,
0.021956101,
0.01009265,
0.02684538,
0.0008920533,
0.061648462,
-0.021002777,
0.026102202,
0.019710258,
-0.014588532,
-0.015265171,
-0.023972295,
-0.028343087,
-0.009531346,
-0.02959728,
0.1439799,
0.015581887,
-0.034460563,
-0.0068809856,
-0.009971871,
-0.025322502,
0.03369943,
0.014319521,
-0.019751854,
0.029399894,
-0.02715306,
0.05765123,
-0.01316856,
0.01362321,
0.051844887,
-0.020518694,
-0.03839453,
0.0055066273,
0.0120439455,
0.05783173,
0.00026507472,
0.014101617,
0.0057603624,
-0.013270549,
0.040725537,
-0.06018008,
-0.045642678,
0.09808221,
-0.024605667,
-0.019706737,
0.006535279,
-0.002899003,
0.0050945207,
-0.012702151,
-0.007573567,
0.0076636546,
0.023489164,
-0.045723513,
-0.0459265,
0.028210763,
-0.025769692,
0.0359153,
-0.018286806,
0.043693595,
-0.028908039,
0.038822636,
-0.0043401183,
0.005963284,
-0.031326223,
-0.0055600205,
-0.043256782,
-0.002364514,
0.0070932643,
-0.016074456,
-0.036710717,
0.007874143,
0.034928106,
0.024924245,
0.006160747,
-0.023064489,
-0.036029205,
0.014981543,
-0.085021056,
-0.047080435,
-0.030016176,
-0.049177308,
0.005295078,
0.042452544,
0.015400265,
0.042179067,
-0.031051815,
0.006335157,
0.013948926,
-0.03693514,
0.015036466,
0.045942076,
-0.008835774,
0.01213393,
0.012225005,
-0.02071201,
-0.0042567872,
-0.004159377,
-0.013537654,
0.031504683,
-0.018739503,
0.0030911493,
0.043738283,
-0.038171925,
-0.008663228,
-0.030498004,
-0.040212788,
-0.018446533,
-0.031362433,
0.013316973,
0.025803478,
-0.054956224,
-0.012498675,
-0.009063291,
-0.01727149,
0.058779333,
0.013403996,
-0.04324559,
0.00020947515,
-0.011102452,
-0.06335174,
0.0063252626,
-0.03515889,
-0.013612362,
-0.03988108,
-0.0017639356,
-0.047934115,
5.723825e-06,
-0.023577543,
0.00042559972,
-0.03771582,
0.03298355,
-0.027400127,
0.014760727,
0.02957939,
0.01829821,
-0.018012002,
-0.04650381,
0.018797677,
0.019224461,
0.0005336394,
0.011443894,
-0.045088813,
0.0006480601,
-0.05302274,
-0.023184553,
0.01413931,
0.0064031235,
0.02246942,
-0.005835129,
-0.016147766,
0.06329016,
-0.04146926,
0.016424809,
0.044952042,
0.022376185,
0.030937796,
0.019563457,
0.0034206845,
0.007866995,
-0.041931704,
-0.07885351,
-0.0062249596,
0.037008565,
-0.015693178,
0.003191863,
0.03701008,
-0.0034320687,
0.057769038,
-0.0044973358,
-0.016321642,
-0.016170792,
-0.018086096,
0.03856302,
-0.04125194,
0.020721192,
0.059823874,
0.03584033,
0.040434536,
-0.010760463,
-0.01080636,
0.015114416,
0.010984877,
-0.029766459,
0.028502736,
0.007581295,
-0.064343646,
0.05659065,
-0.029810766,
-0.02702399,
-0.036956772,
0.012316576,
-0.042224698,
-0.0015649927,
-0.014783138,
0.052455395,
-0.00021753224,
-0.03756608,
-0.01541568,
0.0035289056,
0.06264283,
0.004655295,
0.0014998496,
-0.06921021,
-0.08721128,
-0.074617855,
0.018140439,
-0.010291568,
0.035478372,
0.0274538,
0.059507012,
0.04776638,
0.02395018,
-0.074656576,
-0.00082610414,
0.013976849,
-0.015529194,
0.06325885,
0.03696627,
0.039804786,
-0.025699014,
0.10220024,
0.08094509,
-0.001992973,
-0.0030477785,
0.04262707,
0.008463161,
0.025178786,
-0.013788586,
-0.027035741,
-0.03329965,
-0.013686749,
0.031096369,
-0.016547045,
0.042494435,
0.025643801,
0.014028396,
-0.04203531,
-0.049610052,
0.023346303,
-0.078373246,
0.07511654,
0.027362656,
0.00065178715,
-0.0029182977,
0.047017444,
0.026410952,
0.011142271,
0.040402763,
-0.007152418,
-0.005628078,
-0.07434408,
-0.026194707,
0.08239112,
-0.0037609364,
0.01833292,
-0.025524355,
-0.019313741,
-0.031533387,
0.056485157,
-0.026368001,
-0.027212255,
-0.0110017145,
0.0014203364,
-0.044257708,
0.011673573,
-0.050134398,
0.02322956,
-0.040714655,
0.010684902,
0.0790314,
-0.03396196,
0.059800092,
0.023996376,
0.032863483,
-0.011984514,
-0.0032357941,
0.006493373,
0.0002991333,
-0.034232028,
-0.012327405,
0.03708426,
0.037523683,
0.014223491,
0.06844052,
0.04782556,
0.024287308,
-0.03599014,
-0.03424676,
-0.01043084,
0.00944368,
0.03895141,
-0.007946003,
-0.013756231,
-0.0002517288,
-0.046416648,
-0.060830504,
0.028685974,
0.009581129,
0.0139924055,
-0.02117811,
0.024149993,
-0.002645948,
-0.04427376,
0.032547295,
-0.013571964,
-0.008500229,
0.0019389155,
-0.02770426,
-0.015202244,
0.008875905,
-0.04313911,
0.02661179,
-0.020790672,
-0.012419334,
0.0021543375,
-0.009745247,
0.0027208643,
0.057391297,
-0.0001444122,
-0.02736112,
0.005769581,
-0.058943328,
-0.012858922,
0.049331784,
0.0014613459,
0.01102096,
0.00014683146,
0.05882351,
0.11718751,
0.0067310175,
0.0163676,
0.015283526,
0.009951764,
0.0054476177,
0.00077221147,
-0.07800442,
-0.039332133,
-0.038243063
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"What is the secret string?"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 64640559,
"load_duration": 8275696,
"prompt_eval_count": 6,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
-0.0032986836,
0.024027394,
-0.12853743,
-0.09324438,
0.045361742,
-0.013056183,
-0.022555847,
-0.012613375,
-0.03398914,
-0.035651904,
-0.12064993,
0.057964455,
0.030329313,
-0.050050795,
0.04453846,
-0.0070125563,
0.029749561,
-0.06559391,
-0.002993373,
-0.05918187,
-0.0025102585,
-0.02686315,
-0.038463283,
0.046533335,
0.11378393,
0.04937919,
0.025002593,
-0.033740196,
0.007246117,
-0.031203022,
0.028160624,
-0.02944006,
0.015620879,
0.011322325,
-0.033444125,
-0.052299276,
0.020813486,
-0.0072749043,
-0.049010944,
0.051732294,
-0.028968671,
0.05595169,
-0.008857897,
-0.0032976253,
0.042489685,
-0.025026862,
-0.023456585,
6.46129e-05,
0.029820241,
-0.085338034,
0.058596697,
-0.024279315,
0.05391659,
-0.01946672,
0.051720995,
0.018171057,
0.0011381571,
-0.03046404,
0.030458495,
0.040416773,
0.06773567,
0.028664507,
-0.026486794,
0.034290597,
0.057708777,
-0.029490804,
-0.02560744,
0.044930853,
0.011338722,
-0.019911025,
0.062480625,
0.014960627,
0.012959204,
-0.0374132,
-0.06685959,
-0.004992621,
0.013715416,
-0.017966261,
-0.018940058,
0.027471887,
0.04046339,
-0.013159615,
-0.0035001321,
0.00860785,
-0.005039756,
-0.035087176,
-0.023220722,
0.012773795,
-0.0040118406,
0.054371774,
-0.0016255592,
0.010962614,
0.037633747,
0.03468202,
-0.014064402,
0.016429113,
0.009631311,
0.037464213,
-0.049405385,
-0.03485593,
0.00909404,
-0.03266166,
0.028881658,
0.010416462,
0.0076452163,
0.02923839,
-0.012726982,
-0.008917278,
-0.039297726,
0.00026908715,
-0.012596263,
0.053953346,
-0.04130733,
-0.03592253,
0.024551602,
-0.029714737,
0.020442221,
-0.04659323,
-0.031344593,
-0.018244052,
-0.052938335,
-0.019082317,
0.014155709,
0.04420679,
-0.016036164,
0.046695057,
-0.017100003,
0.031964798,
0.015379527,
-0.075141385,
-0.032912742,
0.0045779543,
-0.039649807,
0.014326906,
0.027014537,
0.041521385,
-0.020128734,
0.007877264,
0.041349962,
0.012453176,
0.004306664,
0.02351285,
-0.031706396,
-0.03691455,
0.033226673,
-0.07985886,
0.013038393,
-0.0041157105,
-0.061088573,
-0.035600077,
0.019558294,
0.0063110534,
0.022945646,
-0.008669337,
-0.016276145,
-0.03193193,
0.070835285,
-2.1618193e-07,
-0.00078207866,
0.059418164,
0.024302253,
0.03268082,
0.00014381036,
0.03839722,
-0.06838789,
-0.042497825,
0.033609662,
0.07475393,
0.030100998,
0.0423033,
-0.04166448,
0.0143501535,
0.0039264755,
0.012671987,
-0.020854177,
-0.006718569,
0.002019551,
-0.038268488,
0.012740347,
-0.028295355,
0.002600234,
-0.039414056,
0.04326679,
0.022708738,
-0.04673403,
-0.012096722,
-0.0011956888,
-0.052961368,
-0.012467041,
-0.056463912,
-0.042778503,
-0.018744348,
-0.078515016,
-0.0064001423,
0.0028517288,
-0.015467423,
-0.023435803,
0.0035010404,
0.021770932,
0.008625957,
-0.06604144,
0.026738834,
-0.017575411,
-0.017031696,
0.01075823,
0.015145062,
0.03947122,
-0.00799394,
0.036185145,
0.016810846,
0.07538752,
-0.025896443,
-0.017358331,
-0.0134874005,
0.0018703025,
-0.022088114,
0.012068537,
0.0122266365,
-0.02195069,
0.016274363,
0.059921224,
-0.009841874,
0.042732026,
-0.018221157,
-0.039516818,
0.0486526,
-0.048551105,
-0.009838615,
-0.05851413,
0.0077378396,
-0.007728302,
-0.11791794,
0.028796539,
0.06965044,
-0.01980592,
-0.010689993,
0.0051634163,
0.02781541,
0.008662729,
0.023464749,
0.01019859,
0.010077792,
0.01240951,
0.026778733,
-0.01969809,
0.06289993,
-0.031163208,
-0.025086904,
0.023612363,
0.04369569,
-0.020940982,
0.012396958,
-0.01859855,
0.02107048,
0.02855252,
-0.03700358,
-0.011339705,
-0.01757895,
6.362148e-05,
-0.055251203,
0.0031862666,
-0.014093398,
0.04327843,
-0.011082,
0.0040321597,
-0.012379764,
0.008524582,
0.004850474,
0.019686775,
-0.013663173,
-0.013159279,
0.04567823,
-0.023725845,
-0.021927617,
-0.023135658,
0.008367321,
0.02053971,
-0.019572549,
0.0068249614,
0.011320174,
-0.05443711,
0.020393135,
-0.037801195,
0.013770748,
-0.045985486,
0.022687728,
0.0015826945,
-0.049056765,
-0.003444469,
0.010152211,
0.039853044,
0.014909604,
-0.002871339,
0.026515814,
0.032994673,
0.02709395,
0.036467694,
0.01610746,
0.013702929,
-0.039955992,
0.0087158615,
0.0072095115,
-0.0001403875,
0.02706977,
-0.031419203,
-0.029384844,
0.019975537,
-0.0061495877,
0.026191944,
0.0041432804,
-0.042340036,
0.017639548,
0.06021742,
0.0427631,
-0.041216932,
0.070766434,
-0.02191542,
0.0066472595,
0.06198921,
-0.00028757102,
-0.028165234,
-0.05135239,
0.011040836,
-0.06876293,
-0.022638226,
0.006416433,
-0.010084974,
0.037493583,
-0.054970145,
-0.047357112,
0.016661117,
0.026951559,
-0.05262415,
-0.013166455,
-0.018538471,
0.049789067,
-0.023675809,
-0.014888084,
-0.043054145,
-0.011257369,
0.020023536,
-0.0055467677,
0.024918977,
-0.03558415,
0.02996231,
0.016184896,
-0.028430257,
-0.044851914,
0.07409331,
0.045994364,
-0.058175534,
0.028127082,
-0.04034791,
0.034272235,
0.00053115725,
0.03375033,
0.028929386,
0.00026890344,
0.049494307,
0.009845735,
0.043682832,
-0.044978708,
0.016202942,
-0.03792806,
0.03709004,
0.0024071136,
0.01571947,
-0.022291455,
-0.0025049888,
0.037405774,
-0.05483534,
0.0320796,
0.006743261,
-0.0075901053,
-0.015895419,
-0.011879925,
-0.114077605,
-0.036012452,
-0.019458903,
0.039436284,
0.027783195,
-0.055382665,
-0.008043197,
-0.0036612905,
0.020206898,
-0.009309853,
-0.036252167,
-0.011387752,
0.050158888,
0.0017371936,
-0.025937958,
-0.030635199,
-0.058819994,
-0.0069313245,
-0.004209105,
-0.013815325,
0.011257949,
0.03510823,
0.004807265,
-0.04084816,
-0.048516903,
-0.03549119,
0.0063218772,
-0.013320006,
-0.023580277,
0.07931054,
-0.012630366,
-0.034307353,
0.083278604,
-0.019339314,
0.036989518,
0.047519673,
0.008330579,
-0.06684102,
-0.020828567,
-0.0016005763,
0.0037651316,
-0.0290726,
-0.038187087,
-0.011761794,
0.07332954,
0.048947796,
0.0066967355,
0.00030506682,
-0.026735444,
0.0003591779,
-0.0017446446,
0.034313828,
-0.038483184,
-0.084472835,
0.023159236,
0.031459462,
0.05462754,
0.0150604155,
-0.011486448,
0.021071,
-0.015068466,
-0.03412993,
-0.03363461,
0.07256013,
0.020399047,
0.021079307,
0.013139558,
0.029423835,
0.02580177,
0.07378288,
0.053098552,
0.0010445575,
-0.05967749,
0.07230943,
-0.042679492,
-0.04302788,
0.00235337,
0.017255168,
0.083445266,
-0.017646035,
-0.022459133,
0.0068705017,
0.051071573,
-0.0049718795,
-0.0099572465,
-0.0076468103,
-0.02759554,
0.023380037,
0.03200115,
-0.014461045,
0.022191888,
-0.029301597,
0.092221975,
0.11732678,
-0.01992372,
0.025138808,
0.044134654,
-0.02390199,
0.024928166,
-0.002303499,
-0.023202209,
0.046912625,
-0.015181528,
0.043374997,
-0.009495595,
0.050601013,
-0.05259698,
-0.063409336,
0.01764044,
0.05077809,
0.009961246,
-0.014817057,
-0.043514192,
0.01128857,
0.031639285,
0.0066269655,
0.042519834,
-0.009257732,
0.00057607354,
-0.078355335,
-0.0035112,
-0.028754521,
-0.005122706,
-0.01242668,
0.029878063,
0.019882184,
-0.010878481,
0.040703148,
0.024053425,
-0.004037578,
0.033323694,
-0.041800488,
-0.08001511,
-0.028445974,
-0.047794186,
0.0033649993,
-0.024955234,
-0.0246494,
0.07047036,
-0.0025128715,
0.09181009,
0.018030588,
0.03614813,
0.007992265,
-0.006388993,
0.039633162,
0.008676098,
-0.008555736,
-0.07805932,
0.033708688,
-0.0012907608,
-0.011003005,
0.013455157,
-0.040933263,
-0.022525545,
0.0058940277,
-7.3746465e-05,
-0.027320297,
0.030873496,
-0.0382432,
-0.027093517,
0.03684335,
-0.035428602,
0.03903928,
0.011249623,
0.01648375,
-0.009614459,
0.00040212082,
0.019891042,
-0.017265849,
-0.029518986,
-0.0021601538,
-0.001263436,
-0.02431803,
0.030755784,
-0.0203588,
-0.038702417,
0.00047228363,
-0.016713016,
-0.045761377,
-0.0036283361,
-0.0033466232,
0.0019470254,
0.019250259,
0.03362542,
0.0021007906,
0.0093469955,
0.0025023564,
-0.0023875628,
-0.015718091,
0.008567405,
-0.022001995,
0.040123887,
0.04644549,
-0.03921077,
0.0128390435,
-0.047608368,
0.03019618,
-0.02100763,
-0.008887097,
-0.023297662,
-0.058117963,
-0.050039448,
-0.042037785,
0.009778059,
-0.042896606,
0.023667162,
-0.021646107,
-0.0085139945,
0.043802693,
-0.028918266,
-0.078997284,
0.0025900195,
-0.03533183,
-0.05135335,
0.02881346,
0.011519441,
0.054495495,
-0.01518895,
0.005383923,
-0.04073472,
-0.010176185,
0.014496789,
0.010065708,
0.03590252,
0.0502445,
0.040928382,
-0.021835104,
-0.009051874,
0.04545784,
0.056008928,
0.050937135,
0.0057510724,
-0.009609614,
0.086232886,
-0.0055724354,
-0.03572286,
-0.0037728269,
0.04825984,
-0.025948038,
0.022848984,
0.02990602,
-0.051778648,
-0.06041578,
0.043915883,
-0.04182703,
-0.008144247,
-0.026842678,
0.08341958,
-0.026044311,
-0.045275353,
-0.027890675,
-0.012195449,
0.045508925,
-0.0711689,
0.05662427,
-0.026666857,
-0.02400544,
-0.031821128,
0.05154189,
-0.028013796,
0.07027354,
-0.025199393,
0.071458556,
0.05159261,
-0.009702621,
-0.0292062,
-0.0006539755,
-0.007547089,
0.07696266,
0.04119208,
0.02269182,
0.023550116,
-0.011891305,
-0.0019354338,
0.04786894,
-0.027906831,
0.021072268,
0.076432854,
-0.06553183,
0.01862861,
-0.06791135,
-0.050306402,
-0.05260721,
0.011271741,
-0.00090540503,
-0.00586673,
-0.04343242,
0.043944333,
-0.009442963,
0.05242626,
-0.030415678,
-0.025321687,
0.01179464,
0.026350629,
0.0064153317,
0.07592477,
-0.017494515,
0.060401842,
0.013301226,
0.040358186,
0.03312654,
-0.068483435,
-0.04309235,
0.00020228238,
0.015284389,
-0.021765618,
-0.008834017,
0.00898098,
-0.022203308,
-0.026022945,
-0.060405266,
-0.036306493,
-0.0635644,
-0.019911667,
-0.06612217,
-0.016830113,
-0.04665814,
0.056536287,
0.03661846,
-0.064015426,
0.02515789,
-0.046791427,
0.07699667,
-0.007925841,
0.047779206,
0.023044702,
0.039954893,
-0.040115613,
-0.015775848,
0.007164218,
-0.009256051,
-0.034420982,
0.02846614,
-0.01607743,
0.015776388,
-0.018934235,
0.045096498,
-0.021748254,
0.049678154,
0.01852816,
-0.036218435,
-0.018958857,
-0.028583238,
0.040013842,
0.008460945,
-0.020836234,
0.009103908,
-0.013069774,
-0.038534135,
0.048007835,
-0.00039249414,
0.050986048,
-0.012399026,
0.009125683,
-0.0090596415,
0.02107644,
-0.018349461,
0.029914089,
0.032248452,
-0.023537338,
0.008016883,
-0.023186643,
0.011149536,
0.04109207,
0.00060086703,
-0.0039925687,
0.003558584,
-0.0031856818,
-0.0093926685,
-0.060290705,
0.04616099,
-0.011660713,
-0.008103016,
0.03087257,
-0.050025217,
-0.051958285,
0.073884405,
0.052943323,
0.0010731242,
0.031025864,
0.03570595,
0.085457414,
0.01059186,
0.021846503,
-0.025219727,
-0.018346634,
0.04661713,
-0.024405431,
-0.059233453,
0.014887368,
-0.0010446268
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"This is a test file"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 64331116,
"load_duration": 8158748,
"prompt_eval_count": 5,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
0.053755064,
0.038824845,
-0.14897895,
-0.057621628,
0.04607179,
-0.036720708,
0.034465693,
0.0035774964,
-0.046216298,
-0.057663284,
-0.0029320826,
0.032722153,
0.008126161,
-0.0054726754,
-0.056881513,
-0.040220805,
0.06675372,
-0.07054128,
0.008605871,
-0.035792407,
0.021381244,
-0.034037996,
-0.08897738,
0.005096966,
0.12571196,
0.021406772,
-0.046919554,
0.02846187,
-0.0674785,
-0.005860969,
0.048145585,
-0.018883042,
0.020483026,
-0.023393994,
-0.021695035,
-0.057482675,
0.02650926,
0.037495404,
0.038994107,
0.029185897,
-0.029124716,
-0.0066564786,
-0.018492283,
-0.004880613,
0.0326117,
0.019956214,
-0.009404416,
0.056746867,
-0.021451293,
-0.0010848701,
-0.008556974,
0.00717712,
-0.0158759,
0.016807728,
0.050091505,
-0.026155384,
0.01421543,
-0.00030872005,
-0.019532513,
-0.07570676,
0.036398344,
0.036072206,
-0.07834818,
0.054609925,
0.0070004477,
-0.07138788,
-0.044890754,
-0.0015752985,
-0.0051746685,
0.02773374,
0.0907983,
0.019009177,
0.01652576,
-0.019781755,
0.0024468976,
-0.04386361,
-0.005844148,
-0.06330305,
-0.071813926,
-0.015402967,
0.07005262,
0.0146234725,
-0.0075086285,
0.0598322,
0.08178334,
-0.040106755,
-0.044506554,
-0.014833101,
0.008786615,
0.027668018,
0.0408559,
0.034992497,
0.044508792,
-0.021707665,
-0.026720917,
0.008456255,
0.014417912,
0.06089474,
-0.009831296,
0.0063804192,
0.010379584,
0.020169152,
0.03181851,
-0.023338739,
0.028989496,
0.01892435,
-0.019931735,
0.012846057,
-0.043179717,
-0.015091765,
0.005630924,
0.041796576,
-0.037343703,
-0.004141961,
0.011558244,
-0.015971268,
0.020698296,
-0.041845582,
-0.042620756,
0.024356088,
0.017188184,
-0.0012271669,
0.007192994,
0.044447795,
0.018283458,
0.048118174,
-0.03952341,
0.042869207,
0.017660262,
-0.04830425,
-0.0016062546,
0.014191671,
-0.016906656,
-0.023642827,
0.028871788,
0.04581212,
0.0025744475,
-0.008833574,
-0.059106488,
-0.009941071,
-0.037257005,
-0.010894794,
0.029945469,
0.042686045,
0.034860067,
-0.012610204,
0.024488637,
0.025305478,
-0.0044293613,
0.0036705723,
0.037009344,
0.010391426,
0.014213342,
0.016817044,
0.019320719,
-0.057810027,
-0.0050912066,
-0.015837427,
0.033348687,
0.072564326,
0.0008899279,
-0.03375868,
-0.016002063,
0.01757294,
-0.06126508,
-0.04696843,
0.0041741286,
0.104208246,
0.065977976,
-0.024900323,
-0.030272918,
-0.04279762,
0.0024915594,
-0.0040995525,
-0.06025669,
-0.029730435,
0.010547262,
-0.036377586,
0.050545547,
-0.0095344335,
0.048683695,
-0.012058972,
0.011432212,
0.018010113,
0.005364927,
-0.04086076,
0.0063007427,
-0.03574762,
-0.028465291,
0.0030182654,
-0.007852945,
-0.030634074,
-0.0909168,
-0.04716639,
0.0115555795,
-0.02810428,
0.00031586693,
-0.017768571,
0.019554375,
-0.007370804,
0.005686569,
-0.007877936,
-0.064068876,
0.034172762,
-0.026304692,
0.0049333936,
-0.04899222,
-0.03281665,
-0.033157684,
0.012718001,
0.076224595,
-0.0064710653,
-0.018755218,
0.039143063,
0.035096157,
-0.016754866,
-0.0060931817,
-0.029766135,
-0.029139608,
-0.014973088,
0.024322666,
-0.031502765,
0.023270516,
-0.03271965,
0.0062043606,
-0.03712458,
-0.068931796,
-0.02625073,
-0.012277584,
-0.031094182,
-0.0048645902,
-0.08060161,
0.022099901,
0.017626904,
-0.018784273,
-0.017160239,
-0.047505315,
0.06744298,
-0.016266603,
0.037358046,
-0.023241695,
0.042352144,
-0.020024868,
-0.0077798865,
-0.023802027,
0.015747737,
0.0052599455,
-0.056444295,
0.059068207,
0.037376188,
-0.013192159,
0.04332454,
0.028026175,
0.07711689,
0.020898307,
0.0033685977,
-0.021572681,
-0.037657484,
0.016036613,
-0.0382934,
0.0122232335,
-0.04138183,
0.023892462,
-0.004556672,
-0.035825394,
0.0063747033,
-0.028682346,
0.041275464,
-0.030208014,
-0.02404734,
-0.013418665,
0.033750094,
0.030134026,
-0.025030263,
0.029197402,
-0.019617375,
0.013827904,
0.027449468,
0.004978659,
0.030974008,
-0.020438295,
0.000767867,
0.010893972,
0.028313117,
0.016193025,
0.024263313,
0.039140362,
0.015502232,
0.04270309,
0.036285732,
-0.00049667986,
0.032861162,
-0.013075877,
0.021618912,
0.00086077384,
0.017106365,
0.06846418,
-0.017401312,
-0.0035004318,
0.0115860645,
-0.005868287,
0.013673696,
0.045313988,
0.018984651,
0.027531657,
-0.037540816,
0.036353067,
-0.033751406,
0.022943137,
0.021520479,
-0.07595643,
-0.009671425,
-0.036120884,
0.021625755,
-0.02455195,
0.049253788,
0.016561633,
0.024053719,
0.07052954,
-0.036360316,
0.0016302903,
-0.06445352,
-0.028436713,
0.010202086,
0.012302129,
0.012324357,
0.013936718,
0.04844302,
-0.03589321,
-0.052590277,
0.055593163,
0.0732214,
-0.054431036,
-0.030186577,
0.022834918,
0.039914526,
0.03522675,
0.049552023,
0.007371824,
0.044161588,
0.067879915,
0.00031594344,
0.027447,
0.01685882,
0.016181355,
-0.03849771,
-0.02291873,
0.024948563,
0.004223841,
0.069864646,
0.0014985797,
0.013324552,
0.030330706,
-0.023823606,
0.025094977,
0.0053906217,
0.019198073,
-0.03150149,
0.057533205,
-0.010408089,
0.023099689,
-0.023532018,
-0.004910729,
-0.021430561,
0.013503316,
0.030081883,
-0.018316586,
0.026708528,
0.0753131,
0.008196424,
-0.017148316,
-0.013309294,
0.044264067,
0.07017904,
0.06107757,
0.041799348,
-0.06895251,
-0.03424151,
0.0012017577,
0.034976095,
0.058295492,
-0.02544754,
0.027509857,
0.049761195,
0.035373602,
-0.035546362,
0.023910522,
-0.005200976,
0.057754345,
0.02994251,
-0.030295968,
0.02192239,
-0.07660182,
0.0041952324,
-0.009893715,
-0.016765697,
0.02205744,
0.012030603,
-0.046834268,
0.0044040564,
-0.009445439,
-0.026827166,
-0.00047521197,
0.017593743,
-0.022741219,
0.008764244,
-0.043141212,
-0.06153363,
0.029618109,
-0.024529207,
0.05106809,
-0.05149123,
-0.035547227,
-0.05243562,
-0.010526916,
0.020512614,
0.03022628,
0.01887064,
-0.016640756,
-0.0052087368,
0.009767478,
0.023524467,
0.021270983,
-0.022256205,
-0.04095088,
0.013887147,
0.03805821,
0.06790943,
-0.0018384855,
-0.08698164,
-0.0001229994,
-0.0008571096,
-0.0050718607,
-0.007538065,
-0.015663693,
0.06927893,
-0.020852331,
-0.035374828,
-0.016614653,
0.05172882,
0.034453575,
-0.073454045,
-0.015435662,
-0.007742794,
-0.017696258,
0.12930779,
0.09463219,
-0.044125196,
-0.053790558,
-0.008179506,
-0.008426076,
0.0076676984,
-0.015327971,
0.034576263,
0.07183845,
-0.028958166,
0.05314676,
-0.03096685,
-0.0032158992,
0.04581687,
-0.012794461,
0.018509485,
0.058683466,
0.041938934,
0.030082943,
0.004215841,
0.018244926,
-0.04298197,
0.015552812,
0.04222278,
-0.0015535373,
-0.06303078,
0.024394587,
-0.032710377,
0.010206549,
-0.006960954,
-0.023647094,
0.024798285,
-0.028433375,
0.01622465,
0.025266865,
-0.003731914,
-0.030350871,
-0.025399031,
0.01591482,
0.020711485,
0.025845746,
0.018662816,
0.024100337,
-0.0039405106,
0.053302877,
0.0075395373,
0.04916809,
0.030238178,
0.009602713,
-0.038422365,
-0.028400876,
-0.039225675,
-0.0055190753,
0.014685032,
0.029546242,
-0.008604474,
0.015193542,
-0.030894302,
-0.016527046,
-0.010891702,
0.007617393,
-0.032050192,
-0.093045905,
-0.010488982,
-0.0388184,
-0.018677445,
0.021712653,
0.041104708,
0.045463804,
-0.014232386,
0.011795274,
0.0070902836,
-0.025493778,
0.018382043,
0.026198598,
0.0055567,
0.008816842,
-0.020698523,
-0.09896698,
0.039850853,
0.022541791,
-0.014605717,
0.0717805,
0.061471548,
0.009760307,
-0.0058823824,
0.0044801617,
-0.009054137,
-0.033210285,
-0.015296926,
-0.044147786,
0.011772378,
-0.0011682066,
0.061298173,
-0.048394587,
-0.03126722,
0.0024896788,
-0.03219626,
0.0072913007,
-0.027876848,
-0.06358675,
0.011740617,
0.00062926457,
-0.05412463,
0.018568499,
-0.033691417,
-0.0528926,
-0.0069810036,
0.040134903,
-0.042806044,
-0.0019258702,
-0.02807893,
-0.036857396,
-0.047812905,
0.052457698,
0.0010601456,
-0.01320536,
0.01773575,
0.033740915,
-0.02428465,
-0.0029053832,
0.011027504,
-0.012990215,
-0.01058932,
0.013743376,
-0.0046183546,
-0.008390752,
-0.014781893,
-0.035429597,
0.017276006,
0.038983308,
0.061988592,
-0.032131802,
-0.0229958,
0.0638573,
-0.02895323,
0.02178523,
0.03728535,
-0.0063639414,
-0.0019311559,
0.008243508,
-0.008105072,
0.03141697,
-0.039425526,
-0.042349,
-0.020182261,
-0.003375657,
0.011413951,
0.010416108,
0.011482379,
-0.009866192,
-0.043633033,
0.008850827,
-0.025185566,
-0.004846933,
0.03689466,
-0.0019545932,
-0.048941545,
-0.045506805,
-0.0044495803,
0.0336061,
0.027958225,
-0.01688997,
-0.024565216,
0.048515715,
-0.013600102,
-0.07463516,
0.018509997,
-0.012448248,
-0.06196548,
0.0597057,
-0.050797287,
-0.018415296,
-0.022903174,
0.011200291,
-0.028467052,
0.06058437,
-0.016442202,
-0.003098909,
-0.024492593,
-0.0527971,
0.03285756,
0.041120544,
0.054158013,
-0.062963516,
0.049651794,
-0.062105,
-0.06449706,
-0.06372778,
0.011327486,
-0.06353946,
0.016411625,
0.077329434,
0.080715194,
0.035969965,
0.020154689,
-0.03928846,
-0.025479777,
-0.0036507042,
0.03220931,
-0.0008082983,
0.025667666,
0.029311521,
-0.06343347,
0.06241345,
0.08572635,
0.032400146,
-0.011070757,
-0.0030382075,
0.028115297,
0.04067802,
-0.035985943,
-0.058480624,
-0.083406046,
-0.016611245,
0.02005128,
-0.03546999,
-0.010433718,
0.032729413,
0.031749807,
-0.021659749,
-0.02821473,
-0.004485041,
-0.06761982,
0.02140799,
0.016119402,
0.054795243,
0.023059225,
-0.019336399,
0.024376748,
0.041402057,
0.072423294,
-0.01619759,
-0.028357103,
-0.029204277,
-0.027995426,
0.04663749,
0.020304017,
0.036945093,
-0.08855899,
0.0026856451,
-0.054572783,
-0.03168547,
0.0018172613,
-0.02016046,
0.03203796,
-0.020959057,
-0.051677093,
-0.017494315,
0.012795457,
0.057994902,
-0.027470358,
0.011278697,
0.042734835,
0.012837255,
0.046410922,
0.0040898565,
0.043820914,
-0.029022902,
-0.003712396,
0.005410841,
0.01533382,
-0.06806809,
-0.05327144,
0.031574167,
-0.0047716876,
-0.006499569,
0.06489965,
-0.013497029,
0.03230477,
-0.011278437,
-0.0030430576,
-0.011125672,
-0.03666495,
0.06385737,
0.025445716,
-0.042020448,
-0.006703262,
-0.0008475555,
-0.03370367,
-0.00248806,
-0.028288044,
0.061340675,
-0.06349156,
-0.025897006,
-0.0383112,
-0.020748561,
0.011724626,
-0.023281394,
-0.02039124,
-0.008407744,
-0.014239348,
0.0059249955,
0.02578553,
0.014422423,
0.029647088,
-0.039275713,
-0.01721786,
-0.025984382,
0.013900071,
-0.024370275,
-0.00024505187,
-0.016705003,
0.015770238,
0.037856378,
-0.044418238,
0.0044480236,
0.015106318,
-0.024628188,
-0.02517645,
-0.011585223,
-0.0023366679,
0.07885463,
-0.022423198,
-0.0034434658,
-0.02781302,
0.03211355,
0.015004164,
-0.0039932225,
-0.06683497,
0.010873645,
-0.037383374
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"How do systems learn automatically?"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 54418796,
"load_duration": 8491975,
"prompt_eval_count": 6,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
-0.0042787334,
0.024085503,
-0.13318679,
0.004941554,
0.07302995,
-0.0033626675,
0.04289207,
-0.033723302,
-0.020146351,
-0.029093169,
-0.026580572,
0.04908532,
0.11988273,
0.07824989,
0.0070858155,
-0.0126808025,
0.008139696,
-0.049385857,
0.013668133,
0.027201938,
0.03461472,
-0.031547178,
-0.0016686152,
0.019237004,
0.08407016,
0.05697168,
-0.021504402,
-0.04498225,
0.01068298,
0.008955338,
0.019986415,
-0.016908988,
0.020420015,
-0.036818434,
-0.040437322,
-0.043430287,
0.037493065,
-0.041973364,
-0.0014402202,
0.036696255,
-0.04186329,
-0.002541473,
0.0338223,
0.0044049406,
0.029839164,
-0.009362541,
0.008481139,
-0.01811649,
0.015835296,
0.013168234,
0.06198415,
-0.06914554,
-0.008522709,
0.03168831,
0.07029073,
0.050112918,
0.007693651,
0.05109706,
0.0076293633,
-0.12137042,
0.09496605,
0.047823153,
-0.02414208,
0.039483104,
-0.009979908,
0.009896846,
0.0024361573,
0.07422966,
-0.02024846,
0.025174085,
0.043078642,
-0.00018943421,
-0.0013616317,
-0.03695385,
0.0003787649,
-0.01951352,
-0.008998806,
-0.030695887,
-0.021161374,
0.089301385,
0.076918006,
-0.044158068,
0.044845488,
-0.04711805,
0.047928877,
0.043308146,
-0.02516357,
-0.05034578,
-0.049978625,
0.106089965,
0.010562611,
0.028440204,
0.012505226,
0.02272876,
-0.06997239,
0.0089987945,
-0.04798361,
0.026110439,
-0.015330577,
-0.024890142,
-0.04806763,
-0.021099282,
-0.035443418,
-0.06532684,
0.046704944,
0.055561136,
0.02687032,
-0.016992288,
-0.018487202,
0.022815693,
-0.0041294503,
0.011245074,
-0.041351188,
0.013297983,
-0.04002111,
-0.023791477,
0.031715136,
-0.037211247,
-0.0014883467,
0.0038300673,
-0.047529683,
-0.028521292,
-0.061402317,
0.008845252,
0.017403914,
0.07922679,
-0.022386435,
-0.02375175,
0.012570612,
0.0001333572,
-0.017298395,
-0.023806887,
-0.050114326,
-0.038907852,
0.04466949,
0.06426657,
-0.008871719,
-0.0484994,
0.03978935,
0.02601934,
0.027578894,
0.050768748,
-0.04063608,
0.0036816944,
0.012000964,
-0.027149005,
0.0045322934,
-0.019463021,
-0.024368409,
-0.01204605,
-0.020136608,
0.06470665,
-0.047630087,
-0.0162342,
0.03096583,
0.008118955,
0.00036955223,
-0.009742215,
0.047514915,
-0.023334095,
0.07157367,
0.0056172237,
-0.05970368,
0.00978504,
-0.039773144,
-0.047958344,
0.01510103,
0.021627666,
0.00969667,
0.011452064,
-0.05898451,
-0.0021101355,
-0.020356838,
0.031768233,
0.019785678,
0.042724583,
0.059855856,
-0.028541727,
0.053467102,
-0.05028687,
0.043057803,
-0.059160676,
0.0062141153,
0.032875348,
0.029750392,
0.041646227,
-0.07063579,
0.017117508,
-0.02645554,
-0.017924603,
-0.0049087745,
0.0049041957,
-0.023955567,
-0.039336503,
-0.045852665,
-0.015815066,
0.004065921,
0.021141313,
0.045437858,
-0.0034970897,
-0.002238095,
-0.01325532,
-0.056438707,
-0.013108974,
-0.035157774,
0.048552085,
-0.022415236,
-0.02317946,
-0.05312166,
0.05053431,
0.109504096,
0.025516978,
-0.07087319,
-0.013834647,
0.014815088,
-0.048677057,
-0.0040926347,
0.030784907,
0.038255863,
-0.004705948,
-0.03766974,
-0.0012370305,
0.011782605,
-0.0008670797,
0.009494065,
-0.047594387,
-0.03202321,
-0.0071950913,
-0.026344303,
0.0610904,
0.005964345,
-0.05746674,
0.049024623,
0.019423774,
0.024665387,
0.037131403,
-0.00573906,
0.005101514,
0.01201439,
0.01827544,
0.03644721,
0.0054425397,
0.017730145,
0.026087275,
-0.038633555,
-0.027633008,
0.06408834,
-0.021053791,
-0.07236068,
-0.009462128,
-0.0044817626,
0.07729367,
-0.021976428,
-0.041051336,
0.007830544,
-0.012730618,
-0.023911366,
0.02402242,
0.029658582,
-0.03579777,
0.04957368,
-0.008305232,
0.0033692054,
0.023998406,
0.0016145153,
-0.06757625,
-0.017266909,
-0.0018234522,
-0.014094016,
-0.03756689,
0.0021139246,
0.022622956,
0.017065035,
0.028182743,
-0.017444063,
-0.00059634144,
-0.0050803195,
-0.026290962,
-0.005143245,
0.024891606,
-0.047286026,
-0.0534495,
-0.05924166,
-0.048197266,
0.029184476,
-0.014024077,
0.034617357,
0.017752051,
0.0049934336,
-0.029895013,
0.016037192,
-0.011251189,
-0.022624975,
0.050663427,
-0.055124924,
0.053711932,
0.052085504,
-0.0030288547,
-0.034590133,
-0.008605269,
0.03017149,
0.03302843,
0.055060226,
0.016397446,
-0.051270753,
-0.0125311185,
-0.013187491,
-0.020000132,
0.021622645,
0.0044534043,
-0.016675124,
-0.01442047,
-0.020044459,
0.011089691,
-0.010430771,
0.040525537,
-0.00035962428,
0.018137781,
0.016777758,
-0.028544242,
-0.03854795,
-0.051222842,
-0.032820206,
-0.022864979,
-0.020805648,
0.033185944,
-0.03189462,
-0.029661244,
-0.014634998,
-0.032304615,
0.052764643,
0.020354753,
-0.041769903,
-0.025885228,
-0.009772822,
-0.035364535,
-2.9491546e-05,
0.014566345,
-0.0267744,
0.034303512,
-0.012996255,
-0.01806837,
-0.017140122,
-0.012676196,
-0.03344395,
0.0068145622,
0.018110735,
-0.029852942,
0.029683832,
-0.0019204139,
0.010279581,
0.022345493,
-0.04462974,
0.01448993,
-0.024073856,
0.040995933,
0.018326895,
0.06858719,
0.031197857,
-0.018029032,
0.0012248881,
-0.040486183,
0.011865926,
0.008749043,
0.013260666,
0.048417546,
0.02501441,
0.0034055384,
0.03626937,
0.0057044653,
-0.037514664,
0.00783336,
-0.03186157,
0.042277012,
0.026677502,
-0.020282485,
-0.044667177,
0.023262292,
0.011881238,
-0.0061838822,
-0.008229401,
-0.009753375,
0.011946212,
-0.044557653,
0.06480208,
0.034280356,
0.02123824,
-0.0063942834,
-0.0070933816,
0.09381885,
0.04840791,
-0.05692713,
-0.026055345,
0.010708509,
0.0017400738,
-0.007895462,
0.030498847,
0.013883461,
0.008388701,
0.0121080065,
-0.044726886,
-0.041510172,
-0.013852885,
-0.0045656958,
0.022194343,
0.033668756,
-0.03880841,
-0.0448917,
-0.0085533755,
0.011115838,
0.056894466,
0.004960493,
-0.009292119,
-0.049733,
-0.0022687314,
-0.010815448,
0.019264678,
0.051964108,
-0.06221736,
-0.015454487,
0.0016433148,
0.011406995,
0.037904102,
-0.0048376936,
-0.035015978,
0.017710982,
-0.0029211566,
0.029800383,
0.025297968,
-0.085228615,
0.028167948,
-0.03711411,
0.022293128,
-0.016280945,
-0.037995104,
-0.00470921,
0.04682695,
0.055620342,
2.4782974e-05,
0.0520419,
0.047912546,
0.00870439,
-0.051375315,
-0.020233331,
0.039234802,
0.068948485,
0.058966782,
0.03473253,
-0.05687418,
0.024007754,
-0.013750581,
0.024780702,
0.051113,
0.011134095,
0.07827812,
-0.052110575,
-0.08635136,
0.0026813478,
0.028655533,
0.005418117,
0.022809666,
-0.038705252,
-0.06475023,
0.03736548,
-0.03588391,
-0.019632008,
0.019049251,
-0.0154994475,
0.0104337605,
0.06051271,
-0.023319822,
0.028261404,
0.040165484,
0.02494476,
-0.026334006,
-0.057490345,
-0.027967913,
-0.02724432,
0.10017516,
0.055552218,
0.0057158787,
-0.06649098,
-0.03785767,
-0.0063919676,
-0.031638388,
0.05590255,
-0.018691812,
0.009434754,
0.032644674,
-0.025184704,
0.032889828,
0.036460392,
0.0029133665,
-0.041254047,
-0.07932292,
-0.075016044,
-0.07486507,
-0.006838269,
0.04540896,
-0.006950432,
-0.028854726,
0.05563381,
-0.0046611265,
0.02135884,
0.02762787,
-0.025189346,
0.050857242,
-0.058961138,
-0.06746422,
0.062932715,
0.017975917,
0.030838879,
0.039261464,
0.030196771,
0.03724745,
-0.12226119,
-0.027827818,
0.031169912,
-0.023546515,
-0.0045247255,
-0.0029941103,
0.0384809,
-0.03587887,
0.0011810099,
-0.069547266,
-0.001315824,
-0.008372838,
-0.017627422,
0.011133662,
0.009524607,
0.07549543,
0.026032574,
-0.0050187125,
0.046481177,
0.010128554,
0.013521398,
0.01640449,
0.044509467,
0.010821229,
0.033331625,
0.028624643,
-0.013788928,
0.013576264,
-0.017161286,
0.02618031,
-0.018337488,
0.015027544,
0.0094308425,
0.07064902,
-0.036203284,
-0.027006742,
-0.019526917,
-0.008688465,
-0.02496588,
-0.026179122,
0.02608523,
-0.052517753,
-0.022942653,
-0.035554424,
-0.01850372,
0.04305089,
0.0037592163,
0.08104336,
-0.0009318501,
-0.031183776,
0.016379919,
0.008474954,
0.01467329,
0.06877281,
0.07772293,
0.03496054,
-0.049007878,
-0.0067263776,
-0.015099559,
-0.011987447,
-0.019776193,
-0.031629555,
0.007944959,
0.0036315077,
-0.04628375,
0.012785996,
-0.052810732,
0.036872014,
-0.01690961,
0.011160917,
-0.009531572,
-0.022463627,
-0.0042508733,
0.008433076,
-0.0056329183,
-0.028602013,
-0.03429393,
-0.010799934,
-0.032580256,
-0.025645321,
0.03829542,
-0.028860718,
0.0009629727,
0.03585029,
-0.00016770652,
-0.057708718,
-0.002119668,
0.069798104,
-0.070355825,
-0.015369501,
0.10533094,
-0.0030549972,
0.0564329,
0.034485016,
-0.004004941,
-0.037931994,
0.022809424,
-0.00016679276,
0.012654526,
0.041837636,
-0.0030712709,
0.039182924,
-0.00830048,
-0.022628468,
0.011221337,
-0.034637813,
-0.062595606,
0.04490021,
-0.049528442,
0.03428887,
-0.012176619,
-0.037299607,
-0.024311263,
0.05791544,
0.02822909,
-0.020167438,
0.029815126,
-0.07001214,
-0.034782406,
-0.009817269,
0.041261077,
0.010265433,
0.0045510656,
0.002236059,
0.021417234,
0.029991688,
-0.028528407,
-0.0269427,
0.02089282,
0.05157602,
-0.026654387,
0.007929481,
0.031345576,
0.0011029862,
-0.021800676,
0.043480705,
0.0489139,
0.04388474,
0.015039343,
-0.0031589456,
0.027433619,
0.004043461,
-0.022695076,
0.00992084,
0.0071092304,
-0.002461396,
-0.0043727,
-0.011139551,
0.022141067,
0.007142116,
-0.0065288655,
-0.0035904362,
-0.031044658,
-0.023946375,
-0.034234766,
0.0035234694,
0.046968672,
0.047815353,
-0.009619093,
-0.019819958,
0.03604623,
0.0074489536,
0.015116172,
-0.0069982596,
-0.020968385,
-0.027844194,
-0.011060519,
0.05143162,
-0.011361998,
-0.017307535,
-0.017428553,
0.0044295085,
0.0033526768,
-0.025726799,
-0.082041584,
-0.036147367,
-0.043629266,
-0.018059624,
0.004257984,
-0.023165703,
0.0012521539,
0.029541647,
0.019140087,
0.027953852,
0.025493791,
-0.01007106,
0.017896483,
-0.024390982,
0.045896284,
0.018638847,
-0.02887628,
0.0032529256,
-0.012342678,
-0.033733852,
-0.02147386,
-0.038162343,
-0.03327006,
-0.03399216,
0.014377368,
-0.025491487,
-0.005795196,
0.013429306,
-0.006140167,
-0.039935477,
0.04075272,
-0.020361504,
0.003631168,
-0.048985433,
-0.008856297,
-0.0120481495,
0.029575786,
0.041695658,
-0.115616724,
0.000787231,
0.014352624,
-0.031457935,
-0.01566441,
-0.014977608,
0.009457292,
-0.0041810293,
-0.021331165,
-0.0016060631,
-0.037012774,
-0.11647967,
-0.00622293,
-0.03108724,
0.014460688,
0.034404516,
0.024188338,
0.06313337,
-0.013201768,
-0.002885194,
0.084768206,
0.02641265,
-0.04941458,
-0.035548065,
-0.012501686,
-0.016430862,
-0.010674781,
-0.012653082,
0.002084459,
-0.024729006,
0.0035558182,
0.07439638,
0.035574447,
-0.01926715,
-0.014842641,
0.00744147,
-0.05413262,
0.011751151,
-0.029252911,
-0.02019048,
-0.010776819
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"This is a test file 1"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
0.02677472,
0.030941864,
-0.15667002,
-0.031780418,
0.04867571,
-0.0033791913,
0.049326245,
0.012012352,
-0.06391863,
-0.04249666,
0.00068981014,
0.04591841,
-0.008739196,
0.016720219,
-0.067609966,
-0.041466355,
0.06252765,
-0.0649922,
-0.0067284633,
-0.051655296,
0.002644141,
-0.0265924,
-0.08702576,
-0.020829214,
0.13259922,
0.022176685,
-0.06337211,
0.04159582,
-0.09539463,
-0.016358294,
0.04016329,
-0.036466528,
0.017168593,
-0.03516334,
-0.01039418,
-0.027008642,
0.034716662,
0.029264757,
0.051574804,
0.021052886,
-0.030086013,
-0.008431019,
0.005019218,
-0.0084756585,
0.03013821,
0.0116420295,
0.003028769,
0.044338316,
0.0090234745,
0.0036121865,
0.011538475,
0.016290179,
-0.021363948,
0.027147356,
0.033906475,
-0.0024581468,
0.0056164716,
0.0058094794,
0.005620889,
-0.06036362,
0.028036552,
0.025600454,
-0.08135111,
0.035801444,
-0.0067440784,
-0.046113547,
-0.02807406,
0.003661052,
-0.012430463,
0.0020873228,
0.08872001,
-0.009109363,
0.037735496,
-0.019480282,
0.012832348,
-0.044004086,
0.016713593,
-0.05801747,
-0.05454108,
-0.010671951,
0.06357424,
0.041256018,
0.006753769,
0.039273124,
0.09383153,
-0.028998096,
-0.029756611,
-0.014342501,
0.0068585076,
0.03448338,
0.016225118,
0.032510933,
0.023643354,
-0.011663315,
-0.011949663,
0.00330939,
-0.007874707,
0.041300997,
-0.004358568,
0.0022590929,
0.037951183,
0.015898444,
0.018214239,
-0.027173964,
0.024746928,
0.012276953,
-0.01367648,
0.008671508,
-0.06825009,
-0.021046175,
0.0016031911,
0.024150291,
-0.01837417,
-0.025224004,
0.01370162,
-0.018997153,
0.0683272,
-0.025137793,
-0.027680213,
0.0023579404,
-0.0100643635,
-0.017681785,
0.026501093,
0.06962629,
0.02407538,
0.044663057,
-0.06258735,
0.031589016,
0.0054444023,
-0.038445998,
-0.011103176,
0.018960575,
0.015660487,
-0.03254055,
0.0063389805,
0.022507403,
0.008260846,
0.011190787,
-0.0584662,
-0.01714698,
-0.029933492,
-0.011147134,
0.026957288,
0.017541299,
0.045435984,
-0.02189894,
0.028393134,
0.022568539,
-0.019912273,
0.004163208,
0.05310164,
0.0054425374,
0.015139224,
0.013279267,
0.013352913,
-0.067840494,
0.018727032,
-0.0025276712,
0.023739405,
0.058409013,
0.00020074271,
-0.021957124,
-0.030850582,
0.028407453,
-0.04798452,
-0.04298271,
-0.0011377198,
0.086340934,
0.07840114,
-0.043920003,
-0.023557413,
-0.057167083,
-0.025218671,
-0.01597988,
-0.05411297,
-0.031483155,
0.008345011,
-0.022176268,
0.02113642,
-0.02282768,
0.03677377,
-0.010508491,
0.0033288135,
0.026623297,
-0.004048295,
-0.037441004,
-0.0025744867,
-0.029911317,
-0.062168434,
-0.0029332903,
-0.0032502622,
-0.016843956,
-0.08549612,
-0.065053545,
0.019302744,
-0.04867665,
0.009750192,
-0.03023908,
0.028217306,
-0.006924248,
-0.0024394055,
-0.011467278,
-0.044175033,
0.019444365,
-0.028506715,
-0.021438625,
-0.012606206,
-0.026894132,
-0.016626481,
0.0069388035,
0.038838085,
-0.019479796,
-0.035983875,
0.03431603,
0.04614581,
-0.034680493,
-0.011663218,
-0.023605734,
-0.03209827,
-0.023844607,
0.011276258,
0.004139838,
0.053763382,
-0.03409799,
0.0032689827,
-0.02396363,
-0.057935674,
-0.038371332,
-0.023447687,
-0.031385668,
-0.018287748,
-0.044453528,
0.02377194,
0.012135744,
-0.009930183,
-0.016578507,
-0.039125364,
0.061466772,
-0.022705417,
0.04646387,
-0.035661664,
0.038345434,
-0.0005845132,
-0.010868163,
-0.01060013,
0.0040302025,
-0.0118558565,
-0.030646877,
0.0533116,
0.016597895,
-0.03436539,
0.019076005,
0.02483633,
0.06013104,
0.022484452,
-0.025427299,
-0.0072121564,
-0.026703564,
0.03282846,
-0.04571629,
0.015076348,
-0.048033737,
0.033276133,
-0.015665406,
-0.047723766,
-0.009108103,
-0.029860225,
0.03182517,
-0.041550323,
-0.036280617,
-0.031786323,
0.01783114,
-0.006913253,
-0.019591128,
0.021890623,
-0.031703718,
0.0078716725,
0.025836864,
-0.0005880041,
0.03562437,
-0.018673368,
0.009600237,
-0.00935094,
0.016192332,
0.03760871,
0.0069485004,
0.04817525,
-0.0064135343,
0.026043655,
0.029696865,
-0.0013224413,
0.04269062,
-0.00679953,
0.022868425,
0.014577837,
0.0071318285,
0.043496303,
-0.014606047,
0.020026471,
0.012868925,
-0.020092357,
0.022813138,
0.031228691,
0.04425548,
0.025824796,
-0.03152757,
0.037171192,
-0.032706898,
0.018723806,
0.033394065,
-0.071654074,
0.0088635795,
-0.034078658,
0.011080322,
-0.03268721,
0.048777677,
0.0436117,
0.013546695,
0.0718868,
-0.030770509,
-0.0058506387,
-0.079712115,
-0.03594686,
0.012658708,
0.022816505,
0.023608902,
0.006517537,
0.05033326,
-0.027021125,
-0.057023942,
0.066532,
0.075727515,
-0.06389971,
-0.03971891,
0.03386855,
0.029042734,
0.03422356,
0.04849044,
0.0042680628,
0.050842173,
0.017980555,
0.030996732,
0.035001025,
0.0069434117,
0.0358752,
-0.054875866,
-0.015150956,
0.031092217,
-0.0034399196,
0.070562646,
0.0069639906,
0.0054792925,
0.02223838,
0.0026914217,
0.009320447,
0.02244507,
0.041254822,
-0.021905903,
0.03901841,
-0.019353095,
0.037697647,
-0.016234051,
-0.01608561,
-0.009650818,
0.018454565,
0.01104161,
-0.034111224,
0.016900366,
0.07328901,
0.022216577,
-0.017110962,
0.0017291801,
0.059564367,
0.063429825,
0.042016845,
0.042888366,
-0.07192681,
-0.009067923,
0.0035203802,
0.040294215,
0.05171481,
-0.027124982,
0.0279935,
0.033811912,
0.005924817,
-0.011665128,
0.02677691,
-0.010961608,
0.056075767,
-0.0005485002,
-0.016493188,
0.017960183,
-0.08018915,
0.04319475,
0.01101686,
0.004069606,
0.01761567,
-0.006804515,
-0.051012456,
-0.008975473,
-0.013591205,
-0.012144154,
-0.006747242,
0.015034424,
-0.020088369,
-0.010993353,
-0.029055284,
-0.04632503,
0.02037069,
0.0072794417,
0.027561164,
-0.024555583,
-0.018160552,
-0.060863115,
0.0025238637,
0.02512478,
0.03789586,
9.780039e-05,
0.014476756,
-0.0122205485,
0.0050459704,
0.045654777,
0.013759676,
-0.020127686,
-0.03688545,
-0.007382932,
0.05673287,
0.06865606,
-0.01697262,
-0.090259254,
-0.020050533,
0.013738292,
0.02862413,
-0.007093044,
-0.026896691,
0.07486323,
0.00048873055,
-0.009811599,
-0.033891942,
0.027395064,
0.041430663,
-0.054533545,
-0.046695188,
-0.010616897,
0.015102949,
0.11970185,
0.08717462,
-0.043464817,
-0.045438517,
-0.0114817945,
-0.005325696,
0.01819109,
-0.023513177,
0.024378385,
0.07168493,
-0.029713271,
0.05979157,
-0.01829654,
0.0001904544,
0.058861196,
-0.0046321996,
0.011134487,
0.07018605,
0.029077567,
0.011817007,
-0.016134005,
0.030316327,
-0.04006056,
0.005597001,
0.059321366,
-0.013946027,
-0.05688957,
-0.0043339822,
-0.044788774,
0.008737329,
0.018124318,
-0.033753995,
0.023969293,
-0.04449261,
0.019107156,
0.039316755,
0.0042485385,
-0.05196521,
-0.039233916,
0.022276755,
-0.006326326,
0.0291069,
0.014493599,
0.027650902,
0.02060159,
0.027770845,
0.01954406,
0.07653325,
0.038179148,
0.013047572,
-0.02158699,
-0.0040508728,
-0.032583926,
-0.008686103,
-0.0010159805,
0.019813929,
-0.005115707,
-0.004137538,
-0.014622748,
-0.017420044,
-0.01881557,
0.00931889,
-0.034724705,
-0.09951143,
-0.011822071,
-0.04854422,
-0.015294929,
0.0039790445,
0.034585405,
0.08652326,
0.0023226955,
0.024213148,
0.0017893966,
-0.030160772,
0.029798808,
0.029257255,
0.0032784669,
0.030667355,
-0.017075822,
-0.10480226,
0.04529026,
-0.004423777,
-0.02981933,
0.08506133,
0.0682494,
0.016473267,
0.01205411,
-0.012771412,
-0.006278446,
-0.008318219,
-0.0017349939,
-0.05944046,
-0.0042167106,
0.005693538,
0.061192214,
-0.06575179,
-0.017758716,
0.012685767,
-0.04639458,
0.0053697214,
-0.030077389,
-0.06816862,
0.041400295,
-0.008740166,
-0.065030985,
0.042985585,
-0.03953009,
-0.060726844,
-0.023447856,
0.026061086,
-0.038672224,
0.0051503615,
-0.047632433,
-0.020514932,
-0.038162023,
0.01833706,
0.0031224145,
0.00039451322,
-0.000566077,
0.023323203,
-0.039752666,
-0.011877217,
-0.0008356547,
0.00125655,
0.023844847,
0.011086396,
-0.029552136,
0.0025251193,
-0.030487081,
-0.031061137,
0.032155003,
0.016566968,
0.053850286,
-0.04559756,
-0.03642383,
0.042838383,
-0.0032927298,
0.010824938,
0.029298987,
-0.0074115107,
0.0031700858,
0.0066078096,
-0.015916385,
0.03645666,
-0.035837375,
-0.035440266,
-0.030025302,
0.00885319,
0.008420091,
-0.020215843,
0.0029321166,
0.0052278307,
-0.025063436,
-0.017041774,
-0.041332513,
0.000690702,
0.014622537,
-0.006039043,
-0.046511643,
-0.029145584,
0.004014528,
0.0453502,
0.015185325,
-0.0013534713,
0.0013212956,
0.06329815,
0.00826875,
-0.084322505,
0.007818475,
-0.015032623,
-0.036031403,
0.053299304,
-0.02831763,
0.019666553,
-0.040114563,
0.020928448,
-0.04364561,
0.06002298,
-0.029126104,
-0.0045929067,
-0.00978126,
-0.038711198,
0.0104036415,
0.059904993,
0.07693182,
-0.06093226,
0.030045735,
-0.054895446,
-0.053867023,
-0.062480137,
0.0057383482,
-0.046853792,
0.018467741,
0.05053984,
0.07668424,
0.045239978,
0.021200206,
-0.01079267,
-0.049778398,
0.009304062,
0.036618788,
0.0076110256,
0.057247672,
0.030699413,
-0.047606904,
0.0683096,
0.06861379,
0.035351373,
-0.022210274,
-0.003944419,
0.0056580836,
0.04339384,
-0.049750585,
-0.05994943,
-0.060973316,
-0.0027282985,
0.020575376,
-0.05612958,
0.008537348,
0.008136603,
0.022913344,
-0.0012014996,
-0.02416079,
0.0065704435,
-0.07728631,
0.023386426,
0.010133779,
0.06605594,
0.019532315,
-0.027425172,
0.031775128,
0.04229134,
0.068178356,
0.0013204314,
-0.037157394,
-0.06037113,
-0.038628187,
0.05820818,
0.032514967,
0.040428683,
-0.080996156,
-0.007889068,
-0.058997042,
-0.021176152,
0.008709909,
-0.006069547,
-0.018228978,
-0.016370406,
-0.04131083,
-0.0098481625,
-0.0014613796,
0.0708496,
0.003142781,
-0.017391587,
0.043653335,
0.008182604,
0.031963103,
0.0059576114,
0.04653211,
-0.03873794,
-0.02989591,
0.006415955,
0.007794782,
-0.053291507,
-0.04323005,
0.030573908,
0.027475277,
0.0054794485,
0.07692471,
-0.02822654,
0.008572378,
-0.014463476,
0.011854354,
-0.0035191758,
0.009788215,
0.09012054,
0.044467583,
-0.033448875,
0.011269375,
-0.0009373983,
-0.04293165,
0.0075986693,
-0.033926576,
0.056188893,
-0.05795038,
-0.044657208,
-0.038282998,
-0.030264413,
0.023192063,
-0.018675342,
0.0075905314,
0.0009921542,
-0.03609892,
0.009558043,
0.03299548,
0.0029710769,
0.050821364,
-0.017401243,
-0.016069688,
-0.04869947,
0.011516557,
-0.028773425,
0.027971322,
-0.004778359,
-0.005546814,
0.028500797,
-0.053007014,
0.011258761,
0.03242818,
-0.0041907816,
-0.018487912,
-0.03317324,
-0.0035926753,
0.08259465,
-0.06399537,
0.0023048194,
-0.032274384,
0.028794758,
0.009771137,
-0.012221115,
-0.050449286,
0.008639133,
-0.0530566
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 6,
"total_tokens": 6
}
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"Why are data structures important?"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 62390562,
"load_duration": 7773950,
"prompt_eval_count": 6,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
-0.005537617,
0.06916903,
-0.12838003,
-0.054435544,
0.056447886,
0.008134399,
0.016608594,
-0.0058921375,
-0.05313428,
-0.06688879,
-0.012568388,
0.012111721,
0.105235286,
-0.02263449,
-0.010177594,
0.004734975,
-0.09559581,
-0.028683644,
0.0058541177,
0.026188085,
-0.050520275,
-0.019500857,
0.012380506,
0.014395482,
0.026217962,
0.06190981,
0.035086054,
-0.060082465,
-0.024419608,
0.06066378,
0.067089684,
-0.0022413156,
0.034370266,
-0.03275908,
-0.067305505,
-0.07365294,
-0.03796381,
0.0417503,
-0.0022684042,
-0.03612435,
-0.0043627527,
0.026574299,
-0.043182738,
-0.016121855,
0.056617834,
0.0035644963,
-0.017357847,
-0.06226198,
0.06327364,
-0.02569844,
0.045180622,
-0.033916302,
0.009496644,
0.009232226,
0.08429605,
0.014245551,
0.011716481,
0.031536568,
0.034133475,
-0.07624963,
0.06845145,
0.11499776,
-0.059729222,
0.024138942,
0.00844043,
-0.042411502,
-0.04555276,
0.0042649447,
-0.022429703,
-0.016566431,
0.038463145,
0.035052773,
0.010468588,
-0.035637558,
-0.018009456,
0.019711006,
-0.0018164418,
0.032522537,
-0.017777992,
0.04281307,
0.022317935,
-0.014570032,
0.051814165,
-0.026104348,
0.0060721817,
0.027556803,
0.019301897,
-0.0051285815,
0.0008205784,
0.06784391,
0.01828999,
-0.05432422,
0.03350105,
0.04821869,
-0.07671481,
0.028927805,
-0.0010314987,
0.022229388,
0.015976572,
0.012268727,
-0.016980033,
-0.033225447,
-0.0055734343,
0.037711926,
-0.008497184,
-0.0026543527,
0.01817149,
0.04020671,
-0.021306094,
-0.01967103,
-0.011725487,
0.07116612,
-0.032191947,
0.0041820197,
-0.012287592,
-0.0072404016,
0.05748187,
-0.076893605,
-0.060935732,
-0.032886352,
-0.024913851,
-0.03082887,
0.063504435,
0.050499663,
-0.00953502,
-0.01911118,
-0.014248132,
0.03580008,
0.025308054,
-0.0325095,
-0.02384228,
-0.02893065,
-0.072714105,
0.0032379152,
0.023790393,
0.027730187,
-0.07713924,
-0.033023696,
0.05448288,
0.04441297,
-0.0064711664,
0.047980845,
-0.057779964,
-0.033249557,
0.01849176,
-0.0047658836,
0.048738167,
-0.015904685,
-0.012622784,
-0.047651224,
0.013510109,
0.044847924,
-0.0065332567,
0.002103977,
0.0020099503,
-0.018039443,
0.025205035,
-0.021093374,
0.017220857,
0.029184485,
0.07254293,
0.022945909,
-0.011227397,
0.015889527,
-0.019730859,
-0.055678956,
0.026581861,
-0.007958577,
-0.0010272287,
0.01225634,
-0.010440475,
0.0002531115,
0.029618198,
-0.020070892,
0.03952564,
-0.0366865,
0.016611397,
-0.050106328,
0.11184867,
-0.050924838,
-0.048765384,
-0.02001305,
0.015339066,
0.0011975868,
-0.03850111,
0.020021703,
0.017949995,
-0.017428664,
-0.036301896,
-0.02607759,
0.021941803,
0.023278212,
-0.05207313,
-0.0030109077,
-0.008161817,
-0.011174615,
-0.008302075,
0.04031461,
0.019276977,
6.670047e-05,
-0.047496844,
-0.019320603,
-0.049447358,
0.026393468,
-0.05767862,
0.034639597,
-0.05007041,
0.03539971,
-0.015521765,
-0.024580823,
0.078373216,
-0.025312,
0.005472163,
0.015624604,
-0.01967381,
-0.07519429,
-0.02425046,
-0.047324978,
-0.020606762,
0.03830516,
-0.026497133,
-0.040506646,
0.06618092,
0.025015803,
-0.010152689,
-0.03545153,
-0.015584423,
-0.041362796,
-0.031546146,
-0.04923727,
-0.045551375,
-0.0363703,
0.03561515,
0.021098793,
0.018805709,
0.043199193,
0.04211065,
-0.015707605,
0.06552865,
-0.0044345935,
0.0021636349,
0.021116879,
-0.00902372,
0.00016378232,
0.04089644,
0.017872045,
-0.01988177,
-0.04746276,
-0.056757454,
0.049944583,
-0.04814026,
-0.01789611,
0.012141169,
0.023749296,
0.03348697,
-0.035503488,
-0.012246897,
-0.030342635,
0.021760855,
0.03522958,
0.045006342,
-0.030662347,
-0.020959431,
-0.046091873,
-0.039962176,
0.012489674,
0.022059996,
-0.018306898,
0.0013366137,
-0.004929118,
0.0050332947,
-0.0047667488,
0.011198262,
0.039860554,
0.027264297,
0.015008899,
-0.01941151,
-0.009626869,
-0.07115547,
0.054735005,
-0.018833006,
-0.024569243,
-0.08668861,
-0.004703397,
-0.00011713481,
0.051200785,
0.015704084,
0.053649522,
0.0003241066,
0.0271382,
0.033410013,
0.03312349,
-0.023334617,
0.06006938,
0.085168265,
-0.03964656,
0.028949043,
0.027599309,
0.0029633555,
-0.076598294,
-0.027344286,
0.08765251,
0.05685523,
0.012457643,
-0.016720895,
0.010598825,
0.018684555,
-0.026163884,
-0.0641325,
0.008135987,
-0.008771646,
-0.010268096,
0.002454192,
0.027417758,
-0.039162852,
0.03689637,
0.0073473705,
0.02343153,
0.01239056,
-0.0034907598,
0.0015513701,
-0.02923274,
-0.03117261,
-0.073611975,
0.009902854,
0.06777297,
-0.015783794,
0.023278274,
-0.014756731,
-0.019437285,
0.050553747,
-0.035671428,
0.015629971,
-0.027602185,
-0.07591654,
0.025779493,
-0.0038342986,
-0.01145877,
-0.015992656,
0.0015020998,
-0.016934844,
-0.025619576,
-0.009407283,
-0.043661304,
0.010822514,
0.029804591,
-0.036958724,
-0.04009494,
0.034163192,
-0.014676856,
-0.05980947,
0.01648287,
-0.018298857,
0.008893675,
-0.018068943,
0.015715905,
0.01747,
0.011904428,
-0.028053667,
0.005223895,
0.0062146406,
0.0044294195,
-0.011228696,
-0.0069788555,
-0.033967305,
0.02371936,
-0.015039944,
0.003958914,
0.020385008,
0.02405812,
-0.028715689,
0.007755093,
-0.015563365,
0.03007783,
0.040063746,
-0.0033891802,
-0.06933125,
-0.019546062,
-0.008742925,
0.042390414,
0.059425294,
-0.007944469,
-0.008852406,
-0.041449193,
0.029817477,
-0.072902136,
0.005838279,
-0.0040887254,
-0.002960395,
0.016356403,
-0.0296515,
-0.05085301,
-0.029183367,
0.0092353765,
-0.0028603566,
-0.05293105,
-0.055138398,
0.055674743,
0.04991063,
-0.004752522,
-0.03616747,
-0.07279119,
-0.035633873,
-0.044298638,
-0.008577678,
0.04551653,
-0.00092662557,
-0.06565049,
-0.030902417,
-0.023554012,
0.0044309157,
0.025672494,
0.004166829,
-0.035677385,
-0.024446337,
0.013814578,
0.01186579,
0.006272616,
0.0036778871,
0.014971717,
0.053759076,
0.06549763,
0.0425127,
0.010884649,
0.043007683,
0.032144673,
0.09410879,
0.024780361,
-0.012006312,
-0.048107393,
0.008337757,
0.061457343,
0.019198485,
-0.003071099,
-0.0623972,
0.035353236,
0.018422177,
0.06360829,
-0.07275369,
0.068699665,
0.014621255,
-0.06763529,
-0.0032015769,
0.010275035,
0.032158606,
0.06903476,
-0.023221508,
-0.02270335,
-0.07228754,
0.086055666,
0.012974004,
0.021989947,
0.031505257,
-0.0057519623,
0.09631855,
-0.006373433,
-0.012076058,
-0.03971445,
0.028068455,
0.08778621,
-0.033523638,
-0.016415764,
-0.04628969,
0.016188512,
0.009353825,
-0.053086247,
0.00091402984,
-0.04855975,
0.0423367,
0.042704403,
-0.022618005,
0.027163865,
0.011552811,
-0.04381972,
0.034385473,
0.0620799,
-0.045087457,
-0.025685713,
0.052742172,
0.045610208,
-0.02660663,
-0.011890946,
-0.02272672,
-0.021724265,
0.030433476,
0.025457354,
-0.039997727,
-0.016979937,
0.039492138,
0.006640425,
0.017992454,
-0.010872081,
0.03414194,
0.049292207,
-0.025189904,
-0.03260604,
0.01796038,
0.0029543617,
-0.01690156,
-0.015726618,
0.009791458,
0.014492771,
-0.0050069783,
-0.03180184,
-0.010083302,
0.0038707403,
0.08266221,
-0.064660564,
-0.0023653912,
-0.07089886,
-0.01258373,
0.0047039823,
-0.0083789015,
0.045687698,
0.019797202,
-0.045586035,
0.0057957913,
0.023176257,
-0.03838602,
-0.014270414,
-0.04099639,
0.0012379282,
-0.0015666038,
0.0088998815,
-0.021020403,
0.029241446,
0.01820776,
-0.038560424,
-0.0011702153,
0.030556247,
0.045562882,
0.033868488,
-0.08029513,
-0.021785421,
0.0108429855,
-0.02909015,
-0.028360903,
0.06936639,
0.035676565,
0.0451092,
0.017205851,
0.025102865,
-0.047474638,
0.027446197,
0.019062418,
-0.059072465,
0.010990115,
-0.030562093,
-0.0099427,
-0.047363095,
-0.032277513,
0.019248549,
-0.024687845,
-0.017801417,
-0.0052152243,
-0.04685609,
0.011390218,
-0.009438653,
-0.013997598,
-0.03000924,
0.03206064,
0.05514924,
0.02972903,
0.050307427,
0.044194628,
0.019290293,
0.0118090175,
0.021541787,
0.025737246,
0.026711913,
0.015498265,
-0.029636372,
0.013573975,
0.022221401,
0.0008735981,
0.022813456,
-0.0019176906,
-0.028602915,
-0.032376897,
-0.047528483,
0.016405603,
-0.024236131,
0.04294928,
0.005900896,
0.042353947,
-0.0014653543,
-0.008895069,
-0.015182025,
0.039297402,
-0.034871247,
-0.031332478,
0.024921058,
0.0232865,
-0.012146839,
-0.0029081188,
0.009350526,
-0.020475931,
0.022899676,
0.01186137,
-0.09987264,
0.041012835,
0.036239758,
0.01880219,
0.011668417,
0.017341169,
0.038414557,
0.031070754,
-0.023524504,
-0.060313478,
-0.018000398,
0.040951964,
-0.015196476,
-0.048878703,
0.00782923,
0.019228062,
-0.046695173,
4.7787482e-05,
-0.011049097,
0.03390831,
-0.036429662,
0.013607421,
-0.0560462,
0.015323739,
-0.00559296,
0.027539497,
0.0064943545,
-0.062197395,
-0.0028299761,
0.015416633,
0.05422369,
-0.042707294,
0.089026414,
-0.08670881,
0.011689654,
-0.03121042,
0.003483503,
0.020848976,
0.029173227,
-0.013282394,
0.0068931505,
-0.004062615,
-0.016197648,
0.014108349,
0.034350544,
0.044643115,
-0.014521838,
0.06435053,
0.0574463,
0.054429315,
-0.032793697,
0.02582998,
0.053711463,
0.011061972,
-0.013604729,
0.02121133,
-0.057042196,
0.0028744196,
-0.022992328,
-0.025962546,
-0.017927067,
-0.0004939514,
0.0099513745,
-0.0111832945,
-0.04353563,
0.02352363,
-0.0008495444,
0.03614839,
0.008389351,
-0.012561091,
0.04550447,
0.017013015,
0.021661162,
0.044357948,
-0.05921587,
0.06603663,
0.032545485,
0.015602304,
-0.056643166,
-0.048982896,
-0.008270888,
0.036372244,
0.013537032,
0.04801237,
-0.0032966547,
-0.027335804,
0.034285758,
-0.010672268,
-0.04469174,
-0.00999756,
-0.023212576,
-0.009087137,
-0.05068745,
-0.018782021,
-0.05753603,
-0.0069712996,
0.020699542,
0.00032780186,
0.0047878637,
0.006886393,
0.016783845,
0.008328246,
-0.0280518,
0.02498479,
0.015793705,
0.028757732,
0.013403357,
0.04407358,
0.006855516,
-0.013155722,
0.025201587,
0.020770911,
-0.027199224,
0.04747331,
0.012809781,
0.019121533,
-0.0063016945,
-0.0012925717,
-0.041240938,
-0.070435,
0.02647094,
0.011080568,
-0.053764027,
-0.04201665,
0.014704289,
-0.009153089,
0.010357686,
0.014867435,
0.0058372235,
0.015002229,
0.0056983153,
-0.04907009,
-0.022335714,
-0.021442257,
0.011397501,
-0.059680413,
0.026818616,
-0.03358469,
0.034330584,
-0.061704513,
-0.0024871114,
-0.025597772,
0.04292534,
-0.022126105,
0.00750423,
-0.025951544,
-0.032138623,
-0.016191538,
0.05478396,
0.027236123,
0.017630614,
-0.053576928,
-0.009819819,
-0.021186193,
0.011438662,
-0.055087693,
0.051182102,
-0.020695793,
0.01615491,
0.09019232,
0.035558622,
0.027603673,
0.03298624,
0.05157328,
0.030370139,
-0.009578387,
-0.010058735,
-0.024157599,
0.018072752
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"Python is a high-level programming language with code readability and fewer lines than C++ or Java"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
0.011557126,
0.08892394,
-0.13147448,
-0.0792572,
0.065890595,
0.026295988,
-0.04334166,
0.0010298628,
-0.024186691,
-0.061305195,
-0.0037061102,
0.027842576,
0.048056785,
-0.029355137,
0.011502603,
-0.08920312,
0.020689912,
-0.05041785,
0.009142819,
0.05800451,
-0.021363098,
-0.045512337,
0.00770782,
-0.029389612,
0.07064698,
0.0073899617,
-0.020282878,
-0.03901249,
-0.012697239,
0.020123877,
-0.029104304,
-0.02132515,
0.019676689,
-0.0319787,
-0.052068137,
-0.051373158,
0.058968104,
0.010993021,
0.05850753,
0.009625688,
-0.02666027,
0.007959006,
0.027892644,
-0.033240523,
0.07657526,
-0.047800407,
0.031222135,
-0.040356517,
-0.016421411,
-0.03548535,
-0.018630605,
-0.064128965,
-0.04826212,
-0.0014796787,
0.08527489,
0.046953123,
0.0037362278,
0.026471158,
0.030585019,
-0.031568848,
0.091724776,
0.07365734,
-0.06830473,
0.06646891,
0.041374654,
-0.0001367048,
-0.03282893,
0.033695906,
-0.011825963,
-0.024943104,
0.014928987,
-0.08393527,
0.03412369,
-0.021248052,
-0.049541574,
-0.019383991,
-0.017241223,
-0.03434543,
0.0115342075,
0.049666118,
-0.004444174,
-0.007481858,
-0.008234937,
0.048203256,
0.048789576,
-0.049107544,
-0.040390372,
0.008659905,
-0.023166431,
0.058200873,
-0.0583748,
-0.000774012,
0.031079123,
-0.0013975751,
-0.062984966,
0.026474494,
-0.014201651,
0.013752303,
0.02989533,
-0.035404056,
-0.00077836704,
-0.017972525,
0.040537495,
-0.05028578,
0.04720556,
0.048908547,
0.023071883,
-0.036023185,
-0.056380223,
-0.019569729,
0.0106305275,
0.04587646,
-0.048894,
-0.032556523,
-0.047799245,
0.019935073,
0.09361204,
-0.03271287,
0.05422298,
0.058667492,
0.013997644,
-0.014893106,
0.046621874,
0.06300757,
0.024953056,
0.019029543,
-0.05970721,
0.06693432,
-0.004620253,
-0.056816284,
0.02873945,
0.010324507,
-0.04168707,
-0.007033786,
-0.029394975,
0.07278015,
-0.06158679,
-0.025879694,
0.06519054,
0.006713395,
0.037004314,
0.021532713,
-0.012664399,
-0.011989997,
0.03973578,
-0.022290852,
0.015724065,
0.03266145,
0.010981767,
0.023235675,
0.03478289,
0.04186592,
0.0019377003,
0.013916697,
-0.020062966,
-0.0081066275,
0.03417283,
0.0024519847,
0.045522388,
0.011457753,
0.06536582,
0.03139709,
-0.05557069,
0.039484527,
-0.021274887,
-0.02653,
0.0067004445,
-0.008072626,
-0.03177063,
0.00046728624,
-0.04322399,
-0.040706553,
0.008391595,
0.0020356984,
0.006432252,
-0.019744607,
0.014601653,
-0.039553728,
0.045713928,
-0.011170701,
-0.0083631035,
-0.043347035,
0.046810567,
0.043755174,
-0.046197906,
0.016218957,
0.016179234,
-0.045832627,
-0.0055016815,
-0.019054761,
-0.017474383,
0.032100543,
-0.026322378,
-0.051555254,
-0.016726382,
-0.015041518,
0.0102808885,
0.0051743593,
0.035969574,
-0.067536004,
-0.038275033,
-0.03679325,
-0.05450561,
0.015772747,
-0.043960985,
0.0331952,
-0.017452657,
0.008380662,
-0.042032264,
0.010612911,
0.060454395,
0.0042942413,
-0.025214482,
0.048847046,
0.0037797762,
-0.045026667,
-0.024150297,
-0.005702741,
-0.005443113,
0.021057181,
0.058455467,
-0.02945097,
0.0037802076,
-0.0057663973,
0.019874914,
0.016628392,
-0.057533164,
0.014946201,
-0.036932662,
0.01456736,
-0.0055016675,
-0.038704894,
0.034160424,
0.014926911,
0.010589241,
0.045635827,
0.03605639,
0.04646815,
-0.0024088172,
-0.015340576,
0.003059377,
0.0100331325,
-0.014769657,
0.029485064,
-0.04103946,
0.022916067,
-0.0057299132,
-0.037125785,
-0.0010550745,
0.035801925,
-0.017344235,
-0.018403523,
0.012977465,
0.052635394,
0.036226347,
0.029640516,
0.05642735,
0.01230663,
0.013503122,
-0.007773811,
0.04728074,
-0.049816664,
-0.027990092,
-0.025045637,
-0.019563606,
0.023774184,
-0.0075205374,
0.009900723,
0.0041686115,
-0.034811273,
0.019133769,
0.025379432,
0.016375175,
-0.045447674,
-0.007692546,
-0.016828276,
0.018186405,
-0.052859344,
0.0061186603,
0.007953541,
0.039061867,
-0.03126752,
-0.043194674,
0.023931671,
-0.0018714335,
0.034061145,
0.037229247,
0.0013386831,
0.008765901,
-0.017777223,
0.06644592,
-0.018512478,
-0.040588014,
-0.0367067,
-0.009368586,
0.040843204,
0.08362668,
0.015602838,
0.019367447,
-0.028074175,
-0.024404656,
0.049924117,
0.08111918,
0.034224797,
0.027637525,
-0.024064336,
0.033979405,
-0.004346199,
-0.019001588,
-0.009155255,
-0.049106613,
0.044884164,
-0.045549884,
0.072365075,
-0.076751046,
0.022451403,
0.015419037,
0.029103253,
0.0424017,
-0.02268247,
0.0036817328,
-0.08617424,
0.03747327,
-0.03109796,
-0.006781036,
0.040302914,
-0.017739493,
0.021955442,
-0.027020577,
-0.04999901,
0.008235461,
0.012049333,
0.015059736,
-0.015569347,
-0.0673338,
-0.00643027,
0.03759625,
-0.0179472,
0.018759143,
0.0052616196,
0.033786774,
-0.034821797,
0.014343633,
-0.047459513,
0.0043664505,
2.5627007e-05,
0.026439719,
-0.044049963,
0.031020463,
0.030657828,
-0.009323223,
0.037013505,
-0.025758358,
-0.024887314,
-0.011270054,
-0.041474745,
0.019310294,
0.0011024544,
-0.005454549,
0.002651939,
0.040140755,
-0.0069176625,
0.03045878,
-0.057257455,
0.0048649283,
0.0028171341,
0.01826848,
-0.011686021,
-0.0158002,
-0.011415074,
-0.033500336,
-0.051060047,
-0.0029325655,
0.009850689,
0.010261892,
-0.022167895,
-0.0640473,
-0.02997751,
-0.0160468,
-0.0022461032,
0.026039336,
-0.05372245,
-0.04574912,
0.002790696,
0.025420336,
-0.061131295,
-0.012506317,
-0.017947268,
0.019549767,
0.025052082,
0.03297822,
-0.042918008,
-0.035579346,
0.03235244,
0.03738982,
-0.027811272,
0.04052594,
0.017624708,
-0.053237263,
-0.0063801142,
-0.044265255,
-0.06999688,
0.020068917,
-0.00801687,
-0.027488183,
0.008686469,
0.0050501106,
-0.028645646,
0.015814204,
-0.012092834,
-0.0058374405,
0.017652985,
0.01959121,
-0.017798975,
-0.012843007,
0.051205624,
0.02021432,
0.032918092,
-0.049718916,
0.009038444,
0.026136613,
0.060309168,
-0.017714394,
0.0112562105,
0.018229656,
0.020996246,
0.026349818,
0.06219288,
0.010293834,
-0.06546572,
0.010255495,
0.034876317,
0.021017957,
0.027070528,
-0.0038368,
0.004326977,
0.03378617,
0.008252642,
-0.022182003,
0.058003604,
0.026550923,
-0.019564848,
-0.064631656,
0.011902395,
0.024833336,
0.0652609,
0.07589547,
-0.017458007,
-0.08696966,
0.008860995,
-0.0053550266,
0.006087242,
0.0063039674,
0.0060833488,
0.0381147,
-0.001294121,
-0.0135432705,
0.016211335,
-0.0146187665,
0.056326453,
-0.0011565195,
0.01397653,
-0.053192534,
0.02894224,
0.006356199,
0.001186589,
-0.009514634,
-0.004633253,
-0.0070047155,
0.055920232,
-0.013048077,
0.02954183,
0.023952512,
-0.013343018,
-0.015629295,
-0.03516807,
-0.004019186,
0.028893527,
0.023379525,
0.016633766,
-0.013841866,
-0.030586133,
-0.045894958,
-0.0021802443,
0.0006109717,
0.021148156,
-0.008622185,
0.0047762725,
-0.01414041,
-0.037099093,
0.027606327,
0.04241482,
0.048193768,
0.018464876,
-0.02579716,
-0.05250892,
-0.020628382,
0.07900275,
0.085209616,
0.02892667,
0.026882106,
0.017524293,
-0.014835544,
0.0016937581,
0.057552505,
-0.03147941,
0.061189078,
-0.047112588,
-0.037290405,
0.018539796,
0.019710671,
-0.0024931969,
-0.00596894,
0.054234043,
0.057404887,
-0.03560792,
0.032123867,
-0.022818599,
-0.086804174,
0.025958741,
0.021054598,
-0.028727371,
0.000463902,
-0.024310028,
-0.043664996,
0.03522004,
0.009144301,
-0.013915906,
0.0057520396,
-0.019576883,
0.04502464,
-0.004478288,
-0.037860934,
-0.012699236,
-0.05788857,
-0.04745299,
-0.070464626,
0.05817358,
0.023883931,
0.0024581582,
0.059889067,
0.045695264,
0.0037332173,
0.021131797,
0.06560138,
0.0023412737,
-0.02676801,
0.00038131056,
0.0022107735,
-0.06042925,
0.039956786,
-0.049798425,
-0.003288984,
-0.033328265,
0.017609805,
-0.026198154,
-0.0040150904,
-0.029295787,
0.008755333,
-0.04629882,
-0.031169664,
0.033672146,
0.033714358,
0.016816052,
0.033680826,
0.012520837,
-0.035628457,
-0.01798642,
-0.0009956214,
0.048309542,
-0.051357727,
-0.05573982,
0.016425664,
0.020040127,
0.014249897,
0.004329796,
0.016249748,
-0.00982161,
-0.04717543,
-0.027636595,
0.055419844,
-0.03187375,
-0.015984276,
0.048602853,
-0.037440695,
-0.018481957,
-0.015414445,
0.004916519,
-0.017704893,
-0.015503878,
-0.009356152,
-0.0070662675,
-0.029868225,
-0.012311856,
0.005188979,
0.025733948,
-0.06727631,
-0.042646967,
-0.014710957,
-0.05489504,
0.004705957,
0.003904724,
0.03289607,
-0.05250142,
0.0352709,
0.09377531,
-0.02948276,
0.046700116,
-0.042824022,
-0.023567092,
0.04080416,
0.026785009,
-0.014150208,
0.005923045,
0.0075178053,
-0.061564047,
0.03861459,
0.0018461313,
0.00095382845,
-0.035280835,
-0.025233697,
-0.058119975,
0.063386954,
-0.032503743,
0.042988002,
0.005414229,
-0.025593583,
0.029269412,
0.060435142,
0.066865355,
-0.063019335,
0.004272464,
-0.0346255,
0.018139038,
-0.014181442,
-0.0008705534,
-0.045287393,
-0.0006308246,
0.046440322,
0.096813954,
0.017797446,
-0.04743452,
0.042593338,
-0.00073605764,
0.006244172,
-0.033941437,
0.04011792,
0.06588377,
0.010052645,
-0.0447952,
0.059537765,
0.055639822,
-0.002279702,
0.007896721,
0.0036817465,
0.002901278,
0.06751853,
-0.009877004,
-0.052958783,
-0.009619705,
0.002053818,
-0.00067359314,
-0.036477964,
0.05465418,
0.03790339,
0.056698803,
-0.00789209,
0.001020594,
-0.09499969,
-0.0072677433,
0.024326356,
-0.012381719,
-0.004179389,
-0.022411205,
0.0036065148,
0.05360915,
-0.0023346106,
-0.016937694,
-0.04084911,
-0.0211033,
0.01134296,
-0.016840348,
-0.0070172576,
-0.022640472,
0.023606194,
-0.05781559,
0.025400722,
-0.06222999,
-0.05046368,
-0.06848066,
-0.02486468,
-0.030757235,
0.017417619,
-0.04463039,
0.029367097,
-0.001653177,
-0.022308594,
-0.020363426,
0.0008588756,
0.047290504,
-0.023194114,
0.01766358,
0.03733048,
0.048220653,
-0.03083361,
0.0162946,
0.026442321,
0.04981811,
-0.040909138,
-0.054648165,
-0.037300818,
0.035325762,
0.027102185,
0.07245622,
0.000246192,
0.036936812,
-0.042592887,
-0.07024627,
-0.05159698,
-0.007224336,
0.057378702,
-0.018556487,
-0.020251743,
0.0012896575,
-0.007677641,
-0.005288208,
0.011475763,
-0.053648114,
0.033123367,
0.014579115,
0.022258135,
0.023114482,
-0.05643538,
0.050888978,
-0.042348027,
0.014964872,
-0.031256832,
-0.025995448,
-0.07851629,
0.008994343,
0.020894323,
0.049689434,
-0.0064060683,
0.046663523,
0.0012374276,
-0.03851352,
-0.035200756,
0.040518522,
0.042325754,
-0.045789346,
-0.0051824353,
-0.007612942,
-0.043321237,
0.076782405,
-0.009590438,
0.010796445,
0.0048157666,
0.072268836,
0.06292032,
-0.00017066921,
0.016187245,
-0.0050619636,
0.014120894,
-0.023967084,
-0.044629317,
-0.0070955916,
-0.057420436,
-0.03199656
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 21,
"total_tokens": 21
}
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"This is a test file 2"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
0.0518073,
0.0010201389,
-0.15081531,
-0.017210446,
0.03324097,
-0.012278174,
0.035831228,
-0.016239444,
-0.07433285,
-0.06548819,
-0.0063088043,
0.06418973,
-0.0002688668,
-0.02611444,
-0.026851593,
-0.03376629,
0.087979764,
-0.046465684,
-0.0025485174,
-0.038767867,
-0.0014130849,
-0.02870626,
-0.05659465,
-0.018204536,
0.12270126,
0.041236572,
-0.022275478,
0.053162746,
-0.09066273,
-0.013798052,
0.044846434,
-0.021654893,
0.02569155,
-0.06533193,
-0.024793914,
-0.039712496,
0.04075478,
0.023921851,
0.023468256,
0.026541308,
-0.024414636,
-0.0094845835,
-0.008743722,
-0.012791804,
0.0009930959,
-0.01516683,
-0.0039158207,
0.0693149,
-0.022308426,
-0.035393372,
0.014115816,
0.016294051,
-0.003358105,
0.03683153,
0.037739463,
-0.022638476,
-0.017140111,
-0.006703055,
0.01898623,
-0.058058273,
0.034402825,
0.029955879,
-0.04684569,
0.06175866,
-0.013147739,
-0.069114,
-0.043503292,
0.015345721,
-0.015778558,
0.017770069,
0.08166245,
-0.0024934956,
0.028075451,
-0.03573029,
0.011466233,
-0.06783725,
0.009887019,
-0.04835829,
-0.055018567,
0.0048491005,
0.04243901,
0.054859485,
-0.0070056417,
0.028302751,
0.07433947,
-0.028365187,
-0.050828252,
0.0032291873,
-0.0005638034,
0.041109215,
0.026256418,
0.053389173,
0.05735847,
-0.017186783,
-0.028030226,
0.026927246,
0.02503298,
0.06252999,
-0.027278252,
0.016127381,
0.0077106496,
0.012165294,
0.034783326,
0.015691724,
0.03894614,
0.02554248,
0.0011276314,
0.0341213,
-0.04115421,
6.8556794e-05,
-0.013532567,
0.03498042,
-0.03172835,
0.005989489,
0.011450762,
-0.02557995,
0.041775398,
-0.043834005,
-0.031456877,
0.019346954,
0.021208571,
-0.03245653,
0.024872687,
0.06545696,
0.054665085,
0.025757158,
-0.07523024,
0.024269538,
0.009706046,
-0.053670295,
-0.01415065,
0.006299825,
0.018069206,
-0.013896289,
0.012415045,
0.030759554,
-0.0040025846,
-0.0046195737,
-0.065655604,
-0.03303291,
-0.04152514,
-0.019559981,
0.043035954,
0.03867079,
0.022152541,
-0.014021561,
0.04706965,
0.02360881,
-0.017735034,
-0.005224425,
0.01976457,
-0.01754635,
0.014107968,
0.0053651235,
0.021217259,
-0.049550448,
0.002760891,
-0.026372205,
0.047114056,
0.07466567,
0.019247074,
-0.01774969,
-0.025349228,
0.00082147314,
-0.045859877,
-0.0046551074,
0.005028807,
0.089756206,
0.06082725,
-0.009663759,
-0.023579452,
-0.03698413,
0.003874013,
0.0023434018,
-0.036628436,
-0.03159626,
-0.011212406,
-0.022765977,
0.038825814,
-0.00831775,
0.020946115,
-0.011611206,
-0.016268328,
0.040347904,
0.008693733,
-0.047099218,
0.02002701,
-0.022033876,
-0.053060107,
-0.009352045,
-0.003967959,
-0.0126540605,
-0.0841668,
-0.043212276,
0.0004026412,
-0.027901677,
0.012515607,
-0.012753008,
0.006164207,
0.00891821,
0.01636955,
-0.01603681,
-0.063070334,
0.026292339,
-0.018317461,
0.01573192,
-0.03973865,
-0.024929507,
-0.029032838,
0.029473128,
0.0434744,
0.00291016,
-0.018685255,
0.041574344,
0.04272903,
-0.024241446,
-0.009556914,
-0.024059588,
-0.045914814,
-0.02186824,
0.019198095,
-0.0043179505,
0.071447514,
-0.039269872,
0.02906418,
-0.01242017,
-0.06243736,
-0.020753596,
-0.028863901,
-0.017369477,
0.008473857,
-0.09169524,
0.008264508,
0.0041049724,
-0.024937812,
-0.019033646,
-0.06999835,
0.07904775,
0.0064784843,
0.044264942,
-0.018035788,
0.07508932,
0.017397275,
0.00807988,
-0.0036497228,
-0.0013610445,
-0.010553328,
-0.033583775,
0.07032539,
0.049025573,
-0.025022866,
0.00995728,
-0.008374078,
0.06402944,
0.013544464,
-0.003180504,
-0.01620642,
-0.009111576,
0.00387079,
-0.055351496,
0.010248992,
-0.05543762,
0.033915125,
0.0015371041,
-0.031560425,
-0.000532945,
-0.026227973,
0.03899258,
-0.031105928,
-0.019636609,
-0.008401919,
0.015481411,
-0.038934294,
-0.0070636785,
0.027539046,
-0.01950276,
0.041085195,
0.00814604,
-0.003156946,
0.044425063,
-0.017681085,
-0.007984986,
0.023291066,
0.046486195,
0.034732956,
0.010211254,
0.003196815,
0.006682472,
0.0360433,
0.029136589,
0.0014801485,
0.035166625,
-0.006373666,
0.027199954,
0.019638686,
0.0032696575,
0.01885095,
-0.005334637,
-0.006241187,
-0.009805942,
0.021487935,
0.021146065,
0.035899747,
0.006424509,
0.025738493,
-0.06995631,
0.023739127,
-0.03277142,
0.046314634,
0.022087835,
-0.061329857,
-0.0039001384,
-0.020769935,
0.01746393,
-0.02549137,
0.03362779,
0.0317282,
0.03075153,
0.07449812,
-0.0086258855,
-0.004027018,
-0.06420975,
-0.0149954185,
0.023091443,
0.020383276,
0.014100246,
0.004734427,
0.051168155,
-0.031068264,
-0.060796168,
0.064657815,
0.07968337,
-0.08594699,
-0.041634988,
0.045737505,
0.022753956,
0.041157354,
0.054831132,
-0.0010116883,
0.054877132,
0.06938806,
0.01108219,
0.023083402,
0.008490204,
0.012287494,
-0.06124392,
-0.041947756,
0.014624511,
-0.009038671,
0.04707133,
0.002627279,
0.0023568,
0.013816829,
0.014921519,
0.017224109,
0.008158233,
0.005132898,
-0.0517318,
0.025385384,
-0.026867563,
0.024517154,
-0.026169479,
-1.0788856e-05,
-0.019340273,
0.02485189,
-0.010546728,
-0.011179942,
0.0036357814,
0.06956026,
0.0012153256,
-0.010687229,
-0.0020465027,
0.040200476,
0.06397282,
0.05608305,
0.022595122,
-0.06268106,
-0.017802112,
-0.019437864,
0.050174695,
0.06855139,
-0.037958544,
0.042239644,
0.056018107,
0.021455817,
-0.062647,
0.03332952,
-0.0063562966,
0.05425424,
0.0071717533,
-0.04426852,
0.033511095,
-0.08662086,
-0.020464486,
-0.004274559,
-0.016570747,
0.040416714,
0.028066633,
-0.043111462,
0.0060365517,
-0.041027054,
-0.017046396,
0.0012071705,
0.01177528,
-0.039359704,
0.02101396,
-0.043571904,
-0.039560378,
0.03927173,
0.0036623995,
0.039583426,
-0.024666918,
-0.01805242,
-0.06843546,
0.01661221,
-0.0045327474,
0.027649578,
0.026967617,
-0.020697452,
0.002486093,
0.002453032,
0.046593424,
0.0166357,
-0.031856135,
-0.03569532,
0.014479858,
0.049183413,
0.04488343,
-0.0032962444,
-0.09943959,
0.011094852,
0.0031866087,
0.028093586,
0.007583973,
-0.022803523,
0.04123381,
-0.022179771,
-0.012936535,
-0.034381445,
0.040327903,
0.030039202,
-0.07468237,
-0.041690223,
0.010944432,
0.009045665,
0.12434281,
0.09976505,
-0.05484964,
-0.033184122,
0.021026244,
-0.011662353,
0.011800979,
0.03745133,
0.02052578,
0.07041249,
-0.021840515,
0.03271515,
-0.01502315,
-0.028943837,
0.016294912,
-0.004833792,
-0.0078789005,
0.041969508,
0.009501793,
0.03697955,
-0.018664706,
-0.023258584,
-0.034372587,
0.008393105,
0.042333856,
-0.043618985,
-0.07011302,
0.009994519,
-0.044499427,
0.026003025,
0.0024550846,
-0.026669499,
0.028024236,
-0.012274569,
0.013386124,
0.036214985,
-0.0011079751,
-0.024785483,
-0.036007743,
0.042518217,
-0.02265144,
0.014955647,
0.023031686,
0.053792063,
0.0011540087,
0.050179027,
0.030224139,
0.038181726,
0.034439612,
-0.016641675,
-0.003856012,
1.068547e-05,
-0.04403419,
0.00054582104,
-0.007281281,
0.033452608,
0.0014973881,
0.017222364,
-0.01603757,
-0.01040989,
-0.028651109,
0.06121139,
-0.055078756,
-0.096628465,
-0.002260051,
-0.05279029,
-0.030501377,
0.013785583,
0.008349415,
0.09239852,
0.01874297,
0.05483006,
0.0026323453,
-0.017260224,
0.03311197,
0.03238429,
-0.0026979072,
0.04409992,
-0.020898808,
-0.09082286,
0.046773914,
-0.005878021,
-0.021119023,
0.072557636,
0.061893012,
0.024324443,
-0.014973251,
-0.026727935,
-0.014804994,
-0.011190145,
-0.028516283,
-0.038306367,
0.0041472083,
-0.02614154,
0.051748727,
-0.055480637,
-0.024979297,
0.0031963238,
-0.0362827,
0.025498725,
-0.027630508,
-0.034413245,
0.013399353,
0.0116100125,
-0.072537504,
0.019533362,
-0.064198576,
-0.03579028,
0.0003663873,
0.028052792,
-0.052979812,
-0.0018449351,
-0.013587079,
-0.001517831,
-0.03511525,
0.028222794,
-0.01211173,
-0.014734837,
0.008201055,
0.03338795,
-0.052265007,
-0.017206438,
0.05580251,
0.0048411214,
0.0062374566,
0.01784519,
-0.002350663,
0.020619694,
-0.009189246,
-0.018759534,
0.011767308,
0.031417068,
0.0626111,
-0.012927245,
-0.042083666,
0.027794756,
0.00470954,
0.020324292,
0.04444163,
-0.011997522,
0.040414978,
0.027978305,
-0.015464424,
0.038533714,
-0.047363088,
-0.024187788,
-0.024606729,
-0.0076063466,
-0.0144878775,
0.0028358484,
-0.0032340765,
-0.026778674,
-0.029158974,
-0.008863447,
-0.0076498087,
-0.0037319672,
0.014952378,
0.0030388746,
-0.035688728,
-0.029866442,
-0.0048337597,
0.006716691,
0.018666843,
-0.009498882,
-0.00258121,
0.009065711,
-0.01824809,
-0.06896444,
0.024227953,
-0.008177755,
-0.063481495,
0.047468998,
-0.03776145,
-0.0073783873,
-0.043710724,
0.03432339,
-0.045865484,
0.025779175,
-0.063083775,
-0.009317559,
-0.02079715,
-0.020005565,
0.022028266,
0.068597026,
0.06421791,
-0.049883164,
0.014131581,
-0.045583025,
-0.046132464,
-0.064344056,
-0.0063566314,
-0.04713416,
0.00067015504,
0.03268965,
0.059540473,
0.023155268,
0.042139433,
-0.052683555,
-0.04094773,
0.011877403,
0.030549755,
0.004629504,
0.034182925,
0.014167011,
-0.025005354,
0.057522587,
0.08755116,
0.047980495,
-0.009723938,
-0.023917975,
0.010465336,
0.04648379,
-0.040778402,
-0.043506928,
-0.079935044,
0.0044612624,
0.028476233,
-0.043194633,
0.009701826,
0.015308486,
0.034481127,
-0.02366641,
-0.042903576,
-0.009659404,
-0.06976849,
0.02662171,
0.029191472,
0.031694062,
0.016596133,
-0.032401573,
0.032910023,
0.050545897,
0.06263789,
-0.00013478643,
-0.0346917,
-0.009615844,
-0.052368507,
0.06640802,
-0.0026492607,
0.028127676,
-0.058001418,
0.0005788803,
-0.061629083,
-0.03182085,
0.009378478,
-0.011405891,
0.012077861,
-0.033154313,
-0.057398487,
-0.034032557,
0.012947985,
0.049807962,
-0.012348293,
-0.005070641,
0.035578866,
0.024860732,
0.032911874,
-0.00015378043,
0.043805376,
-0.03322777,
-0.015281486,
0.03736166,
0.011508478,
-0.06268994,
-0.07534555,
0.02949766,
0.009523069,
-0.0146890925,
0.077915736,
-0.034247685,
0.0066743395,
-0.012805991,
0.023958376,
0.01175659,
0.0009095987,
0.05708267,
0.026331235,
-0.053375654,
0.021397565,
-0.0025518986,
-0.044669233,
0.01452359,
-0.032436114,
0.03629569,
-0.043836568,
-0.04096408,
-0.020194324,
-0.01579229,
-0.001066902,
-0.017151969,
-2.1417989e-05,
-0.009679303,
-0.021090114,
-0.0010899843,
-0.000600503,
0.016321465,
0.037450958,
-0.019159183,
-0.0036072878,
-0.064109445,
-0.005406092,
-0.039139416,
0.019720713,
0.01862705,
0.0006616486,
0.012612519,
-0.039391875,
0.0022171875,
0.010934418,
0.0148258405,
-0.047636658,
-0.012358777,
-0.003677973,
0.079556145,
-0.026134754,
-0.008233534,
-0.018380543,
0.013874316,
0.0023595833,
-0.010961944,
-0.08567243,
-0.00023827382,
-0.03803841
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 6,
"total_tokens": 6
}
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"This is a test file 0"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
0.06572662,
0.0075925887,
-0.13352244,
-0.030863922,
0.06885099,
0.0022088774,
0.030472014,
0.02933192,
-0.041948833,
-0.08528541,
-0.030369252,
0.038028613,
0.025812829,
0.0029451817,
-0.028352464,
-0.0274709,
0.03622627,
-0.041572914,
0.005504542,
-0.020094454,
0.036786217,
-0.029105002,
-0.06820122,
-0.006684911,
0.12236047,
-0.00085475645,
-0.022570169,
0.051932808,
-0.079891734,
-0.03291606,
0.06524798,
0.001277363,
-0.002306575,
-0.0292008,
-0.012376331,
-0.026185278,
0.021888476,
0.0371126,
0.034353733,
0.008248169,
-0.016724534,
-0.025303185,
0.0068543684,
-0.0034133182,
0.02024377,
0.03329302,
0.012171552,
0.07609977,
-0.019937078,
0.01280936,
0.0072225938,
-0.022847727,
-0.0030072515,
0.01192306,
0.024250273,
-0.01443248,
-0.035678312,
-0.0005066236,
-0.021526996,
-0.03272988,
0.041654114,
0.035756465,
-0.051810957,
0.047171723,
0.014137771,
-0.044212837,
-0.046874713,
0.02449226,
0.0016906,
0.036930773,
0.06550334,
-0.011157308,
-0.021746032,
0.012587821,
-0.018596664,
-0.049112152,
-0.010495423,
-0.064383164,
-0.06461037,
-0.027807517,
0.012104103,
0.022284279,
0.023133786,
0.064337604,
0.061655346,
-0.023461096,
-0.011779552,
-0.017228361,
0.01608844,
0.026900748,
0.04843482,
0.019597027,
0.04466427,
-0.04299178,
-0.022570468,
-0.010338448,
0.022287957,
0.07883623,
-0.011177552,
-0.026513547,
0.001390488,
0.0059760385,
0.027271792,
-0.020647502,
0.02860358,
0.04956845,
-0.020640993,
0.008378222,
-0.049238876,
-0.010992147,
0.00716338,
0.05091924,
-0.043101057,
-0.03314546,
-0.015162035,
-0.012542443,
0.041288104,
-0.033544965,
-0.041703846,
0.011191956,
0.007086754,
0.015466705,
0.042294074,
0.039411698,
0.017001364,
0.013821315,
-0.050001044,
0.05044012,
0.02470625,
-0.048127197,
-0.020351836,
0.024810253,
-0.038815252,
-0.033725772,
0.028256323,
0.042479526,
-0.013261343,
-0.025066976,
-0.025465505,
0.020155309,
-0.042225312,
0.0057903035,
0.022105198,
0.017459454,
0.051601525,
-0.028695405,
0.04465249,
0.012649371,
-0.02806111,
0.01560753,
0.050898284,
0.007589582,
0.0062909396,
0.033404436,
0.021934228,
-0.07914859,
0.033930145,
-0.025570525,
0.004427964,
0.051478416,
0.028908495,
-0.013795697,
-0.015247326,
-0.002728364,
-0.07483172,
-0.04379038,
0.013799212,
0.09411697,
0.084760144,
-0.01261316,
-0.014675728,
-0.03816796,
-0.004172461,
0.007951553,
-0.05928778,
-0.021180352,
0.008775265,
-0.01593563,
0.02613377,
-0.025403991,
0.026511109,
-0.0056913113,
0.010787012,
0.023441553,
-0.009489977,
-0.05086909,
0.0103667835,
-0.027519468,
-0.037687086,
-0.033684563,
-0.009921997,
-0.045527764,
-0.068001434,
-0.07864677,
0.00551673,
-0.04296975,
-0.022263834,
-0.021014376,
0.029063024,
-0.017114798,
0.021257691,
0.027674213,
-0.06315394,
0.053195693,
-0.038826447,
0.004761808,
-0.022070415,
-0.013433548,
-0.030377172,
0.013749629,
0.031562235,
-0.005576033,
-0.03280088,
0.03418725,
0.05543981,
-0.027240274,
0.0066182716,
-0.022484455,
-0.026784783,
-0.027865507,
0.018182458,
0.0031276655,
0.001855276,
-0.027012715,
0.00462001,
-0.03699088,
-0.034991276,
-0.018792165,
-0.0014985047,
-0.011364292,
0.0036197759,
-0.070848316,
0.033166762,
0.023387458,
-0.027915688,
-0.007766989,
-0.04850854,
0.053914156,
-0.039145097,
0.04441974,
-0.02197668,
0.05527446,
-0.016547225,
-0.018450698,
0.0077489805,
-0.020064887,
-0.02335012,
-0.04768258,
0.04139416,
0.04209525,
-0.01735492,
0.029244231,
0.031319216,
0.07688894,
-0.013588629,
-0.014515195,
-0.009320828,
-0.03948818,
-0.0047075953,
-0.078250445,
0.026854862,
-0.014058771,
0.02614625,
-0.004488232,
-0.03384874,
-0.0008167264,
-0.05693178,
0.03630427,
-0.020163622,
-0.013003122,
-0.013238338,
0.04821675,
-0.0034903337,
-0.011478002,
0.02654218,
-0.031241924,
0.05461935,
0.059812527,
0.004457145,
0.044289254,
-0.007021865,
-0.008552139,
0.005784901,
0.026435286,
-0.0075608725,
-0.014381816,
0.028286425,
0.017938757,
0.03830321,
0.009400748,
-0.01351651,
0.02294429,
-0.015557539,
0.004373559,
0.024824847,
0.03536551,
0.044124745,
-0.014787189,
-0.0063111745,
0.003211701,
-0.012124735,
0.021045871,
0.035682693,
-0.0131059345,
0.02266042,
-0.06279706,
0.03900684,
-0.047559585,
0.01061111,
0.04342273,
-0.09725566,
-0.018513119,
-0.028501313,
0.030202147,
-0.0063749314,
0.060375284,
-0.010732029,
0.008417266,
0.05758664,
-0.046789583,
0.013990949,
-0.074000634,
0.0007491686,
0.031166445,
0.00608138,
0.03421132,
0.023420487,
0.04335008,
-0.059690826,
-0.01484917,
0.053518523,
0.04850996,
-0.029111458,
-0.027494803,
0.044973522,
0.040493425,
0.0085048415,
0.047287416,
-0.003795477,
0.061370477,
0.03628324,
0.018539594,
0.015017507,
0.014762264,
0.012261834,
-0.029409602,
-0.019164264,
0.019629274,
-0.007970386,
0.05469379,
-0.0018576914,
0.035568357,
0.02242607,
-0.022178499,
0.03942245,
-0.009488402,
0.015299086,
-0.0027384905,
0.049231417,
-0.014740076,
0.028763296,
-0.021350745,
-0.012664642,
-0.02937053,
0.027172761,
0.020406745,
-0.04884657,
0.012825823,
0.07512867,
0.026797105,
-0.014263987,
-0.03769916,
0.041971043,
0.06387982,
0.027412556,
0.012407111,
-0.0686877,
-0.02655822,
-0.013084338,
0.050811063,
0.05656346,
-0.035474934,
-0.0033239203,
0.041779302,
0.026002653,
-0.014385781,
0.038126975,
-0.019390926,
0.05826949,
0.031118192,
0.0054301037,
0.03617203,
-0.04859134,
0.025512103,
-0.005729384,
0.010885323,
0.04407136,
-0.0073201796,
-0.060309373,
0.02233641,
-0.011177547,
-0.020656863,
0.005625193,
0.008647926,
-0.02759971,
0.012622687,
-0.045160603,
-0.0454388,
0.03904016,
-0.023336392,
0.051496495,
-0.037259363,
-0.03618385,
-0.06609504,
0.022807602,
0.045029666,
0.042852588,
0.04994275,
-0.01577923,
-0.00671147,
0.016260944,
0.03680462,
0.030292364,
-0.02686166,
-0.03133962,
0.008437057,
0.04052735,
0.05451173,
0.00040517916,
-0.09589238,
-0.016335085,
0.011793441,
-0.00551483,
0.014192589,
-0.016975638,
0.08251169,
-0.011753987,
-0.008058153,
-0.016540268,
0.04007093,
0.045156457,
-0.0493784,
-0.016321747,
0.0060322173,
-0.040779077,
0.1405302,
0.1038189,
-0.077407256,
-0.04482981,
-0.008996452,
-0.028457938,
0.021146974,
-0.03331878,
-0.012597554,
0.037997577,
-0.013887118,
0.02999039,
-0.033876806,
-0.008779197,
0.033355966,
-0.006104725,
0.0051710918,
0.068045676,
0.046034075,
0.029056245,
-0.002961367,
-0.0037761997,
-0.03010972,
-0.008498998,
0.045608934,
-0.004567147,
-0.06383731,
0.041246004,
-0.039543055,
-0.02870321,
0.0076086856,
-0.015123033,
0.0078005474,
0.0017598544,
0.016163437,
0.032124296,
0.00484752,
-0.03015803,
-0.039057996,
0.04573359,
0.021726562,
-0.010140374,
0.03024606,
0.047923274,
-0.024751553,
0.057835314,
0.0062058475,
0.06479001,
0.027297573,
0.017453838,
-0.020419437,
-0.033964396,
-0.055586893,
-0.0021987173,
0.023289124,
0.013872967,
0.01587114,
0.027307011,
-0.014785572,
0.0044941274,
-0.01329617,
-0.01616755,
-0.054452937,
-0.06303159,
-0.036476243,
-0.073581465,
0.00018483201,
0.027374895,
0.04721997,
0.05108035,
-0.0058916225,
-0.005788036,
-0.043542676,
-0.07337127,
0.060271632,
-0.021566002,
0.0029344307,
0.01939541,
-0.01731681,
-0.06533002,
0.02583501,
0.0038704148,
-0.02511687,
0.028988061,
0.046497855,
0.023544844,
0.051293116,
0.027771622,
-0.016378544,
-0.03160223,
-0.014137762,
-0.051592737,
0.028963696,
-0.016279878,
0.06474384,
-0.04271385,
-0.036654133,
0.0058625983,
-0.036693886,
-0.023155767,
-0.047567695,
-0.060160648,
0.05456728,
-0.0007831528,
-0.11274871,
-0.0008385241,
-0.013952008,
-0.04013846,
-0.001922352,
0.008381361,
-0.037859477,
-0.015747096,
-0.023436176,
-0.06493982,
-0.06961413,
0.029695747,
0.0014007627,
0.0041493014,
0.01829575,
0.01908529,
-0.041570548,
-0.03577267,
-0.0021668426,
-0.010220934,
-0.028753297,
0.0041153193,
-0.0133952135,
0.0057769804,
-0.0053361775,
-0.022346675,
0.01407815,
0.0346354,
0.03687422,
-0.040912014,
-0.032318547,
0.018240463,
0.0155953495,
0.024938388,
0.027816493,
-0.008068573,
0.023187911,
0.04162551,
-0.046131972,
0.068785824,
0.00049023476,
-0.057738096,
-0.017395237,
0.015232083,
-0.004583652,
0.024559958,
0.018847756,
-0.013156841,
-0.03922403,
-0.009865602,
-0.031042619,
-0.016997341,
0.044952963,
0.0032222134,
-0.025909962,
-0.056920566,
-0.012997749,
0.021202734,
0.010599118,
-0.012212461,
-0.024154104,
0.05482209,
-0.018062823,
-0.060351223,
-0.019166691,
-0.0036563252,
-0.042445954,
0.06736642,
-0.056578293,
0.0006367304,
-0.03085512,
0.02267895,
-0.041305568,
0.046215765,
-0.025333801,
0.03526251,
-0.039100256,
-0.025135856,
0.021425365,
0.02020227,
0.043950126,
-0.054458305,
0.05623733,
-0.08152019,
-0.046167485,
-0.10749022,
-0.008466642,
-0.05144761,
0.021873187,
0.07712359,
0.058769457,
0.037539985,
0.02278193,
-0.021989755,
-0.025313664,
0.010356506,
0.043855913,
-0.02973679,
0.035643104,
0.01076219,
-0.052481193,
0.054124974,
0.08021009,
0.065605976,
0.0001337258,
-0.020413414,
-0.0033532593,
0.05971692,
-0.00093984226,
-0.04169957,
-0.08887784,
-0.021218017,
0.021352194,
-0.043761156,
-4.5633427e-05,
-0.003377486,
0.04362579,
-0.019289078,
-0.0071241567,
-0.011925023,
-0.059166115,
0.032572206,
0.012326156,
0.036951315,
0.015816396,
0.014638949,
0.046277896,
0.043898437,
0.073340066,
-0.020459594,
-0.016533932,
-0.0020742149,
-0.011595931,
0.042641375,
0.0080505395,
0.04020979,
-0.07246718,
0.020738233,
-0.022040745,
-0.024134256,
-0.005414621,
-0.0035372586,
0.014366041,
-0.011559723,
-0.061125804,
0.000716756,
0.0042989,
0.036998533,
-0.026753096,
0.0020102104,
0.03970346,
0.046450976,
0.031936437,
0.011809703,
0.047100354,
-0.020754447,
-0.020101761,
-0.008086637,
-0.017581824,
-0.05533546,
-0.03792475,
0.02663764,
0.014141315,
-0.028881727,
0.083575256,
-0.01166869,
0.030278945,
-0.016551564,
-0.005361336,
0.01018912,
-0.009852041,
0.051104873,
0.003044136,
-0.045358215,
-0.0077627692,
-0.008190083,
-0.028227197,
-0.028484602,
-0.018416096,
0.061286826,
-0.03672022,
-0.016098002,
-0.03183946,
-0.029598273,
0.05160604,
-0.016991526,
-0.0043340274,
-0.018893398,
-0.011310397,
-0.010863208,
0.030512733,
0.01092261,
0.029592073,
-0.03217996,
-0.0323745,
-0.020482296,
0.0050657857,
-0.009432087,
0.019692818,
-0.011574845,
0.011995604,
0.033988807,
-0.03761313,
-0.0032503873,
0.0317962,
-0.021953808,
-0.02436311,
-0.015387581,
-0.013930073,
0.084573634,
-0.036715727,
0.010335196,
-0.02448509,
0.032262027,
0.0135215605,
-0.029341048,
-0.071033046,
0.012163976,
-0.010135181
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 6,
"total_tokens": 6
}
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"How do systems learn automatically?"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
-0.0042787334,
0.024085503,
-0.13318679,
0.004941554,
0.07302995,
-0.0033626675,
0.04289207,
-0.033723302,
-0.020146351,
-0.029093169,
-0.026580572,
0.04908532,
0.11988273,
0.07824989,
0.0070858155,
-0.0126808025,
0.008139696,
-0.049385857,
0.013668133,
0.027201938,
0.03461472,
-0.031547178,
-0.0016686152,
0.019237004,
0.08407016,
0.05697168,
-0.021504402,
-0.04498225,
0.01068298,
0.008955338,
0.019986415,
-0.016908988,
0.020420015,
-0.036818434,
-0.040437322,
-0.043430287,
0.037493065,
-0.041973364,
-0.0014402202,
0.036696255,
-0.04186329,
-0.002541473,
0.0338223,
0.0044049406,
0.029839164,
-0.009362541,
0.008481139,
-0.01811649,
0.015835296,
0.013168234,
0.06198415,
-0.06914554,
-0.008522709,
0.03168831,
0.07029073,
0.050112918,
0.007693651,
0.05109706,
0.0076293633,
-0.12137042,
0.09496605,
0.047823153,
-0.02414208,
0.039483104,
-0.009979908,
0.009896846,
0.0024361573,
0.07422966,
-0.02024846,
0.025174085,
0.043078642,
-0.00018943421,
-0.0013616317,
-0.03695385,
0.0003787649,
-0.01951352,
-0.008998806,
-0.030695887,
-0.021161374,
0.089301385,
0.076918006,
-0.044158068,
0.044845488,
-0.04711805,
0.047928877,
0.043308146,
-0.02516357,
-0.05034578,
-0.049978625,
0.106089965,
0.010562611,
0.028440204,
0.012505226,
0.02272876,
-0.06997239,
0.0089987945,
-0.04798361,
0.026110439,
-0.015330577,
-0.024890142,
-0.04806763,
-0.021099282,
-0.035443418,
-0.06532684,
0.046704944,
0.055561136,
0.02687032,
-0.016992288,
-0.018487202,
0.022815693,
-0.0041294503,
0.011245074,
-0.041351188,
0.013297983,
-0.04002111,
-0.023791477,
0.031715136,
-0.037211247,
-0.0014883467,
0.0038300673,
-0.047529683,
-0.028521292,
-0.061402317,
0.008845252,
0.017403914,
0.07922679,
-0.022386435,
-0.02375175,
0.012570612,
0.0001333572,
-0.017298395,
-0.023806887,
-0.050114326,
-0.038907852,
0.04466949,
0.06426657,
-0.008871719,
-0.0484994,
0.03978935,
0.02601934,
0.027578894,
0.050768748,
-0.04063608,
0.0036816944,
0.012000964,
-0.027149005,
0.0045322934,
-0.019463021,
-0.024368409,
-0.01204605,
-0.020136608,
0.06470665,
-0.047630087,
-0.0162342,
0.03096583,
0.008118955,
0.00036955223,
-0.009742215,
0.047514915,
-0.023334095,
0.07157367,
0.0056172237,
-0.05970368,
0.00978504,
-0.039773144,
-0.047958344,
0.01510103,
0.021627666,
0.00969667,
0.011452064,
-0.05898451,
-0.0021101355,
-0.020356838,
0.031768233,
0.019785678,
0.042724583,
0.059855856,
-0.028541727,
0.053467102,
-0.05028687,
0.043057803,
-0.059160676,
0.0062141153,
0.032875348,
0.029750392,
0.041646227,
-0.07063579,
0.017117508,
-0.02645554,
-0.017924603,
-0.0049087745,
0.0049041957,
-0.023955567,
-0.039336503,
-0.045852665,
-0.015815066,
0.004065921,
0.021141313,
0.045437858,
-0.0034970897,
-0.002238095,
-0.01325532,
-0.056438707,
-0.013108974,
-0.035157774,
0.048552085,
-0.022415236,
-0.02317946,
-0.05312166,
0.05053431,
0.109504096,
0.025516978,
-0.07087319,
-0.013834647,
0.014815088,
-0.048677057,
-0.0040926347,
0.030784907,
0.038255863,
-0.004705948,
-0.03766974,
-0.0012370305,
0.011782605,
-0.0008670797,
0.009494065,
-0.047594387,
-0.03202321,
-0.0071950913,
-0.026344303,
0.0610904,
0.005964345,
-0.05746674,
0.049024623,
0.019423774,
0.024665387,
0.037131403,
-0.00573906,
0.005101514,
0.01201439,
0.01827544,
0.03644721,
0.0054425397,
0.017730145,
0.026087275,
-0.038633555,
-0.027633008,
0.06408834,
-0.021053791,
-0.07236068,
-0.009462128,
-0.0044817626,
0.07729367,
-0.021976428,
-0.041051336,
0.007830544,
-0.012730618,
-0.023911366,
0.02402242,
0.029658582,
-0.03579777,
0.04957368,
-0.008305232,
0.0033692054,
0.023998406,
0.0016145153,
-0.06757625,
-0.017266909,
-0.0018234522,
-0.014094016,
-0.03756689,
0.0021139246,
0.022622956,
0.017065035,
0.028182743,
-0.017444063,
-0.00059634144,
-0.0050803195,
-0.026290962,
-0.005143245,
0.024891606,
-0.047286026,
-0.0534495,
-0.05924166,
-0.048197266,
0.029184476,
-0.014024077,
0.034617357,
0.017752051,
0.0049934336,
-0.029895013,
0.016037192,
-0.011251189,
-0.022624975,
0.050663427,
-0.055124924,
0.053711932,
0.052085504,
-0.0030288547,
-0.034590133,
-0.008605269,
0.03017149,
0.03302843,
0.055060226,
0.016397446,
-0.051270753,
-0.0125311185,
-0.013187491,
-0.020000132,
0.021622645,
0.0044534043,
-0.016675124,
-0.01442047,
-0.020044459,
0.011089691,
-0.010430771,
0.040525537,
-0.00035962428,
0.018137781,
0.016777758,
-0.028544242,
-0.03854795,
-0.051222842,
-0.032820206,
-0.022864979,
-0.020805648,
0.033185944,
-0.03189462,
-0.029661244,
-0.014634998,
-0.032304615,
0.052764643,
0.020354753,
-0.041769903,
-0.025885228,
-0.009772822,
-0.035364535,
-2.9491546e-05,
0.014566345,
-0.0267744,
0.034303512,
-0.012996255,
-0.01806837,
-0.017140122,
-0.012676196,
-0.03344395,
0.0068145622,
0.018110735,
-0.029852942,
0.029683832,
-0.0019204139,
0.010279581,
0.022345493,
-0.04462974,
0.01448993,
-0.024073856,
0.040995933,
0.018326895,
0.06858719,
0.031197857,
-0.018029032,
0.0012248881,
-0.040486183,
0.011865926,
0.008749043,
0.013260666,
0.048417546,
0.02501441,
0.0034055384,
0.03626937,
0.0057044653,
-0.037514664,
0.00783336,
-0.03186157,
0.042277012,
0.026677502,
-0.020282485,
-0.044667177,
0.023262292,
0.011881238,
-0.0061838822,
-0.008229401,
-0.009753375,
0.011946212,
-0.044557653,
0.06480208,
0.034280356,
0.02123824,
-0.0063942834,
-0.0070933816,
0.09381885,
0.04840791,
-0.05692713,
-0.026055345,
0.010708509,
0.0017400738,
-0.007895462,
0.030498847,
0.013883461,
0.008388701,
0.0121080065,
-0.044726886,
-0.041510172,
-0.013852885,
-0.0045656958,
0.022194343,
0.033668756,
-0.03880841,
-0.0448917,
-0.0085533755,
0.011115838,
0.056894466,
0.004960493,
-0.009292119,
-0.049733,
-0.0022687314,
-0.010815448,
0.019264678,
0.051964108,
-0.06221736,
-0.015454487,
0.0016433148,
0.011406995,
0.037904102,
-0.0048376936,
-0.035015978,
0.017710982,
-0.0029211566,
0.029800383,
0.025297968,
-0.085228615,
0.028167948,
-0.03711411,
0.022293128,
-0.016280945,
-0.037995104,
-0.00470921,
0.04682695,
0.055620342,
2.4782974e-05,
0.0520419,
0.047912546,
0.00870439,
-0.051375315,
-0.020233331,
0.039234802,
0.068948485,
0.058966782,
0.03473253,
-0.05687418,
0.024007754,
-0.013750581,
0.024780702,
0.051113,
0.011134095,
0.07827812,
-0.052110575,
-0.08635136,
0.0026813478,
0.028655533,
0.005418117,
0.022809666,
-0.038705252,
-0.06475023,
0.03736548,
-0.03588391,
-0.019632008,
0.019049251,
-0.0154994475,
0.0104337605,
0.06051271,
-0.023319822,
0.028261404,
0.040165484,
0.02494476,
-0.026334006,
-0.057490345,
-0.027967913,
-0.02724432,
0.10017516,
0.055552218,
0.0057158787,
-0.06649098,
-0.03785767,
-0.0063919676,
-0.031638388,
0.05590255,
-0.018691812,
0.009434754,
0.032644674,
-0.025184704,
0.032889828,
0.036460392,
0.0029133665,
-0.041254047,
-0.07932292,
-0.075016044,
-0.07486507,
-0.006838269,
0.04540896,
-0.006950432,
-0.028854726,
0.05563381,
-0.0046611265,
0.02135884,
0.02762787,
-0.025189346,
0.050857242,
-0.058961138,
-0.06746422,
0.062932715,
0.017975917,
0.030838879,
0.039261464,
0.030196771,
0.03724745,
-0.12226119,
-0.027827818,
0.031169912,
-0.023546515,
-0.0045247255,
-0.0029941103,
0.0384809,
-0.03587887,
0.0011810099,
-0.069547266,
-0.001315824,
-0.008372838,
-0.017627422,
0.011133662,
0.009524607,
0.07549543,
0.026032574,
-0.0050187125,
0.046481177,
0.010128554,
0.013521398,
0.01640449,
0.044509467,
0.010821229,
0.033331625,
0.028624643,
-0.013788928,
0.013576264,
-0.017161286,
0.02618031,
-0.018337488,
0.015027544,
0.0094308425,
0.07064902,
-0.036203284,
-0.027006742,
-0.019526917,
-0.008688465,
-0.02496588,
-0.026179122,
0.02608523,
-0.052517753,
-0.022942653,
-0.035554424,
-0.01850372,
0.04305089,
0.0037592163,
0.08104336,
-0.0009318501,
-0.031183776,
0.016379919,
0.008474954,
0.01467329,
0.06877281,
0.07772293,
0.03496054,
-0.049007878,
-0.0067263776,
-0.015099559,
-0.011987447,
-0.019776193,
-0.031629555,
0.007944959,
0.0036315077,
-0.04628375,
0.012785996,
-0.052810732,
0.036872014,
-0.01690961,
0.011160917,
-0.009531572,
-0.022463627,
-0.0042508733,
0.008433076,
-0.0056329183,
-0.028602013,
-0.03429393,
-0.010799934,
-0.032580256,
-0.025645321,
0.03829542,
-0.028860718,
0.0009629727,
0.03585029,
-0.00016770652,
-0.057708718,
-0.002119668,
0.069798104,
-0.070355825,
-0.015369501,
0.10533094,
-0.0030549972,
0.0564329,
0.034485016,
-0.004004941,
-0.037931994,
0.022809424,
-0.00016679276,
0.012654526,
0.041837636,
-0.0030712709,
0.039182924,
-0.00830048,
-0.022628468,
0.011221337,
-0.034637813,
-0.062595606,
0.04490021,
-0.049528442,
0.03428887,
-0.012176619,
-0.037299607,
-0.024311263,
0.05791544,
0.02822909,
-0.020167438,
0.029815126,
-0.07001214,
-0.034782406,
-0.009817269,
0.041261077,
0.010265433,
0.0045510656,
0.002236059,
0.021417234,
0.029991688,
-0.028528407,
-0.0269427,
0.02089282,
0.05157602,
-0.026654387,
0.007929481,
0.031345576,
0.0011029862,
-0.021800676,
0.043480705,
0.0489139,
0.04388474,
0.015039343,
-0.0031589456,
0.027433619,
0.004043461,
-0.022695076,
0.00992084,
0.0071092304,
-0.002461396,
-0.0043727,
-0.011139551,
0.022141067,
0.007142116,
-0.0065288655,
-0.0035904362,
-0.031044658,
-0.023946375,
-0.034234766,
0.0035234694,
0.046968672,
0.047815353,
-0.009619093,
-0.019819958,
0.03604623,
0.0074489536,
0.015116172,
-0.0069982596,
-0.020968385,
-0.027844194,
-0.011060519,
0.05143162,
-0.011361998,
-0.017307535,
-0.017428553,
0.0044295085,
0.0033526768,
-0.025726799,
-0.082041584,
-0.036147367,
-0.043629266,
-0.018059624,
0.004257984,
-0.023165703,
0.0012521539,
0.029541647,
0.019140087,
0.027953852,
0.025493791,
-0.01007106,
0.017896483,
-0.024390982,
0.045896284,
0.018638847,
-0.02887628,
0.0032529256,
-0.012342678,
-0.033733852,
-0.02147386,
-0.038162343,
-0.03327006,
-0.03399216,
0.014377368,
-0.025491487,
-0.005795196,
0.013429306,
-0.006140167,
-0.039935477,
0.04075272,
-0.020361504,
0.003631168,
-0.048985433,
-0.008856297,
-0.0120481495,
0.029575786,
0.041695658,
-0.115616724,
0.000787231,
0.014352624,
-0.031457935,
-0.01566441,
-0.014977608,
0.009457292,
-0.0041810293,
-0.021331165,
-0.0016060631,
-0.037012774,
-0.11647967,
-0.00622293,
-0.03108724,
0.014460688,
0.034404516,
0.024188338,
0.06313337,
-0.013201768,
-0.002885194,
0.084768206,
0.02641265,
-0.04941458,
-0.035548065,
-0.012501686,
-0.016430862,
-0.010674781,
-0.012653082,
0.002084459,
-0.024729006,
0.0035558182,
0.07439638,
0.035574447,
-0.01926715,
-0.014842641,
0.00744147,
-0.05413262,
0.011751151,
-0.029252911,
-0.02019048,
-0.010776819
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 6,
"total_tokens": 6
}
}
},
"is_streaming": false
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"This is a test file 0"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 52390329,
"load_duration": 11480591,
"prompt_eval_count": 6,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
0.06572662,
0.0075925887,
-0.13352244,
-0.030863922,
0.06885099,
0.0022088774,
0.030472014,
0.02933192,
-0.041948833,
-0.08528541,
-0.030369252,
0.038028613,
0.025812829,
0.0029451817,
-0.028352464,
-0.0274709,
0.03622627,
-0.041572914,
0.005504542,
-0.020094454,
0.036786217,
-0.029105002,
-0.06820122,
-0.006684911,
0.12236047,
-0.00085475645,
-0.022570169,
0.051932808,
-0.079891734,
-0.03291606,
0.06524798,
0.001277363,
-0.002306575,
-0.0292008,
-0.012376331,
-0.026185278,
0.021888476,
0.0371126,
0.034353733,
0.008248169,
-0.016724534,
-0.025303185,
0.0068543684,
-0.0034133182,
0.02024377,
0.03329302,
0.012171552,
0.07609977,
-0.019937078,
0.01280936,
0.0072225938,
-0.022847727,
-0.0030072515,
0.01192306,
0.024250273,
-0.01443248,
-0.035678312,
-0.0005066236,
-0.021526996,
-0.03272988,
0.041654114,
0.035756465,
-0.051810957,
0.047171723,
0.014137771,
-0.044212837,
-0.046874713,
0.02449226,
0.0016906,
0.036930773,
0.06550334,
-0.011157308,
-0.021746032,
0.012587821,
-0.018596664,
-0.049112152,
-0.010495423,
-0.064383164,
-0.06461037,
-0.027807517,
0.012104103,
0.022284279,
0.023133786,
0.064337604,
0.061655346,
-0.023461096,
-0.011779552,
-0.017228361,
0.01608844,
0.026900748,
0.04843482,
0.019597027,
0.04466427,
-0.04299178,
-0.022570468,
-0.010338448,
0.022287957,
0.07883623,
-0.011177552,
-0.026513547,
0.001390488,
0.0059760385,
0.027271792,
-0.020647502,
0.02860358,
0.04956845,
-0.020640993,
0.008378222,
-0.049238876,
-0.010992147,
0.00716338,
0.05091924,
-0.043101057,
-0.03314546,
-0.015162035,
-0.012542443,
0.041288104,
-0.033544965,
-0.041703846,
0.011191956,
0.007086754,
0.015466705,
0.042294074,
0.039411698,
0.017001364,
0.013821315,
-0.050001044,
0.05044012,
0.02470625,
-0.048127197,
-0.020351836,
0.024810253,
-0.038815252,
-0.033725772,
0.028256323,
0.042479526,
-0.013261343,
-0.025066976,
-0.025465505,
0.020155309,
-0.042225312,
0.0057903035,
0.022105198,
0.017459454,
0.051601525,
-0.028695405,
0.04465249,
0.012649371,
-0.02806111,
0.01560753,
0.050898284,
0.007589582,
0.0062909396,
0.033404436,
0.021934228,
-0.07914859,
0.033930145,
-0.025570525,
0.004427964,
0.051478416,
0.028908495,
-0.013795697,
-0.015247326,
-0.002728364,
-0.07483172,
-0.04379038,
0.013799212,
0.09411697,
0.084760144,
-0.01261316,
-0.014675728,
-0.03816796,
-0.004172461,
0.007951553,
-0.05928778,
-0.021180352,
0.008775265,
-0.01593563,
0.02613377,
-0.025403991,
0.026511109,
-0.0056913113,
0.010787012,
0.023441553,
-0.009489977,
-0.05086909,
0.0103667835,
-0.027519468,
-0.037687086,
-0.033684563,
-0.009921997,
-0.045527764,
-0.068001434,
-0.07864677,
0.00551673,
-0.04296975,
-0.022263834,
-0.021014376,
0.029063024,
-0.017114798,
0.021257691,
0.027674213,
-0.06315394,
0.053195693,
-0.038826447,
0.004761808,
-0.022070415,
-0.013433548,
-0.030377172,
0.013749629,
0.031562235,
-0.005576033,
-0.03280088,
0.03418725,
0.05543981,
-0.027240274,
0.0066182716,
-0.022484455,
-0.026784783,
-0.027865507,
0.018182458,
0.0031276655,
0.001855276,
-0.027012715,
0.00462001,
-0.03699088,
-0.034991276,
-0.018792165,
-0.0014985047,
-0.011364292,
0.0036197759,
-0.070848316,
0.033166762,
0.023387458,
-0.027915688,
-0.007766989,
-0.04850854,
0.053914156,
-0.039145097,
0.04441974,
-0.02197668,
0.05527446,
-0.016547225,
-0.018450698,
0.0077489805,
-0.020064887,
-0.02335012,
-0.04768258,
0.04139416,
0.04209525,
-0.01735492,
0.029244231,
0.031319216,
0.07688894,
-0.013588629,
-0.014515195,
-0.009320828,
-0.03948818,
-0.0047075953,
-0.078250445,
0.026854862,
-0.014058771,
0.02614625,
-0.004488232,
-0.03384874,
-0.0008167264,
-0.05693178,
0.03630427,
-0.020163622,
-0.013003122,
-0.013238338,
0.04821675,
-0.0034903337,
-0.011478002,
0.02654218,
-0.031241924,
0.05461935,
0.059812527,
0.004457145,
0.044289254,
-0.007021865,
-0.008552139,
0.005784901,
0.026435286,
-0.0075608725,
-0.014381816,
0.028286425,
0.017938757,
0.03830321,
0.009400748,
-0.01351651,
0.02294429,
-0.015557539,
0.004373559,
0.024824847,
0.03536551,
0.044124745,
-0.014787189,
-0.0063111745,
0.003211701,
-0.012124735,
0.021045871,
0.035682693,
-0.0131059345,
0.02266042,
-0.06279706,
0.03900684,
-0.047559585,
0.01061111,
0.04342273,
-0.09725566,
-0.018513119,
-0.028501313,
0.030202147,
-0.0063749314,
0.060375284,
-0.010732029,
0.008417266,
0.05758664,
-0.046789583,
0.013990949,
-0.074000634,
0.0007491686,
0.031166445,
0.00608138,
0.03421132,
0.023420487,
0.04335008,
-0.059690826,
-0.01484917,
0.053518523,
0.04850996,
-0.029111458,
-0.027494803,
0.044973522,
0.040493425,
0.0085048415,
0.047287416,
-0.003795477,
0.061370477,
0.03628324,
0.018539594,
0.015017507,
0.014762264,
0.012261834,
-0.029409602,
-0.019164264,
0.019629274,
-0.007970386,
0.05469379,
-0.0018576914,
0.035568357,
0.02242607,
-0.022178499,
0.03942245,
-0.009488402,
0.015299086,
-0.0027384905,
0.049231417,
-0.014740076,
0.028763296,
-0.021350745,
-0.012664642,
-0.02937053,
0.027172761,
0.020406745,
-0.04884657,
0.012825823,
0.07512867,
0.026797105,
-0.014263987,
-0.03769916,
0.041971043,
0.06387982,
0.027412556,
0.012407111,
-0.0686877,
-0.02655822,
-0.013084338,
0.050811063,
0.05656346,
-0.035474934,
-0.0033239203,
0.041779302,
0.026002653,
-0.014385781,
0.038126975,
-0.019390926,
0.05826949,
0.031118192,
0.0054301037,
0.03617203,
-0.04859134,
0.025512103,
-0.005729384,
0.010885323,
0.04407136,
-0.0073201796,
-0.060309373,
0.02233641,
-0.011177547,
-0.020656863,
0.005625193,
0.008647926,
-0.02759971,
0.012622687,
-0.045160603,
-0.0454388,
0.03904016,
-0.023336392,
0.051496495,
-0.037259363,
-0.03618385,
-0.06609504,
0.022807602,
0.045029666,
0.042852588,
0.04994275,
-0.01577923,
-0.00671147,
0.016260944,
0.03680462,
0.030292364,
-0.02686166,
-0.03133962,
0.008437057,
0.04052735,
0.05451173,
0.00040517916,
-0.09589238,
-0.016335085,
0.011793441,
-0.00551483,
0.014192589,
-0.016975638,
0.08251169,
-0.011753987,
-0.008058153,
-0.016540268,
0.04007093,
0.045156457,
-0.0493784,
-0.016321747,
0.0060322173,
-0.040779077,
0.1405302,
0.1038189,
-0.077407256,
-0.04482981,
-0.008996452,
-0.028457938,
0.021146974,
-0.03331878,
-0.012597554,
0.037997577,
-0.013887118,
0.02999039,
-0.033876806,
-0.008779197,
0.033355966,
-0.006104725,
0.0051710918,
0.068045676,
0.046034075,
0.029056245,
-0.002961367,
-0.0037761997,
-0.03010972,
-0.008498998,
0.045608934,
-0.004567147,
-0.06383731,
0.041246004,
-0.039543055,
-0.02870321,
0.0076086856,
-0.015123033,
0.0078005474,
0.0017598544,
0.016163437,
0.032124296,
0.00484752,
-0.03015803,
-0.039057996,
0.04573359,
0.021726562,
-0.010140374,
0.03024606,
0.047923274,
-0.024751553,
0.057835314,
0.0062058475,
0.06479001,
0.027297573,
0.017453838,
-0.020419437,
-0.033964396,
-0.055586893,
-0.0021987173,
0.023289124,
0.013872967,
0.01587114,
0.027307011,
-0.014785572,
0.0044941274,
-0.01329617,
-0.01616755,
-0.054452937,
-0.06303159,
-0.036476243,
-0.073581465,
0.00018483201,
0.027374895,
0.04721997,
0.05108035,
-0.0058916225,
-0.005788036,
-0.043542676,
-0.07337127,
0.060271632,
-0.021566002,
0.0029344307,
0.01939541,
-0.01731681,
-0.06533002,
0.02583501,
0.0038704148,
-0.02511687,
0.028988061,
0.046497855,
0.023544844,
0.051293116,
0.027771622,
-0.016378544,
-0.03160223,
-0.014137762,
-0.051592737,
0.028963696,
-0.016279878,
0.06474384,
-0.04271385,
-0.036654133,
0.0058625983,
-0.036693886,
-0.023155767,
-0.047567695,
-0.060160648,
0.05456728,
-0.0007831528,
-0.11274871,
-0.0008385241,
-0.013952008,
-0.04013846,
-0.001922352,
0.008381361,
-0.037859477,
-0.015747096,
-0.023436176,
-0.06493982,
-0.06961413,
0.029695747,
0.0014007627,
0.0041493014,
0.01829575,
0.01908529,
-0.041570548,
-0.03577267,
-0.0021668426,
-0.010220934,
-0.028753297,
0.0041153193,
-0.0133952135,
0.0057769804,
-0.0053361775,
-0.022346675,
0.01407815,
0.0346354,
0.03687422,
-0.040912014,
-0.032318547,
0.018240463,
0.0155953495,
0.024938388,
0.027816493,
-0.008068573,
0.023187911,
0.04162551,
-0.046131972,
0.068785824,
0.00049023476,
-0.057738096,
-0.017395237,
0.015232083,
-0.004583652,
0.024559958,
0.018847756,
-0.013156841,
-0.03922403,
-0.009865602,
-0.031042619,
-0.016997341,
0.044952963,
0.0032222134,
-0.025909962,
-0.056920566,
-0.012997749,
0.021202734,
0.010599118,
-0.012212461,
-0.024154104,
0.05482209,
-0.018062823,
-0.060351223,
-0.019166691,
-0.0036563252,
-0.042445954,
0.06736642,
-0.056578293,
0.0006367304,
-0.03085512,
0.02267895,
-0.041305568,
0.046215765,
-0.025333801,
0.03526251,
-0.039100256,
-0.025135856,
0.021425365,
0.02020227,
0.043950126,
-0.054458305,
0.05623733,
-0.08152019,
-0.046167485,
-0.10749022,
-0.008466642,
-0.05144761,
0.021873187,
0.07712359,
0.058769457,
0.037539985,
0.02278193,
-0.021989755,
-0.025313664,
0.010356506,
0.043855913,
-0.02973679,
0.035643104,
0.01076219,
-0.052481193,
0.054124974,
0.08021009,
0.065605976,
0.0001337258,
-0.020413414,
-0.0033532593,
0.05971692,
-0.00093984226,
-0.04169957,
-0.08887784,
-0.021218017,
0.021352194,
-0.043761156,
-4.5633427e-05,
-0.003377486,
0.04362579,
-0.019289078,
-0.0071241567,
-0.011925023,
-0.059166115,
0.032572206,
0.012326156,
0.036951315,
0.015816396,
0.014638949,
0.046277896,
0.043898437,
0.073340066,
-0.020459594,
-0.016533932,
-0.0020742149,
-0.011595931,
0.042641375,
0.0080505395,
0.04020979,
-0.07246718,
0.020738233,
-0.022040745,
-0.024134256,
-0.005414621,
-0.0035372586,
0.014366041,
-0.011559723,
-0.061125804,
0.000716756,
0.0042989,
0.036998533,
-0.026753096,
0.0020102104,
0.03970346,
0.046450976,
0.031936437,
0.011809703,
0.047100354,
-0.020754447,
-0.020101761,
-0.008086637,
-0.017581824,
-0.05533546,
-0.03792475,
0.02663764,
0.014141315,
-0.028881727,
0.083575256,
-0.01166869,
0.030278945,
-0.016551564,
-0.005361336,
0.01018912,
-0.009852041,
0.051104873,
0.003044136,
-0.045358215,
-0.0077627692,
-0.008190083,
-0.028227197,
-0.028484602,
-0.018416096,
0.061286826,
-0.03672022,
-0.016098002,
-0.03183946,
-0.029598273,
0.05160604,
-0.016991526,
-0.0043340274,
-0.018893398,
-0.011310397,
-0.010863208,
0.030512733,
0.01092261,
0.029592073,
-0.03217996,
-0.0323745,
-0.020482296,
0.0050657857,
-0.009432087,
0.019692818,
-0.011574845,
0.011995604,
0.033988807,
-0.03761313,
-0.0032503873,
0.0317962,
-0.021953808,
-0.02436311,
-0.015387581,
-0.013930073,
0.084573634,
-0.036715727,
0.010335196,
-0.02448509,
0.032262027,
0.0135215605,
-0.029341048,
-0.071033046,
0.012163976,
-0.010135181
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"Python programming language"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 49383675,
"load_duration": 7110820,
"prompt_eval_count": 3,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
-0.012755183,
0.052141834,
-0.09865878,
-0.054767564,
0.053008653,
0.0074000848,
-0.068001,
-0.003313807,
-0.016954962,
-0.06613158,
-0.00030423206,
0.044585824,
0.045379143,
-0.044380557,
0.0023069729,
-0.09606624,
0.025668992,
-0.07038718,
-0.03930968,
0.06763638,
0.01793313,
-0.040855322,
0.02647491,
-0.015291053,
0.11874985,
0.020210076,
0.010590989,
-0.0036543712,
-0.0075976686,
0.016661597,
-0.045014743,
0.0041655246,
0.00044568354,
-0.024798876,
-0.044158697,
-0.06685353,
0.06450473,
-0.017988887,
0.03872167,
0.015247732,
-0.04352592,
0.009790545,
0.060166962,
-0.007313556,
0.07847782,
-0.061941683,
0.0045549227,
-0.014183016,
-0.033010434,
0.021680975,
-0.02037759,
-0.03577908,
-0.043043565,
-0.013646799,
0.076165676,
0.038730208,
0.006720764,
0.011630946,
0.015048647,
-0.061175466,
0.0757195,
0.08273802,
-0.08941701,
0.044744205,
0.056795113,
-0.011738813,
0.0025955006,
0.032728583,
-0.023854354,
0.014046058,
0.03047027,
-0.06254732,
0.042585928,
-0.0026912072,
-0.026063558,
-0.0073187663,
-0.020215467,
-0.04937128,
0.017371904,
0.06005531,
-0.013182922,
0.016347425,
-0.010887273,
0.02825964,
0.041296057,
-0.069784716,
-0.042342614,
-0.0020015785,
-0.05132765,
0.020673819,
-0.06011139,
-0.0064778216,
-0.025799168,
0.0047864914,
-0.06491904,
0.022158703,
-0.054416057,
0.026074637,
0.04199361,
-0.024539411,
0.0077895154,
-0.015909469,
0.060682844,
-0.04841579,
0.035469487,
0.0432446,
0.043692943,
-0.03552617,
-0.058176495,
-0.011524764,
-0.0061565433,
0.045123726,
-0.027797729,
-0.022796074,
-0.045792162,
0.0015372436,
0.025347445,
-0.04087747,
0.06885316,
0.053384367,
-0.002319682,
-0.048198994,
0.040049963,
0.048869036,
-0.018468555,
0.024140943,
-0.06406532,
0.028072298,
0.013393712,
-0.031228468,
0.048264544,
-0.022600511,
-0.044998653,
-0.009159934,
-0.03454323,
0.04043616,
-0.05359791,
-0.01460433,
0.093087606,
-0.022351645,
0.022846863,
0.027131826,
-0.02363506,
-0.014853843,
0.019130414,
-0.022496482,
0.037182134,
0.026520155,
-0.014017435,
0.023918398,
0.019491225,
0.035432663,
0.010694103,
0.048668705,
-0.00024907765,
0.00768182,
0.017693587,
0.004849465,
0.06751242,
-0.021097228,
0.07012279,
0.011083335,
-0.015774695,
0.02973683,
-0.042806383,
-0.028403252,
0.024866603,
0.012839991,
-0.031155441,
0.0010983695,
-0.043969758,
-0.06075083,
-0.0068806973,
-0.020008508,
0.017242711,
0.01687882,
-0.016097335,
-0.011028788,
0.040929034,
-0.013801203,
-0.017103782,
-0.051622864,
0.043905552,
0.0543526,
-0.061111405,
0.010409158,
-0.01066548,
-0.038561665,
-0.0221732,
-0.013728333,
-0.026073975,
0.041781917,
-0.035640378,
-0.06573448,
-0.04824743,
-0.03131787,
0.018809693,
0.0028765572,
0.059533585,
-0.07837439,
-0.04189533,
-0.007909864,
-0.0552758,
-0.010199245,
-0.05733942,
-0.008314573,
-0.004073641,
0.003297773,
-0.041887913,
0.016086822,
0.06419848,
0.018838108,
-0.023861734,
0.06163621,
0.004221324,
-0.035634834,
-0.02336898,
-0.017043551,
0.011934717,
0.034288395,
0.05610323,
0.00089043187,
0.0053345645,
0.0020695552,
0.016258506,
0.028909605,
-0.066553436,
0.017595513,
-0.055346455,
0.014185906,
0.0043901545,
-0.046307728,
0.009637778,
0.026309852,
0.037284765,
0.06024294,
0.047664087,
0.044967793,
-0.01076291,
-0.041797277,
-0.03136469,
0.0072971354,
-0.030567285,
0.045304082,
-0.009105365,
-0.0051637916,
-0.0048456867,
-0.009245174,
-0.017233483,
0.039503276,
-0.019601446,
-0.040183604,
-0.0053865705,
0.06278796,
0.027040588,
0.02772762,
0.032333016,
0.00056238094,
0.06752639,
-0.017969267,
0.036112197,
-0.038685136,
-0.02988278,
-0.011352391,
-0.020833781,
-0.0028507193,
-0.0037560447,
0.016717391,
0.0070433835,
-0.025105853,
0.013040617,
-0.009737338,
0.02332621,
-0.030804688,
-0.002927923,
-0.024455065,
0.027737316,
-0.047165055,
-0.0056547504,
0.0098131895,
0.028257608,
-0.06390376,
-0.019381007,
0.043643404,
-0.005758939,
0.0101355435,
0.025013063,
0.0057044574,
-0.013094622,
-0.010722711,
0.05379693,
0.0035917386,
-0.03372186,
-0.022363236,
-0.024539102,
0.035273757,
0.04244267,
0.029538635,
0.044289354,
-0.010892254,
-0.01566666,
0.03152569,
0.049759056,
0.01340147,
0.02604573,
-0.045269925,
0.036886875,
0.019384302,
-0.012251745,
-0.011383053,
-0.039696775,
0.011996352,
-0.018731272,
0.05107415,
-0.07967179,
0.04457846,
0.020961273,
0.024485774,
0.030831402,
-0.035820685,
-0.0059798183,
-0.07723684,
0.060087733,
-0.0186702,
0.00042447523,
0.042965002,
0.010681149,
0.033828698,
-0.00010276093,
-0.034162555,
-0.012593001,
0.013024084,
0.024034396,
-0.021776745,
-0.043747805,
0.0033163968,
0.003245255,
-0.013959017,
0.0023625968,
0.007549051,
0.0070308056,
-0.050853953,
0.04262149,
-0.020893654,
-0.0076679275,
0.013164755,
0.041456398,
-0.040959187,
0.056591786,
0.042517025,
0.0021284705,
0.044042602,
-0.040913954,
0.0071282955,
-0.0005018595,
-0.036376856,
0.04727744,
-0.004304639,
-0.01342544,
-0.00018415907,
-0.00046577628,
-0.029859792,
0.027254695,
-0.03528472,
-0.023237495,
0.024660228,
0.050627276,
-0.02824941,
0.0113008795,
-0.0045342846,
-0.031870205,
-0.0468597,
-0.007853432,
0.004370229,
-0.017197797,
-0.015760643,
-0.07862201,
-0.014245944,
-0.025508916,
0.029977214,
0.006881691,
-0.042092618,
-0.001667316,
0.02145501,
-0.015919786,
-0.07365285,
-0.010276208,
0.004754211,
0.03293399,
0.04318905,
0.014302325,
-0.048494674,
-0.024463346,
0.03368707,
0.02969084,
-0.010420418,
0.013154678,
0.0008292021,
-0.027302673,
-0.006058555,
-0.07790405,
-0.06870057,
0.03764923,
-0.02309392,
-0.027451491,
0.022471247,
-0.010608251,
-0.01961388,
0.028478324,
-0.009621849,
-0.007969407,
-0.0029770208,
0.009435131,
-0.019555649,
-0.021818016,
0.028743185,
0.02733061,
0.03167493,
-0.05815019,
0.017164664,
0.03497722,
0.027782746,
-0.0103222625,
0.012608038,
0.008335952,
0.012268969,
0.029816365,
0.05892311,
0.018405475,
-0.054781087,
0.00063544157,
0.022915956,
0.033376317,
0.03668245,
-0.00717476,
-0.0016007766,
0.022846596,
0.010971661,
-0.015467445,
0.046056014,
0.036501907,
-0.0217256,
-0.04238053,
0.007839724,
0.010131727,
0.07188701,
0.08593869,
-0.036532518,
-0.036589533,
0.027738918,
0.013736342,
0.015018219,
0.0098102065,
0.03327201,
0.06399664,
0.03487675,
-0.010602488,
0.02859219,
-0.028167224,
0.07248141,
0.0057544303,
-0.026890352,
-0.056601074,
-0.0071628187,
-0.024295138,
-0.01855698,
-0.013705567,
-0.030589346,
0.005738749,
0.002478372,
-0.03994843,
0.020307945,
0.039495304,
-0.042256944,
-0.022092182,
-0.034132108,
-0.030268444,
0.011526477,
0.05080205,
0.004057765,
-0.023736943,
-0.0027470528,
-0.058505215,
-0.005451438,
-0.0053295945,
0.037520684,
-0.004597113,
0.021260384,
-0.0016022,
-0.04624166,
0.047880564,
0.03735419,
0.08018385,
0.005399028,
-0.038164224,
-0.0099513745,
-0.040701,
0.09174386,
0.10285796,
0.028173055,
0.04176779,
0.019542439,
-0.044270817,
-0.015961926,
0.042490557,
-0.031308558,
0.06842259,
-0.008455639,
-0.035034075,
0.03784982,
0.055848643,
0.00059227966,
0.033015877,
0.018344037,
0.03802101,
-0.03151977,
0.0098008765,
-0.035387658,
-0.09155465,
0.00994033,
0.014412026,
-0.041234586,
-0.010655742,
-0.023953516,
-0.029880041,
0.03757494,
0.03118663,
-0.019453162,
-0.016822709,
-0.023843909,
0.047962997,
-0.023659972,
-0.041262057,
-0.020595262,
-0.048075587,
-0.062381502,
-0.04979932,
0.038499992,
0.010981836,
-0.0044649737,
0.07804682,
0.024404673,
0.021007415,
-0.0038479895,
0.0502321,
0.011059783,
-0.026865788,
-0.009125582,
-0.0057604983,
-0.057432435,
0.07512213,
-0.04035372,
0.006362596,
-0.020561477,
0.010117368,
-0.029885331,
-0.005966605,
-0.025552336,
0.0043618665,
-0.043261133,
-0.03555791,
0.008427924,
0.009262912,
0.010186158,
0.006326128,
0.030318232,
-0.018972121,
-0.034975477,
-0.018964415,
0.03825254,
-0.037345864,
-0.0351396,
-0.00047062192,
0.003186302,
0.005035803,
0.010876821,
0.02764985,
-0.03624826,
-0.056807794,
-0.010028965,
0.070623085,
-0.031157255,
-0.018460877,
0.036638554,
-0.025020488,
-0.005941764,
0.012742576,
0.0048704236,
-0.03759208,
-0.012085054,
-0.014069134,
0.011279396,
-0.017005637,
0.020709073,
-0.010610561,
0.024082925,
-0.06626425,
-0.02063518,
-0.019739242,
-0.043891124,
-0.0005266677,
-0.0004301561,
0.047712207,
-0.015355832,
-0.0014466603,
0.08354175,
-0.032401584,
0.05616655,
-0.017385324,
-0.019270966,
0.03682637,
0.019007677,
-0.01482101,
0.033182062,
0.030420583,
-0.06170398,
0.04523853,
0.010415463,
0.014615019,
-0.024227966,
-0.0054855505,
-0.053295363,
0.033637505,
-0.022195498,
0.04281621,
0.021729006,
-0.044307593,
0.020309607,
0.04037649,
0.07104476,
0.006400998,
-0.0040026903,
-0.048894215,
0.0019758455,
-0.009849805,
0.0066472604,
-0.033706002,
0.0005103139,
0.037173964,
0.0656074,
0.047386676,
-0.039488588,
0.0040444243,
-0.008359929,
0.006524558,
-0.011932602,
0.033020485,
0.07638972,
-0.0032924355,
-0.054330498,
0.07390764,
0.06452983,
-0.002386618,
0.0062976107,
0.011264179,
0.014191163,
0.051329326,
-0.049802072,
-0.06384549,
0.008117008,
-0.014097446,
-0.03947947,
-0.035354815,
0.031741206,
0.06876181,
0.057036184,
0.006600329,
0.0014256213,
-0.054361504,
-0.0045098825,
-0.0070793955,
0.016540458,
-0.012738383,
-0.030311067,
0.020713435,
0.058786508,
0.018239629,
-0.024325427,
-0.05661185,
-0.018282877,
0.01614208,
-0.026627902,
-0.03224368,
-0.014848724,
0.039505813,
-0.045105927,
0.0544876,
-0.018484443,
-0.022791753,
-0.06583577,
-0.021372011,
-0.022778038,
0.0022911013,
-0.055788167,
0.04346606,
-0.017197354,
-0.019198012,
-0.03230516,
0.0141982185,
0.076527,
0.014593587,
0.023513054,
0.011721552,
0.051899493,
-0.06094508,
0.004966607,
0.017240781,
0.02990326,
-0.011896698,
-0.053224154,
-0.022593273,
0.021652026,
0.048259668,
0.06569586,
0.035846964,
0.032470055,
-0.050523784,
-0.046076007,
-0.044838242,
0.014308437,
0.07228472,
-0.010863059,
-0.023231382,
0.0153848175,
-0.033682574,
-0.0018240926,
-0.0038692302,
-0.068811916,
0.0040938766,
-0.0033715565,
0.020699343,
0.022787781,
-0.0552032,
0.030704645,
-0.0077637834,
0.057469584,
-0.03186306,
-0.046339024,
-0.058207337,
0.0021370489,
0.011698572,
0.05364788,
-0.0022890496,
0.052239776,
0.0082796505,
-0.024588205,
-0.015608943,
0.062246397,
0.05610683,
-0.036411114,
-0.029702853,
-0.008446677,
-0.047311485,
0.09336968,
-0.01996709,
-0.013500841,
-0.032667294,
0.07357943,
0.052260213,
0.00094144867,
0.016980348,
-0.012887091,
-0.01248461,
-0.028907716,
-0.032317843,
-0.009207185,
-0.047794834,
-0.017619068
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"The secret string is foobazbar."
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 94887965,
"load_duration": 12051552,
"prompt_eval_count": 9,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
0.00043563888,
0.069359735,
-0.13327111,
-0.046860807,
0.08016352,
-0.04809827,
-0.019010443,
0.015153867,
-0.046873957,
-0.051175807,
-0.1147419,
0.05824572,
0.016660886,
0.01102209,
0.04193385,
-0.029983608,
-7.953052e-05,
-0.025317652,
-0.020122949,
-0.07324365,
0.017045923,
-0.009561378,
0.004509703,
0.017444694,
0.12460784,
0.0117542185,
0.0014113676,
0.01636346,
-0.000513574,
-0.040093366,
0.01515609,
-0.0034386534,
-0.025504187,
0.018395439,
-0.046420638,
-0.0633273,
0.017891457,
0.027155576,
-0.027536046,
0.07004884,
-0.06677071,
0.067957774,
-0.009685138,
0.03926637,
0.026923563,
-0.044148225,
0.012432025,
0.053817924,
0.0689614,
-0.07054627,
0.07206626,
-0.026157692,
0.05690601,
-0.01471934,
0.027860997,
0.004196831,
0.013478711,
-0.048579328,
0.026478125,
0.013948769,
0.06128516,
0.018649835,
-0.03886763,
0.08185448,
0.027814697,
0.007644863,
-0.056158315,
0.023962209,
0.031063415,
-0.049123485,
0.058896665,
-0.00038655553,
-0.02007341,
0.0129871555,
-0.06131667,
0.008923064,
-0.020908516,
-0.009231006,
-0.031849828,
0.014869248,
0.029775865,
-0.01688794,
0.021669917,
0.018263148,
-0.046353374,
-0.03561132,
-0.033871155,
0.01996,
-0.037520517,
0.015267727,
-0.01746654,
-0.014343072,
0.0048203394,
0.04106755,
-0.01743991,
0.019225389,
0.027648687,
0.04487884,
-0.049367644,
-0.030073157,
0.016599955,
-0.013579379,
0.042784177,
0.0024879237,
-0.0022430508,
0.013559625,
0.0022986133,
-0.00041752285,
-0.058864597,
0.0074274475,
-0.00158487,
0.05203343,
-0.013067954,
-0.09152717,
0.025666907,
-0.0022124627,
0.022779023,
-0.02524985,
-0.00011278949,
-0.0022032103,
-0.021151299,
-0.021599775,
0.014561224,
0.025840228,
-0.014068059,
0.026190616,
-0.014210392,
0.021827133,
0.020007838,
-0.0702194,
-0.009830888,
-0.010934403,
0.01157449,
-0.0037591544,
0.032889854,
0.04848818,
-0.017715678,
0.0037927723,
0.069258265,
-0.022199025,
0.012373239,
0.010958152,
0.017708084,
-0.064335786,
0.014902948,
-0.073432215,
0.029029964,
0.018579723,
-0.019009702,
-0.030965336,
0.001045338,
0.009669467,
0.017183196,
0.014706675,
-0.004595941,
-0.027472664,
0.061193068,
0.03215422,
0.009082175,
0.046678957,
0.036211368,
0.028913494,
-0.00038759704,
0.0021910078,
-0.054307085,
-0.03839611,
0.019541096,
0.072818995,
0.006327894,
0.048455812,
-0.062209044,
0.01147831,
0.0098502375,
-0.019199125,
0.021273928,
0.0026467585,
-0.031246992,
0.0054897238,
0.009990902,
-0.020057948,
0.035366714,
-0.055273548,
0.044178903,
0.023807194,
-0.060261242,
0.0194769,
-0.019703003,
-0.028070321,
0.023651628,
-0.049793985,
0.002208866,
-0.040291917,
-0.059703782,
-0.033660255,
-0.028465956,
-0.018448345,
0.029301194,
0.028733842,
0.03366197,
0.017544664,
-0.08573744,
0.048224345,
-0.027393555,
0.0056290445,
-0.0119929,
-0.02137872,
0.008285891,
-0.02810114,
0.024450123,
0.024182001,
0.07513522,
-0.06744872,
0.0036572462,
-0.017409615,
0.0067596,
-0.021190042,
-0.010391839,
-0.015639767,
-0.028609304,
0.038730234,
0.06485035,
0.041163545,
0.014390512,
-0.02321176,
0.024660634,
0.008547714,
-0.05519946,
-0.0003570076,
-0.033584673,
0.0068255193,
0.02622803,
-0.09474528,
0.055057526,
0.0658848,
-0.021197317,
-0.008188147,
0.024914686,
0.060964186,
-0.011620848,
0.0052404758,
0.002232333,
0.004988407,
-0.006740577,
0.017342113,
-0.032414474,
0.047291182,
-0.030812522,
-0.011147346,
0.01927767,
0.03737177,
-0.017929135,
0.013328214,
0.003936023,
0.02116423,
0.022964582,
-0.03492131,
0.020916026,
-0.031641915,
0.016423265,
-0.07185627,
0.004404,
-0.038618058,
0.013536482,
-0.04601424,
-0.009397608,
-0.018721484,
-0.004821782,
0.017822767,
0.016237874,
-0.040946636,
-0.015726065,
-0.011103365,
0.0027111657,
-0.013510903,
-0.017545346,
0.0021835666,
0.047422152,
-0.0005337627,
-0.019014519,
-0.0034102339,
-0.068978794,
-0.0007247739,
-0.06604132,
0.013212998,
-0.040820584,
0.058160048,
0.02802546,
-0.013181111,
0.0012718033,
0.004107731,
0.05328854,
0.0052463072,
-0.023672769,
0.03780121,
0.01149606,
0.019529074,
0.02611677,
0.015237835,
0.010741384,
-0.06350311,
0.032081943,
0.03480259,
0.00814098,
0.005960157,
-0.017200181,
-0.025556544,
0.017156472,
0.039265767,
0.0469813,
0.034748983,
-0.047871973,
0.03223102,
0.033810515,
0.029025787,
-0.044688836,
0.050961964,
-0.008707263,
0.024857886,
0.064157255,
-0.030994046,
-0.018792165,
-0.05457989,
-0.009090673,
-0.10115043,
-0.024995545,
0.012426859,
-0.0019674727,
0.03332941,
-0.02930947,
-0.041018374,
0.02341145,
0.053773664,
-0.02800005,
-0.021585159,
-0.040534683,
0.0404829,
0.005363897,
0.01907455,
-0.025343854,
-0.0035673764,
-0.0026372452,
-0.018181847,
0.03233136,
-0.06742021,
0.0076582176,
0.038283855,
-0.03283162,
-0.03286325,
0.04693644,
0.04357658,
-0.07514561,
0.013823663,
-0.047860604,
0.026900738,
0.002514198,
0.025261218,
0.0542094,
-0.014550427,
0.028264867,
-0.010765007,
0.051046435,
-0.026661923,
0.0068336804,
-0.026766306,
0.02264443,
-0.0076511847,
0.030575499,
-0.034169413,
-0.038501944,
0.017965293,
-0.031096458,
-0.022354772,
0.029747028,
0.011666455,
-0.014457477,
-0.028327,
-0.112115934,
-0.008732309,
-0.017440498,
0.018705027,
0.027803373,
-0.03660531,
0.033523776,
-0.01165531,
0.017280811,
-0.0035040057,
-0.0037013139,
-0.023232445,
0.056886524,
0.046929587,
-0.025065806,
-0.00011854427,
-0.027539691,
0.01830821,
-0.017793305,
0.0015083192,
0.018009236,
0.01608446,
0.007198383,
-0.001482324,
-0.04611776,
-0.0026602203,
0.03971603,
-0.0027067706,
-0.04608968,
0.05643384,
0.0059328335,
-0.04095904,
0.074887775,
-0.040126536,
0.050909396,
-0.0050829463,
0.025408033,
-0.040004075,
-0.01615304,
-0.027696026,
0.008633482,
-0.011510852,
-0.01138363,
0.007907287,
0.07923594,
0.0636525,
-0.0018591062,
-0.012122475,
0.007289417,
0.00024129369,
-0.01683623,
0.043689396,
0.0029860223,
-0.040548425,
0.03909646,
0.037287213,
0.011099098,
0.053472616,
-0.025713354,
0.023396866,
-0.06032921,
-0.026988694,
0.012121152,
0.039871164,
0.024333611,
-0.007549869,
-0.011439937,
0.03580544,
0.020239357,
0.076845974,
0.046706334,
-0.020947766,
-0.032601774,
0.0639958,
-0.0049741184,
-0.024874989,
0.014828043,
0.013087368,
0.10624002,
-0.0070972773,
0.012875005,
0.011296317,
0.08395327,
0.012574018,
-0.006684769,
-0.022438517,
-0.06478948,
0.020376103,
0.01557039,
-0.03253506,
0.020344665,
-0.057123315,
0.08554741,
0.08231422,
-0.037311673,
0.0021307825,
0.02461341,
-0.041148327,
0.02576493,
0.029475683,
0.015761815,
0.03033808,
-0.027352374,
0.03562734,
-0.033563428,
0.03967048,
-0.057312556,
-0.059744813,
-0.023114705,
0.040565435,
0.014445673,
-0.025636861,
-0.018840816,
0.025208894,
0.030078758,
0.024180882,
0.0022927998,
-0.0025508618,
0.002279559,
-0.08905218,
-0.0611759,
-0.019741563,
0.026242502,
-0.005390825,
0.007053194,
0.021378167,
0.0016521822,
0.034432933,
0.037088938,
-0.012958599,
0.015472381,
-0.016801862,
-0.0664142,
-0.020028533,
-0.03665484,
0.0022245597,
-0.028262967,
-0.0035314905,
0.04307013,
-0.007913734,
0.06884712,
0.033387598,
-0.024125533,
0.010784783,
-0.0080597615,
0.024155084,
0.014188951,
-0.049593348,
-0.06584048,
0.07459123,
0.02340233,
-0.0092924945,
-0.011839155,
-0.07421511,
0.025761167,
-0.034870915,
-0.011470384,
-0.03365654,
0.049758416,
-0.00816719,
0.016191086,
0.026215557,
-0.046364285,
0.05480482,
0.012599762,
0.03400762,
-0.026982095,
-0.02781592,
0.008006702,
-0.00907986,
-0.034682896,
-0.01684277,
-0.016194338,
-0.013850904,
0.06425695,
-0.050693657,
-0.05512171,
-0.006383048,
0.004831094,
-0.027000824,
-0.0027455746,
0.02019014,
-0.003787281,
0.016140496,
-0.010725574,
0.016616216,
0.009646299,
0.0023681684,
-0.0033797263,
-0.05399304,
0.018547488,
-0.0348047,
0.029876944,
0.036298588,
-0.07495393,
-0.0019113438,
-0.076562114,
0.038466245,
0.029315323,
0.023100806,
-0.007618701,
-0.030285323,
-0.02132341,
-0.018635588,
0.012743463,
-0.06587911,
-0.0026460227,
-0.021482531,
-0.021865644,
0.036372278,
-0.047814783,
-0.07678645,
-0.019916577,
-0.06597341,
-0.041271307,
0.042890754,
0.02489703,
0.031257756,
-0.014839521,
0.00024008725,
-0.01525242,
0.0058595566,
-0.02478792,
-0.054148134,
0.03291052,
0.036154233,
0.047897607,
0.0028934574,
-0.030358123,
0.034231503,
0.033033866,
0.031447988,
-0.011559817,
0.009437311,
0.029714098,
0.034388173,
-0.008699484,
-0.003815488,
0.03323622,
-0.05029966,
0.058681436,
0.023366531,
-0.04586032,
-0.010846763,
0.023143172,
-0.050354037,
-0.0030125398,
-0.005209793,
0.053721998,
-0.03601112,
-0.05297571,
-0.008709478,
-0.016886411,
0.036566373,
-0.035008803,
-0.005838238,
-0.01818233,
-0.036449455,
-0.05578824,
0.04526194,
-0.05000372,
0.046998248,
-0.06550708,
0.01566202,
0.047168404,
-0.0032131916,
-0.0043731076,
0.032062072,
-0.0034696497,
0.070571154,
0.036091078,
-0.009109477,
0.03601288,
0.0068159145,
0.04083591,
0.0583562,
-0.0054779314,
0.004635305,
0.014603498,
-0.034833334,
0.028457435,
-0.069108866,
-0.048268843,
-0.058200195,
0.04339331,
-0.031802475,
-0.016997105,
-0.03198934,
0.054752324,
0.029476644,
0.044704806,
-0.04336466,
-0.0014832845,
0.0032912851,
0.0047715004,
-0.0059534684,
0.04809366,
-0.04272314,
0.051300585,
0.034260307,
0.055960257,
0.04267763,
-0.02019003,
-0.04315542,
-0.0010585949,
0.03097121,
-0.061140977,
-0.022992678,
0.021286994,
0.000776757,
0.016255906,
-0.031907495,
-0.03133261,
-0.03715817,
-0.0142584415,
-0.03807996,
-0.013276649,
-0.07503173,
0.0290313,
0.003572196,
-0.046333034,
-0.013969219,
-0.0646684,
0.07092539,
-0.02342335,
0.008364228,
-0.011611809,
0.01924402,
-0.062134165,
-0.027232092,
0.008997245,
-0.01772451,
0.001927025,
-0.022795785,
0.0019911388,
0.052349336,
0.0038979063,
0.026527597,
-0.009011832,
0.04822944,
-0.007158606,
-0.018955907,
-0.005367705,
-0.0036073038,
0.04412162,
-0.032324996,
-0.011086369,
-0.0014464888,
0.004387992,
-0.043505806,
0.046026994,
-0.047756515,
0.047557723,
-0.018614868,
0.0059776697,
-0.040747955,
0.014584445,
-0.021962209,
0.01939157,
0.0009254221,
-0.05577822,
0.051663026,
0.014196351,
-0.026307644,
0.020356894,
0.041648015,
-0.022304786,
-0.014722576,
0.019541465,
-0.0036123837,
-0.05162522,
0.03483462,
0.0007311265,
-0.01623206,
0.05067098,
-0.057285607,
-0.027449185,
0.045733392,
0.037239783,
0.020539919,
-0.010156777,
0.060035072,
0.13095127,
0.011821573,
0.008348337,
-0.03778531,
0.0016994406,
0.03221329,
-0.03782467,
-0.040995274,
-0.0012110103,
0.008694557
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"test query"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
0.021620473,
0.027913807,
-0.169781,
-0.0057552755,
0.08171205,
-0.036233317,
0.044099476,
-0.01005943,
0.050948765,
-0.0347105,
0.0006938705,
0.059254564,
0.04547466,
-0.019747369,
-0.094699,
-0.05548784,
0.04957602,
-0.07063317,
0.004456102,
-0.0013219138,
0.003992316,
-0.016534463,
-0.06654829,
0.007750523,
0.13795762,
-0.049710568,
-0.05557016,
0.040072657,
-0.034097623,
-0.017494665,
0.0012326887,
-0.008057607,
0.05028682,
-0.060367405,
-0.03603009,
-0.0074676694,
0.019497357,
0.05546256,
-0.015271012,
0.01636071,
0.051274206,
0.0056277663,
0.019476349,
-0.043891314,
0.058626752,
0.004677235,
0.029893609,
0.048163883,
0.04132475,
-0.06542096,
-0.0606018,
-0.044728532,
0.048634384,
0.00040699862,
0.03650828,
0.021256568,
-0.022060085,
0.016503127,
0.014474615,
-0.017100425,
0.008531663,
0.011146427,
-0.054638952,
0.04438437,
0.041699477,
-0.0755039,
-0.014593527,
0.0151611,
-0.020887613,
0.02336283,
0.02436542,
0.00076657097,
0.03374226,
-0.029104065,
-0.026246415,
-0.043977737,
-0.04121522,
-0.032993823,
-0.01696907,
0.019426322,
0.050799303,
0.008166088,
0.032688282,
0.025931625,
0.06545249,
-0.0096534835,
-0.026338411,
-0.045113705,
0.00899324,
0.054012235,
0.070867434,
0.011168649,
0.05316635,
0.026495038,
-0.023253506,
0.042972237,
0.010416305,
0.008757316,
-0.007739451,
-0.02215089,
0.014438219,
0.008057108,
-0.014591613,
-0.021037417,
-0.0015476113,
0.025518099,
0.006401272,
0.022995872,
-0.023892155,
0.015321559,
-0.08473008,
0.088502586,
-0.05604467,
-0.0031189518,
-0.014617193,
-0.011345899,
0.03681831,
-0.0022410771,
-0.01913613,
0.0099516865,
0.011212296,
0.06256269,
-0.040144518,
0.07524861,
-0.0669644,
0.046403464,
-0.067218825,
0.0703969,
0.02018707,
0.030594531,
-0.0101554375,
-0.04434632,
-0.040739305,
-0.0055578756,
-0.014323857,
-0.010857966,
0.015155041,
0.0038601262,
-0.03857523,
-0.02845737,
-0.0037550437,
-0.0026033442,
-0.016553568,
0.0067151794,
0.018818337,
-0.029768381,
0.04956343,
0.0320089,
-0.022492947,
0.012442531,
0.0014153207,
-0.045644477,
0.073572405,
-0.016290126,
0.026606826,
-0.071760416,
-0.00873104,
0.0059533874,
0.019818656,
0.031938408,
0.034132898,
0.0021859286,
-0.027162753,
0.022562718,
0.0043730563,
-0.09534286,
0.012637702,
0.071534455,
0.052459337,
0.016889624,
-0.0557197,
-0.0870659,
0.014726411,
-0.027584016,
-0.030404389,
-0.013722814,
0.027991412,
-0.039488427,
0.052362528,
-0.02274065,
0.044918474,
-0.03270725,
0.051842358,
0.047761448,
-0.0033127293,
-0.059134316,
0.0459061,
-0.013963287,
-0.03158143,
-0.034797903,
-0.014450098,
-0.021374468,
-0.0933836,
-0.045114283,
-0.015859088,
-0.055791356,
0.053230572,
0.02854602,
0.01156222,
-0.02652449,
-0.034693014,
0.0042476445,
-0.0095278695,
0.0073814704,
-0.037104215,
0.005856336,
-0.0034214647,
-0.027950238,
0.025702944,
0.00028056256,
0.053504862,
0.013757695,
0.007105292,
0.023780156,
0.0005763905,
-0.018315643,
0.018139949,
-0.052983604,
0.011635319,
0.0041919937,
0.029590294,
-0.044993795,
-0.025784116,
-0.016568381,
0.036492117,
-0.0025981562,
-0.029801808,
-0.0050900313,
-0.03776899,
-0.0040126024,
0.008407946,
-0.07387779,
0.027821649,
-0.017629344,
0.040194172,
0.0125634335,
-0.018515171,
0.02721519,
0.017737644,
-0.0023587109,
-0.00020399412,
0.026305411,
0.004901361,
0.0017779946,
-0.021136459,
-0.019035844,
-0.0067686494,
-0.01628817,
0.037328426,
0.0345256,
-0.011516041,
0.034582205,
-0.013052615,
0.06529021,
-0.0027826305,
-0.029320333,
-0.0015050921,
-0.00033435735,
0.044129107,
-0.050101653,
-0.021459159,
-0.03639761,
0.027335905,
-0.036283832,
-0.0142763695,
-0.044667017,
-0.0475261,
-0.051154256,
-0.027646113,
-0.008408461,
0.006554618,
0.0060311933,
0.051558286,
0.042508416,
0.04247318,
-0.036540784,
0.0040931148,
0.0072228713,
0.00063334557,
-0.0011777302,
-0.049987633,
-0.012188964,
-0.01232952,
0.05796594,
0.017103106,
0.044699162,
0.018390363,
-0.042958762,
0.0115007125,
0.03339436,
0.029610991,
-0.0037127708,
0.013707231,
0.072233096,
-0.048232257,
0.0025659483,
0.056275934,
-0.055381384,
-0.014552366,
-0.030668937,
-0.0024473728,
0.014395305,
0.035010546,
0.038390614,
-0.015522446,
-0.017862692,
0.008537385,
-0.042025488,
0.06887116,
0.04368307,
-0.060842317,
-0.013070533,
-0.01447814,
0.010738127,
-0.009994192,
0.012587521,
0.028623767,
0.07105804,
0.04647883,
-0.017563492,
-0.01961681,
-0.058321316,
-0.00440669,
-0.009464673,
2.1165155e-05,
0.013205614,
0.020746334,
0.025730284,
-0.051344432,
-0.021312652,
0.022333886,
0.050461102,
-0.02013494,
-0.039235435,
0.024196878,
0.05493299,
-0.0025632826,
0.014383009,
-0.024966478,
0.024219181,
0.045980446,
-0.05346022,
0.03285922,
-0.042018875,
-0.015523831,
0.003780657,
0.011420856,
0.025196712,
-0.0042569404,
0.040787432,
-0.07903698,
-0.01779626,
-0.030717932,
0.004765178,
0.04036832,
0.009940859,
0.049281206,
0.010312763,
0.031829294,
0.008871539,
0.011144645,
-0.0046901824,
0.0020557945,
-0.029297823,
0.022279954,
0.048500977,
0.0049215583,
0.033180833,
0.03784673,
0.008510152,
-0.038959164,
0.010186599,
0.0203661,
0.07565174,
0.028473945,
0.024767688,
-0.11575782,
0.00083366246,
-0.043415222,
0.010741125,
0.050316263,
0.009942293,
0.024146104,
-0.020998012,
0.007146506,
-0.03657576,
0.03545262,
-0.013416221,
-0.0004663062,
-0.012898142,
-0.017353311,
-0.026549365,
-0.10083869,
0.04535001,
-0.0112063205,
-0.047216583,
0.015187313,
-0.005076197,
-0.05323974,
0.047319207,
-0.006483438,
-0.028812516,
-0.01131152,
-0.017943652,
-0.02759154,
0.003175442,
-0.041849144,
-0.030257823,
0.011571448,
-0.023090925,
0.026727233,
-0.0010960322,
-0.03915681,
-0.07057802,
-0.0124754,
0.014744144,
0.053664412,
0.012245103,
-0.049651116,
-0.023939861,
0.02163205,
0.032693755,
0.034615148,
-0.026412101,
0.00444278,
-0.027395824,
0.018668326,
0.048218366,
0.059625495,
-0.035657894,
-0.001966135,
0.021956101,
0.01009265,
0.02684538,
0.0008920533,
0.061648462,
-0.021002777,
0.026102202,
0.019710258,
-0.014588532,
-0.015265171,
-0.023972295,
-0.028343087,
-0.009531346,
-0.02959728,
0.1439799,
0.015581887,
-0.034460563,
-0.0068809856,
-0.009971871,
-0.025322502,
0.03369943,
0.014319521,
-0.019751854,
0.029399894,
-0.02715306,
0.05765123,
-0.01316856,
0.01362321,
0.051844887,
-0.020518694,
-0.03839453,
0.0055066273,
0.0120439455,
0.05783173,
0.00026507472,
0.014101617,
0.0057603624,
-0.013270549,
0.040725537,
-0.06018008,
-0.045642678,
0.09808221,
-0.024605667,
-0.019706737,
0.006535279,
-0.002899003,
0.0050945207,
-0.012702151,
-0.007573567,
0.0076636546,
0.023489164,
-0.045723513,
-0.0459265,
0.028210763,
-0.025769692,
0.0359153,
-0.018286806,
0.043693595,
-0.028908039,
0.038822636,
-0.0043401183,
0.005963284,
-0.031326223,
-0.0055600205,
-0.043256782,
-0.002364514,
0.0070932643,
-0.016074456,
-0.036710717,
0.007874143,
0.034928106,
0.024924245,
0.006160747,
-0.023064489,
-0.036029205,
0.014981543,
-0.085021056,
-0.047080435,
-0.030016176,
-0.049177308,
0.005295078,
0.042452544,
0.015400265,
0.042179067,
-0.031051815,
0.006335157,
0.013948926,
-0.03693514,
0.015036466,
0.045942076,
-0.008835774,
0.01213393,
0.012225005,
-0.02071201,
-0.0042567872,
-0.004159377,
-0.013537654,
0.031504683,
-0.018739503,
0.0030911493,
0.043738283,
-0.038171925,
-0.008663228,
-0.030498004,
-0.040212788,
-0.018446533,
-0.031362433,
0.013316973,
0.025803478,
-0.054956224,
-0.012498675,
-0.009063291,
-0.01727149,
0.058779333,
0.013403996,
-0.04324559,
0.00020947515,
-0.011102452,
-0.06335174,
0.0063252626,
-0.03515889,
-0.013612362,
-0.03988108,
-0.0017639356,
-0.047934115,
5.723825e-06,
-0.023577543,
0.00042559972,
-0.03771582,
0.03298355,
-0.027400127,
0.014760727,
0.02957939,
0.01829821,
-0.018012002,
-0.04650381,
0.018797677,
0.019224461,
0.0005336394,
0.011443894,
-0.045088813,
0.0006480601,
-0.05302274,
-0.023184553,
0.01413931,
0.0064031235,
0.02246942,
-0.005835129,
-0.016147766,
0.06329016,
-0.04146926,
0.016424809,
0.044952042,
0.022376185,
0.030937796,
0.019563457,
0.0034206845,
0.007866995,
-0.041931704,
-0.07885351,
-0.0062249596,
0.037008565,
-0.015693178,
0.003191863,
0.03701008,
-0.0034320687,
0.057769038,
-0.0044973358,
-0.016321642,
-0.016170792,
-0.018086096,
0.03856302,
-0.04125194,
0.020721192,
0.059823874,
0.03584033,
0.040434536,
-0.010760463,
-0.01080636,
0.015114416,
0.010984877,
-0.029766459,
0.028502736,
0.007581295,
-0.064343646,
0.05659065,
-0.029810766,
-0.02702399,
-0.036956772,
0.012316576,
-0.042224698,
-0.0015649927,
-0.014783138,
0.052455395,
-0.00021753224,
-0.03756608,
-0.01541568,
0.0035289056,
0.06264283,
0.004655295,
0.0014998496,
-0.06921021,
-0.08721128,
-0.074617855,
0.018140439,
-0.010291568,
0.035478372,
0.0274538,
0.059507012,
0.04776638,
0.02395018,
-0.074656576,
-0.00082610414,
0.013976849,
-0.015529194,
0.06325885,
0.03696627,
0.039804786,
-0.025699014,
0.10220024,
0.08094509,
-0.001992973,
-0.0030477785,
0.04262707,
0.008463161,
0.025178786,
-0.013788586,
-0.027035741,
-0.03329965,
-0.013686749,
0.031096369,
-0.016547045,
0.042494435,
0.025643801,
0.014028396,
-0.04203531,
-0.049610052,
0.023346303,
-0.078373246,
0.07511654,
0.027362656,
0.00065178715,
-0.0029182977,
0.047017444,
0.026410952,
0.011142271,
0.040402763,
-0.007152418,
-0.005628078,
-0.07434408,
-0.026194707,
0.08239112,
-0.0037609364,
0.01833292,
-0.025524355,
-0.019313741,
-0.031533387,
0.056485157,
-0.026368001,
-0.027212255,
-0.0110017145,
0.0014203364,
-0.044257708,
0.011673573,
-0.050134398,
0.02322956,
-0.040714655,
0.010684902,
0.0790314,
-0.03396196,
0.059800092,
0.023996376,
0.032863483,
-0.011984514,
-0.0032357941,
0.006493373,
0.0002991333,
-0.034232028,
-0.012327405,
0.03708426,
0.037523683,
0.014223491,
0.06844052,
0.04782556,
0.024287308,
-0.03599014,
-0.03424676,
-0.01043084,
0.00944368,
0.03895141,
-0.007946003,
-0.013756231,
-0.0002517288,
-0.046416648,
-0.060830504,
0.028685974,
0.009581129,
0.0139924055,
-0.02117811,
0.024149993,
-0.002645948,
-0.04427376,
0.032547295,
-0.013571964,
-0.008500229,
0.0019389155,
-0.02770426,
-0.015202244,
0.008875905,
-0.04313911,
0.02661179,
-0.020790672,
-0.012419334,
0.0021543375,
-0.009745247,
0.0027208643,
0.057391297,
-0.0001444122,
-0.02736112,
0.005769581,
-0.058943328,
-0.012858922,
0.049331784,
0.0014613459,
0.01102096,
0.00014683146,
0.05882351,
0.11718751,
0.0067310175,
0.0163676,
0.015283526,
0.009951764,
0.0054476177,
0.00077221147,
-0.07800442,
-0.039332133,
-0.038243063
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 2,
"total_tokens": 2
}
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"machine learning and artificial intelligence"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
-0.0055726366,
0.03758779,
-0.14073274,
-0.0028261202,
0.07147327,
0.025371972,
-0.0066179973,
-0.008440432,
-0.027689878,
0.033815898,
0.01255994,
0.041466597,
0.1394728,
0.04413591,
-0.018266913,
-0.010594185,
-0.05404993,
-0.02331191,
-0.019186607,
-0.0075088246,
-0.008019582,
0.025802018,
0.015399594,
0.018932406,
0.07705894,
0.00584616,
-0.05804286,
-0.007938182,
0.01415059,
0.03419066,
0.025758756,
-0.041143026,
0.020827321,
-0.0036771016,
-0.059706405,
-0.048277717,
0.0969666,
-0.006288603,
0.028554324,
0.03671213,
0.004421919,
0.033689786,
0.00014899831,
-0.0046071257,
0.058647178,
0.04386413,
-0.014699119,
-0.040989503,
0.07026251,
-0.016314635,
0.04359805,
-0.014725774,
0.005342329,
0.02076911,
0.0766472,
0.011564106,
-0.026253637,
0.004351187,
0.033876598,
-0.060892243,
0.13737321,
0.028928872,
-0.042754147,
0.07968156,
0.03175424,
-0.003189506,
-0.002108313,
0.023479825,
0.011494846,
0.0059559043,
-0.0010056782,
-0.021689879,
0.037786942,
0.033727527,
-0.025807424,
-0.015366761,
-0.019970872,
-0.010742837,
-0.02880859,
0.08470623,
0.051467683,
-0.040768947,
0.032566722,
-0.006370886,
0.03593552,
-0.009310957,
-0.08136231,
-0.017276974,
-0.010894151,
0.106479675,
0.02411391,
0.03771778,
0.057938684,
0.011345579,
-0.010915211,
0.0040161586,
-0.05618756,
0.00016291472,
-0.049082145,
-0.037569903,
-0.060840394,
0.02171559,
0.016445257,
-0.046207547,
0.047338583,
0.02183381,
0.00080036116,
-0.03986493,
-0.013698121,
0.022696868,
-0.0054725297,
0.05374313,
-0.02115486,
-0.006692463,
-0.051966824,
-0.051796902,
-0.010299757,
-0.004735053,
0.039228752,
0.012437073,
0.00072310836,
-0.04692196,
-0.008458627,
0.0055631157,
-0.012446129,
0.043567274,
-0.049026128,
0.02482734,
-0.011146355,
-0.04246333,
0.039104074,
-0.03278035,
-0.020479586,
-0.006234126,
-0.025613753,
0.08639122,
-0.05346669,
-0.050290037,
0.035135224,
0.03722659,
0.019267285,
0.024712428,
-0.0025617029,
-0.013935953,
-0.02692485,
-0.024748774,
0.027761493,
0.029931404,
-0.09718575,
0.030220157,
0.000874375,
0.052964512,
-0.028489627,
-0.013133571,
0.022427157,
0.0006638948,
-0.055727314,
-0.005797505,
0.03875226,
-0.012548079,
0.03381042,
-0.026273372,
-0.023157693,
0.028081235,
-0.0050815563,
-0.008282379,
0.026184075,
0.037515238,
0.02737745,
0.02041779,
-0.043154813,
0.0007157116,
0.00032018943,
0.014475151,
0.06224083,
0.009979348,
-0.01797768,
-0.083561756,
0.04808074,
-0.05024089,
0.031090736,
-0.046134256,
0.024033684,
0.03377288,
-0.0019258205,
-0.036137734,
-0.039733585,
-0.0029625504,
-0.03683732,
-0.030604793,
-0.020944368,
0.021328388,
-0.020608993,
-0.0420853,
-0.05491809,
-0.00901488,
0.022209037,
0.009653026,
0.017362706,
-0.034192756,
-0.0044500744,
-0.0396118,
-0.056855194,
-0.023356795,
-0.036584143,
0.052622057,
0.027988672,
0.00052112195,
-0.017876146,
0.0003397616,
0.056505658,
0.03723961,
0.0219598,
-0.015109099,
-0.027402155,
-0.0062603313,
-0.007751186,
-0.04877505,
0.013010676,
-0.029580085,
0.053115413,
-0.006055014,
0.023119446,
-0.017877,
0.0057433033,
0.0134622585,
-0.03449424,
-0.009676607,
-0.054523885,
0.03457906,
-0.019923769,
-0.044975106,
0.079302765,
0.0006104698,
0.030717855,
0.020598345,
0.017652651,
0.05506464,
0.008721195,
0.035736892,
-0.022522777,
0.057645034,
-0.024298128,
0.011256673,
-0.05662339,
-0.031213908,
0.010803549,
-0.04246545,
0.019976584,
0.026007812,
-0.020781737,
0.027346825,
-0.032561734,
0.019670205,
0.0046304474,
-0.027571268,
0.006930695,
0.008477638,
0.0072519886,
0.010807186,
0.043756254,
-0.04127392,
0.034697615,
-0.007031618,
0.026300237,
-0.008135164,
-0.004989022,
0.0006954738,
0.013755977,
0.0078835245,
0.02026103,
0.023480458,
0.04299564,
-0.0015504083,
-0.006060534,
0.029991196,
-0.004359388,
-0.02807185,
-0.013867878,
-0.017090457,
-0.056304526,
-0.030373072,
-0.06751273,
-0.028568732,
-0.003669821,
0.013283217,
0.014180496,
0.027181862,
0.015316264,
0.040691298,
0.021122772,
0.017264789,
-0.024679897,
-0.00704638,
-0.026887896,
0.03802021,
0.035229992,
0.032842457,
0.037448507,
-0.045819655,
0.032905355,
-0.0071612955,
0.07340684,
0.0035889267,
0.05020798,
-0.022513669,
-0.016152976,
-0.014328233,
0.039808016,
0.012659313,
-0.06731982,
0.0022997668,
0.013813673,
0.0054245763,
0.0024107988,
-0.010298754,
-0.042504966,
0.019618958,
0.041974556,
0.010016772,
0.013175887,
-0.085026965,
-0.060246117,
-0.012778929,
0.029477503,
0.07532788,
-0.001427116,
0.015594924,
-0.040753808,
-0.035380244,
0.015065211,
0.02352234,
0.018861167,
-0.022154585,
-0.06255266,
-0.0035984744,
0.028358528,
0.007203454,
-0.012354266,
0.02329183,
0.057675537,
-0.0027970872,
0.004463212,
-0.017356977,
-0.016265469,
0.013822675,
-0.0029586833,
-0.013221051,
0.015400703,
-0.0102295205,
-0.03277416,
0.021473505,
0.023890397,
0.004600832,
0.03632141,
0.003199016,
0.01728629,
0.06310019,
0.04432602,
-0.007824226,
0.02784128,
-0.05598871,
0.015813962,
-0.027676895,
-0.016882744,
-0.015714979,
0.02220521,
0.0036401239,
0.016419675,
-0.0028151204,
0.058507897,
-0.008083906,
-0.0037898025,
0.060749322,
-0.027016152,
0.018475639,
-0.05591903,
-0.04503886,
-0.034943204,
-0.01930848,
-0.04117505,
0.03013694,
-0.025298923,
0.0069293873,
0.038516946,
-0.012329543,
0.00050915516,
-0.040138986,
-0.006128133,
0.00047964088,
-0.018873213,
-0.014747335,
-0.0759526,
-0.01819908,
0.012405103,
-0.02786867,
0.00679246,
-0.009549205,
0.015769506,
0.04661448,
-0.04255141,
-0.02184417,
-0.005724239,
-0.048729498,
-0.01587459,
-0.01106075,
-0.04778009,
-0.03550024,
0.06778468,
0.020500962,
0.024167258,
0.010247341,
2.9439348e-06,
-0.06264793,
0.02467731,
-0.0569042,
0.021186134,
0.017757706,
-0.05818787,
0.0105827795,
0.03094233,
0.00072336843,
-0.016259046,
0.007888352,
-0.036146663,
0.014693995,
0.0104111,
0.050448544,
0.004762968,
-0.040818185,
0.063732564,
-0.017635256,
-0.0258791,
-0.034496512,
-0.009326162,
0.04558568,
0.002188671,
0.026831593,
0.020071523,
0.029625144,
0.031248951,
-0.0322858,
-0.034088656,
-0.018945606,
0.032556307,
0.12181285,
0.04705519,
-0.02055295,
-0.07899817,
0.038052686,
0.009379335,
0.011700234,
0.02326485,
0.0077754674,
0.06505003,
-0.022618646,
-0.011702904,
0.03082202,
0.038762085,
0.038830556,
0.011637638,
0.031108813,
-0.06299583,
0.020171175,
-0.022304576,
-0.012489327,
-0.0018578202,
-0.025269546,
0.031405464,
0.06506653,
-0.0066341,
0.03257395,
0.038948644,
-0.03932034,
-0.011333275,
0.013061859,
-0.025642361,
-0.03809061,
0.031518564,
0.05427365,
0.0042634653,
-0.0626107,
-0.007267641,
-0.03838501,
-0.013757208,
0.03583489,
-0.006429219,
0.024410333,
0.004229057,
-0.031900045,
0.04366515,
0.008353927,
0.017444134,
-0.0444271,
-0.074079126,
-0.030303683,
-0.10017178,
0.025770513,
0.016802536,
0.008713135,
-0.0004869017,
0.008767488,
-0.021118967,
0.0037063968,
-0.023383576,
-0.015041627,
0.04968291,
-0.093096875,
-0.04654022,
0.098058216,
-0.013854857,
-0.003749807,
0.03978298,
0.033881303,
0.0012076185,
-0.03799182,
0.041092657,
0.04234528,
-0.08403521,
-0.018683258,
0.072275706,
-0.010740222,
0.010807815,
0.00955574,
-0.03392568,
-0.0063302303,
0.026243962,
-0.04098879,
0.038340293,
0.0008424834,
0.028485665,
0.0077943513,
-0.030165322,
-0.027769309,
0.004651679,
0.005033484,
-0.008940051,
-0.026896829,
0.042967107,
0.017165883,
0.06631633,
-0.0019245895,
0.0032749427,
-0.037274588,
0.0034951835,
-0.013165258,
-0.007862015,
0.04194783,
-0.0030406287,
-0.09477118,
0.034842882,
-0.036814626,
-0.0029179691,
-0.008849123,
-0.0074389474,
-0.009127831,
-0.02146967,
-0.04248614,
-0.00651609,
0.0023729058,
-0.036433946,
0.0031168424,
0.06755612,
-0.014993316,
-0.045285936,
0.025940642,
-0.010275768,
-0.021722194,
0.00084657356,
0.032271072,
0.02836863,
-0.055848174,
0.0016199003,
0.008899758,
0.008555816,
-0.014915837,
-0.014079556,
-0.018109383,
-0.037231375,
-0.022198202,
0.08024568,
-0.06451723,
-0.020766106,
0.020864861,
0.03523546,
0.012211657,
-0.0570283,
-0.0013622358,
0.04106705,
-0.062760904,
-0.018206272,
0.021716602,
-0.014517323,
-0.054593526,
-0.04519974,
0.016954647,
-0.02327835,
-0.027598577,
-0.023535965,
-0.05903621,
0.0041620177,
-0.039954223,
0.046710916,
-0.006388047,
0.020479973,
0.027638791,
-0.012050759,
0.051823754,
0.04903381,
0.0069008074,
-0.03512754,
-0.011251652,
-0.014616171,
0.014784756,
0.055039458,
-0.035553962,
0.04242957,
-0.09388191,
-0.087591134,
-0.016321942,
-0.052623842,
-0.07636053,
0.032825958,
-0.015473792,
0.052168082,
-0.003604893,
0.0029646754,
-0.01555854,
0.01621538,
0.06956003,
-0.01835442,
0.0517784,
0.016805952,
-0.04840021,
-0.027128687,
0.0077580265,
-0.015057385,
0.019526443,
0.027078133,
0.07452813,
0.017071,
-0.009301505,
-0.03119231,
0.034350246,
0.0340188,
-0.023147605,
0.041815214,
0.08863121,
-0.0104886945,
-0.015345755,
0.03945793,
0.041599277,
0.010335151,
-0.03177839,
-0.043523323,
0.046266828,
0.0072918106,
-0.012197957,
0.009132112,
-0.021738917,
-0.021880707,
0.013465258,
0.0050371876,
-0.008430583,
0.04109797,
-0.020646464,
-0.036139004,
0.010499862,
-0.07939189,
-0.06501907,
0.033503268,
-0.012798389,
0.024077661,
-0.041221693,
-0.0050737844,
0.049661387,
0.019008912,
0.02467624,
-0.026790015,
-0.008536108,
-0.026450286,
-0.021262454,
0.019801894,
-0.027394805,
0.0008564678,
-0.032779545,
0.052298795,
-0.024265694,
0.017661352,
-0.07038125,
-0.02454946,
-0.07169627,
-0.01705358,
-0.0062632,
-0.014406639,
0.033080865,
-0.039415132,
0.028597385,
0.05657959,
0.063139535,
-0.011624071,
0.04524019,
0.032662436,
0.04697864,
-0.054036353,
0.004408054,
0.007875965,
0.03307435,
-0.012253569,
-0.021469655,
-0.015537069,
0.017215775,
-0.023675416,
0.080179304,
-0.022867741,
-0.013489164,
-0.028108824,
-0.045177963,
-0.023673253,
0.04031029,
0.040819284,
-0.03210277,
-0.03916873,
-0.017087357,
-0.03698465,
-0.04077409,
0.021928439,
-0.026817646,
-0.01106303,
0.004512083,
0.023710325,
-0.0245082,
-0.048106957,
0.0050511425,
-0.0072124526,
0.019437807,
-0.05639996,
-0.018387474,
-0.04654496,
0.011461513,
-0.0105791325,
0.0033555275,
0.043007024,
0.023549581,
0.011049015,
-0.02588134,
-0.013378935,
0.051739335,
0.021091674,
-0.01786458,
-0.006382594,
0.015551687,
-0.052483745,
0.010794458,
-0.017585343,
0.038107336,
-0.030182848,
0.07094169,
0.12957415,
-0.009040866,
0.038507964,
-0.058074147,
0.013483132,
-0.0170141,
-0.028936993,
0.015603824,
-0.06157329,
-0.00049588573
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 5,
"total_tokens": 5
}
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"This is a test file 1"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 46603978,
"load_duration": 6383578,
"prompt_eval_count": 6,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
0.02677472,
0.030941864,
-0.15667002,
-0.031780418,
0.04867571,
-0.0033791913,
0.049326245,
0.012012352,
-0.06391863,
-0.04249666,
0.00068981014,
0.04591841,
-0.008739196,
0.016720219,
-0.067609966,
-0.041466355,
0.06252765,
-0.0649922,
-0.0067284633,
-0.051655296,
0.002644141,
-0.0265924,
-0.08702576,
-0.020829214,
0.13259922,
0.022176685,
-0.06337211,
0.04159582,
-0.09539463,
-0.016358294,
0.04016329,
-0.036466528,
0.017168593,
-0.03516334,
-0.01039418,
-0.027008642,
0.034716662,
0.029264757,
0.051574804,
0.021052886,
-0.030086013,
-0.008431019,
0.005019218,
-0.0084756585,
0.03013821,
0.0116420295,
0.003028769,
0.044338316,
0.0090234745,
0.0036121865,
0.011538475,
0.016290179,
-0.021363948,
0.027147356,
0.033906475,
-0.0024581468,
0.0056164716,
0.0058094794,
0.005620889,
-0.06036362,
0.028036552,
0.025600454,
-0.08135111,
0.035801444,
-0.0067440784,
-0.046113547,
-0.02807406,
0.003661052,
-0.012430463,
0.0020873228,
0.08872001,
-0.009109363,
0.037735496,
-0.019480282,
0.012832348,
-0.044004086,
0.016713593,
-0.05801747,
-0.05454108,
-0.010671951,
0.06357424,
0.041256018,
0.006753769,
0.039273124,
0.09383153,
-0.028998096,
-0.029756611,
-0.014342501,
0.0068585076,
0.03448338,
0.016225118,
0.032510933,
0.023643354,
-0.011663315,
-0.011949663,
0.00330939,
-0.007874707,
0.041300997,
-0.004358568,
0.0022590929,
0.037951183,
0.015898444,
0.018214239,
-0.027173964,
0.024746928,
0.012276953,
-0.01367648,
0.008671508,
-0.06825009,
-0.021046175,
0.0016031911,
0.024150291,
-0.01837417,
-0.025224004,
0.01370162,
-0.018997153,
0.0683272,
-0.025137793,
-0.027680213,
0.0023579404,
-0.0100643635,
-0.017681785,
0.026501093,
0.06962629,
0.02407538,
0.044663057,
-0.06258735,
0.031589016,
0.0054444023,
-0.038445998,
-0.011103176,
0.018960575,
0.015660487,
-0.03254055,
0.0063389805,
0.022507403,
0.008260846,
0.011190787,
-0.0584662,
-0.01714698,
-0.029933492,
-0.011147134,
0.026957288,
0.017541299,
0.045435984,
-0.02189894,
0.028393134,
0.022568539,
-0.019912273,
0.004163208,
0.05310164,
0.0054425374,
0.015139224,
0.013279267,
0.013352913,
-0.067840494,
0.018727032,
-0.0025276712,
0.023739405,
0.058409013,
0.00020074271,
-0.021957124,
-0.030850582,
0.028407453,
-0.04798452,
-0.04298271,
-0.0011377198,
0.086340934,
0.07840114,
-0.043920003,
-0.023557413,
-0.057167083,
-0.025218671,
-0.01597988,
-0.05411297,
-0.031483155,
0.008345011,
-0.022176268,
0.02113642,
-0.02282768,
0.03677377,
-0.010508491,
0.0033288135,
0.026623297,
-0.004048295,
-0.037441004,
-0.0025744867,
-0.029911317,
-0.062168434,
-0.0029332903,
-0.0032502622,
-0.016843956,
-0.08549612,
-0.065053545,
0.019302744,
-0.04867665,
0.009750192,
-0.03023908,
0.028217306,
-0.006924248,
-0.0024394055,
-0.011467278,
-0.044175033,
0.019444365,
-0.028506715,
-0.021438625,
-0.012606206,
-0.026894132,
-0.016626481,
0.0069388035,
0.038838085,
-0.019479796,
-0.035983875,
0.03431603,
0.04614581,
-0.034680493,
-0.011663218,
-0.023605734,
-0.03209827,
-0.023844607,
0.011276258,
0.004139838,
0.053763382,
-0.03409799,
0.0032689827,
-0.02396363,
-0.057935674,
-0.038371332,
-0.023447687,
-0.031385668,
-0.018287748,
-0.044453528,
0.02377194,
0.012135744,
-0.009930183,
-0.016578507,
-0.039125364,
0.061466772,
-0.022705417,
0.04646387,
-0.035661664,
0.038345434,
-0.0005845132,
-0.010868163,
-0.01060013,
0.0040302025,
-0.0118558565,
-0.030646877,
0.0533116,
0.016597895,
-0.03436539,
0.019076005,
0.02483633,
0.06013104,
0.022484452,
-0.025427299,
-0.0072121564,
-0.026703564,
0.03282846,
-0.04571629,
0.015076348,
-0.048033737,
0.033276133,
-0.015665406,
-0.047723766,
-0.009108103,
-0.029860225,
0.03182517,
-0.041550323,
-0.036280617,
-0.031786323,
0.01783114,
-0.006913253,
-0.019591128,
0.021890623,
-0.031703718,
0.0078716725,
0.025836864,
-0.0005880041,
0.03562437,
-0.018673368,
0.009600237,
-0.00935094,
0.016192332,
0.03760871,
0.0069485004,
0.04817525,
-0.0064135343,
0.026043655,
0.029696865,
-0.0013224413,
0.04269062,
-0.00679953,
0.022868425,
0.014577837,
0.0071318285,
0.043496303,
-0.014606047,
0.020026471,
0.012868925,
-0.020092357,
0.022813138,
0.031228691,
0.04425548,
0.025824796,
-0.03152757,
0.037171192,
-0.032706898,
0.018723806,
0.033394065,
-0.071654074,
0.0088635795,
-0.034078658,
0.011080322,
-0.03268721,
0.048777677,
0.0436117,
0.013546695,
0.0718868,
-0.030770509,
-0.0058506387,
-0.079712115,
-0.03594686,
0.012658708,
0.022816505,
0.023608902,
0.006517537,
0.05033326,
-0.027021125,
-0.057023942,
0.066532,
0.075727515,
-0.06389971,
-0.03971891,
0.03386855,
0.029042734,
0.03422356,
0.04849044,
0.0042680628,
0.050842173,
0.017980555,
0.030996732,
0.035001025,
0.0069434117,
0.0358752,
-0.054875866,
-0.015150956,
0.031092217,
-0.0034399196,
0.070562646,
0.0069639906,
0.0054792925,
0.02223838,
0.0026914217,
0.009320447,
0.02244507,
0.041254822,
-0.021905903,
0.03901841,
-0.019353095,
0.037697647,
-0.016234051,
-0.01608561,
-0.009650818,
0.018454565,
0.01104161,
-0.034111224,
0.016900366,
0.07328901,
0.022216577,
-0.017110962,
0.0017291801,
0.059564367,
0.063429825,
0.042016845,
0.042888366,
-0.07192681,
-0.009067923,
0.0035203802,
0.040294215,
0.05171481,
-0.027124982,
0.0279935,
0.033811912,
0.005924817,
-0.011665128,
0.02677691,
-0.010961608,
0.056075767,
-0.0005485002,
-0.016493188,
0.017960183,
-0.08018915,
0.04319475,
0.01101686,
0.004069606,
0.01761567,
-0.006804515,
-0.051012456,
-0.008975473,
-0.013591205,
-0.012144154,
-0.006747242,
0.015034424,
-0.020088369,
-0.010993353,
-0.029055284,
-0.04632503,
0.02037069,
0.0072794417,
0.027561164,
-0.024555583,
-0.018160552,
-0.060863115,
0.0025238637,
0.02512478,
0.03789586,
9.780039e-05,
0.014476756,
-0.0122205485,
0.0050459704,
0.045654777,
0.013759676,
-0.020127686,
-0.03688545,
-0.007382932,
0.05673287,
0.06865606,
-0.01697262,
-0.090259254,
-0.020050533,
0.013738292,
0.02862413,
-0.007093044,
-0.026896691,
0.07486323,
0.00048873055,
-0.009811599,
-0.033891942,
0.027395064,
0.041430663,
-0.054533545,
-0.046695188,
-0.010616897,
0.015102949,
0.11970185,
0.08717462,
-0.043464817,
-0.045438517,
-0.0114817945,
-0.005325696,
0.01819109,
-0.023513177,
0.024378385,
0.07168493,
-0.029713271,
0.05979157,
-0.01829654,
0.0001904544,
0.058861196,
-0.0046321996,
0.011134487,
0.07018605,
0.029077567,
0.011817007,
-0.016134005,
0.030316327,
-0.04006056,
0.005597001,
0.059321366,
-0.013946027,
-0.05688957,
-0.0043339822,
-0.044788774,
0.008737329,
0.018124318,
-0.033753995,
0.023969293,
-0.04449261,
0.019107156,
0.039316755,
0.0042485385,
-0.05196521,
-0.039233916,
0.022276755,
-0.006326326,
0.0291069,
0.014493599,
0.027650902,
0.02060159,
0.027770845,
0.01954406,
0.07653325,
0.038179148,
0.013047572,
-0.02158699,
-0.0040508728,
-0.032583926,
-0.008686103,
-0.0010159805,
0.019813929,
-0.005115707,
-0.004137538,
-0.014622748,
-0.017420044,
-0.01881557,
0.00931889,
-0.034724705,
-0.09951143,
-0.011822071,
-0.04854422,
-0.015294929,
0.0039790445,
0.034585405,
0.08652326,
0.0023226955,
0.024213148,
0.0017893966,
-0.030160772,
0.029798808,
0.029257255,
0.0032784669,
0.030667355,
-0.017075822,
-0.10480226,
0.04529026,
-0.004423777,
-0.02981933,
0.08506133,
0.0682494,
0.016473267,
0.01205411,
-0.012771412,
-0.006278446,
-0.008318219,
-0.0017349939,
-0.05944046,
-0.0042167106,
0.005693538,
0.061192214,
-0.06575179,
-0.017758716,
0.012685767,
-0.04639458,
0.0053697214,
-0.030077389,
-0.06816862,
0.041400295,
-0.008740166,
-0.065030985,
0.042985585,
-0.03953009,
-0.060726844,
-0.023447856,
0.026061086,
-0.038672224,
0.0051503615,
-0.047632433,
-0.020514932,
-0.038162023,
0.01833706,
0.0031224145,
0.00039451322,
-0.000566077,
0.023323203,
-0.039752666,
-0.011877217,
-0.0008356547,
0.00125655,
0.023844847,
0.011086396,
-0.029552136,
0.0025251193,
-0.030487081,
-0.031061137,
0.032155003,
0.016566968,
0.053850286,
-0.04559756,
-0.03642383,
0.042838383,
-0.0032927298,
0.010824938,
0.029298987,
-0.0074115107,
0.0031700858,
0.0066078096,
-0.015916385,
0.03645666,
-0.035837375,
-0.035440266,
-0.030025302,
0.00885319,
0.008420091,
-0.020215843,
0.0029321166,
0.0052278307,
-0.025063436,
-0.017041774,
-0.041332513,
0.000690702,
0.014622537,
-0.006039043,
-0.046511643,
-0.029145584,
0.004014528,
0.0453502,
0.015185325,
-0.0013534713,
0.0013212956,
0.06329815,
0.00826875,
-0.084322505,
0.007818475,
-0.015032623,
-0.036031403,
0.053299304,
-0.02831763,
0.019666553,
-0.040114563,
0.020928448,
-0.04364561,
0.06002298,
-0.029126104,
-0.0045929067,
-0.00978126,
-0.038711198,
0.0104036415,
0.059904993,
0.07693182,
-0.06093226,
0.030045735,
-0.054895446,
-0.053867023,
-0.062480137,
0.0057383482,
-0.046853792,
0.018467741,
0.05053984,
0.07668424,
0.045239978,
0.021200206,
-0.01079267,
-0.049778398,
0.009304062,
0.036618788,
0.0076110256,
0.057247672,
0.030699413,
-0.047606904,
0.0683096,
0.06861379,
0.035351373,
-0.022210274,
-0.003944419,
0.0056580836,
0.04339384,
-0.049750585,
-0.05994943,
-0.060973316,
-0.0027282985,
0.020575376,
-0.05612958,
0.008537348,
0.008136603,
0.022913344,
-0.0012014996,
-0.02416079,
0.0065704435,
-0.07728631,
0.023386426,
0.010133779,
0.06605594,
0.019532315,
-0.027425172,
0.031775128,
0.04229134,
0.068178356,
0.0013204314,
-0.037157394,
-0.06037113,
-0.038628187,
0.05820818,
0.032514967,
0.040428683,
-0.080996156,
-0.007889068,
-0.058997042,
-0.021176152,
0.008709909,
-0.006069547,
-0.018228978,
-0.016370406,
-0.04131083,
-0.0098481625,
-0.0014613796,
0.0708496,
0.003142781,
-0.017391587,
0.043653335,
0.008182604,
0.031963103,
0.0059576114,
0.04653211,
-0.03873794,
-0.02989591,
0.006415955,
0.007794782,
-0.053291507,
-0.04323005,
0.030573908,
0.027475277,
0.0054794485,
0.07692471,
-0.02822654,
0.008572378,
-0.014463476,
0.011854354,
-0.0035191758,
0.009788215,
0.09012054,
0.044467583,
-0.033448875,
0.011269375,
-0.0009373983,
-0.04293165,
0.0075986693,
-0.033926576,
0.056188893,
-0.05795038,
-0.044657208,
-0.038282998,
-0.030264413,
0.023192063,
-0.018675342,
0.0075905314,
0.0009921542,
-0.03609892,
0.009558043,
0.03299548,
0.0029710769,
0.050821364,
-0.017401243,
-0.016069688,
-0.04869947,
0.011516557,
-0.028773425,
0.027971322,
-0.004778359,
-0.005546814,
0.028500797,
-0.053007014,
0.011258761,
0.03242818,
-0.0041907816,
-0.018487912,
-0.03317324,
-0.0035926753,
0.08259465,
-0.06399537,
0.0023048194,
-0.032274384,
0.028794758,
0.009771137,
-0.012221115,
-0.050449286,
0.008639133,
-0.0530566
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"What inspires neural networks?"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 47514489,
"load_duration": 8065403,
"prompt_eval_count": 6,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
-0.0050431904,
0.07983695,
-0.15914112,
-0.015198486,
0.068563275,
-0.025228916,
0.013693369,
0.011115736,
-0.021954317,
-0.014400703,
-0.055753257,
0.04808703,
0.12424137,
0.053818446,
-0.032021143,
0.032936282,
-0.077245556,
-0.016150987,
-0.0012475019,
-0.015725262,
-0.06722606,
-0.028758537,
0.034879677,
-0.0017009847,
0.061603274,
0.02183855,
-0.02254844,
-0.033679843,
0.015556232,
0.009950109,
0.0811523,
-0.06635655,
-0.025737982,
0.005893309,
-0.072128356,
-0.0153495325,
0.031706326,
-0.015330127,
0.011819549,
0.05201849,
-0.00832217,
-0.01374412,
-0.069180205,
-0.016417552,
0.007072401,
0.026307967,
0.021488506,
-0.05378327,
0.0720296,
-0.036073707,
0.016778868,
-0.01522678,
-0.023790577,
-0.01733853,
0.08100097,
0.017553061,
0.008478871,
-0.011039339,
0.021132812,
0.0012898877,
0.057318825,
0.04457955,
-0.006790531,
0.049727485,
0.032672472,
-0.018711708,
-0.047938097,
0.05474506,
0.010027209,
0.027577044,
0.016959282,
-0.0005811365,
0.028500155,
0.049669378,
0.029912744,
0.043969356,
-0.042461883,
0.015930464,
-0.029305954,
0.052589104,
0.08656871,
0.0042163767,
-0.029521594,
-0.009744031,
0.043353472,
0.04407717,
-0.029290488,
0.002444873,
-0.030433271,
0.08219813,
0.046363704,
0.008015424,
0.01771151,
-0.034541957,
-0.03440718,
-0.019230403,
0.013620928,
-0.0012504834,
-0.063047245,
-0.030155236,
-0.026724381,
-0.043841206,
0.009897755,
-0.050113663,
0.030608574,
-0.010396465,
0.006742327,
-0.025451565,
0.015179509,
0.01136641,
-0.004652383,
0.0003837117,
-0.010443622,
-0.0021024353,
-0.046125248,
-0.02239573,
0.018054165,
-0.025662864,
0.036573313,
0.08001816,
0.025779536,
-0.017018477,
0.0073616793,
-0.0074431654,
0.013060492,
0.072542176,
-0.015627783,
-0.019109396,
-0.010134801,
-0.048570443,
0.03847773,
-0.0065800655,
-0.05217389,
-0.059281863,
0.032091163,
0.061510593,
-0.048714574,
-0.03464238,
0.013727599,
0.00789396,
0.032645546,
-0.037378054,
0.024870398,
-0.016263178,
-0.017703118,
-0.035032347,
0.001388411,
0.0036680815,
-0.029534055,
0.0316252,
-0.024728848,
0.028922085,
0.01768133,
-0.037233703,
0.063668296,
-0.041935135,
-0.03430323,
-0.042508345,
-0.002690669,
0.008956949,
0.068578675,
-0.0043232343,
0.031421263,
-0.0052881176,
-0.042442184,
-0.037667427,
0.037035327,
0.00931835,
0.03278967,
0.063214935,
-0.045502137,
0.022178957,
-0.03588311,
0.028414818,
0.050472017,
-0.0034108292,
0.006961812,
-0.01647058,
0.031248035,
-0.046278033,
0.01748863,
-0.044362284,
0.041485615,
0.044448722,
-0.0052134213,
0.0112144975,
-0.017363103,
-0.0050427685,
-0.047385164,
-0.006752843,
0.010373556,
0.003134579,
-0.047860954,
-0.031078152,
-0.049191747,
-0.02670109,
0.0077571217,
-0.022535468,
0.0542476,
0.01146026,
-0.02377721,
-0.012594584,
-0.056449912,
-0.007830472,
-0.038024362,
0.04502152,
-0.013073159,
0.04374128,
0.016199019,
-0.004131204,
0.049439188,
0.007689322,
-0.0021528697,
-0.021787165,
-0.031679317,
0.025952045,
0.0012495377,
-0.016568834,
-0.0051942444,
0.023099339,
0.02649877,
-0.007670176,
0.04550876,
-0.019883942,
-0.0065077404,
-0.028927835,
-0.03769411,
-0.015801031,
0.009037725,
0.02040818,
-0.02132764,
-0.043500304,
0.030109974,
0.013339056,
0.05150394,
0.013382349,
0.084182225,
0.012122973,
0.014310072,
-0.021241913,
0.019761583,
0.010653773,
-0.0028425436,
-0.004489673,
-0.046851344,
-0.01457903,
0.0044874586,
-0.052169368,
-0.010132795,
0.038625263,
0.018460393,
-0.0016788384,
-0.0036409972,
0.018667676,
0.053868625,
0.006535461,
-0.0063354755,
0.035146255,
-0.0033493275,
-0.05084772,
0.059060827,
-0.018074749,
0.012259292,
-0.032976598,
0.015095471,
-0.05459491,
0.01582685,
-0.036708847,
-0.012835503,
-0.018361302,
-0.024281036,
0.059405774,
0.0153851425,
-0.028133942,
0.0092885075,
0.037945345,
0.024901291,
0.025374947,
0.0055965804,
-0.020197101,
-0.067405865,
-0.009162137,
-0.049429994,
-0.041401085,
-0.028137624,
-0.0012147739,
0.06574797,
-0.009749889,
0.02409091,
0.022493992,
0.017121498,
-0.054658003,
0.015583917,
0.017551722,
0.0042014,
-0.021638043,
0.08918119,
-0.010674125,
-0.0013205395,
-0.040893577,
0.0040332507,
0.009866691,
0.03850925,
0.012248597,
-0.021409722,
-0.03559031,
-0.04188451,
0.00108829,
-0.0052976278,
0.027319996,
-0.090057775,
0.0131189395,
0.01581113,
-0.0064420598,
-0.01048361,
0.03805895,
0.0019617279,
0.030334793,
0.06926865,
-0.045806978,
-0.02625408,
-0.05017023,
-0.06987046,
-0.020796113,
-0.0021418615,
0.039643783,
0.022978691,
0.009100604,
-0.0025434548,
-0.015484245,
0.04272061,
-0.006716447,
-0.008243292,
-0.016239906,
-0.0031362483,
-0.04477686,
-0.035910748,
0.05360001,
-0.006929261,
0.044229783,
-0.012027688,
0.015578189,
-0.008688844,
-0.067102924,
-0.03292922,
0.02689141,
0.0010452964,
-0.04127957,
0.01773159,
-0.0099132545,
-0.048269514,
0.008994375,
-0.00886819,
-0.016401256,
-0.0051601664,
-0.022274598,
0.04128316,
0.06917283,
0.02922875,
0.013387438,
0.044686284,
0.0017199517,
0.013894681,
-0.035921212,
-0.060649153,
0.018018669,
0.017801227,
-0.00043086166,
0.019606426,
0.01260685,
0.034803797,
-0.0023774763,
-0.013781509,
0.050794937,
-0.044297647,
0.055503577,
-0.08918032,
-0.03899143,
-0.03701847,
0.003944103,
-0.015036878,
-0.020209251,
0.033706225,
-0.013589549,
0.03722574,
0.019822435,
-0.023515703,
-0.03770676,
0.025382794,
0.006160582,
-0.020038692,
0.040346995,
-0.07936116,
-0.03122553,
0.035320774,
-0.054265894,
0.047002353,
0.0015979725,
0.070094496,
0.007652476,
-0.018813642,
-0.053926177,
-0.05027602,
-0.034307804,
0.008440788,
0.012385809,
0.00033758962,
-0.04659881,
0.04300303,
-0.019680055,
-0.00059104164,
0.062200658,
0.042648137,
-0.05002409,
0.021436332,
-0.024880541,
0.06857848,
0.06095329,
-0.014559067,
0.032403667,
0.010232144,
0.0151018975,
0.009254106,
0.022789607,
0.02725161,
0.043078188,
-0.000851116,
0.0002907535,
-0.058438413,
-0.018258912,
0.03018818,
-0.023430906,
-0.013687733,
-0.0128717385,
-0.030748174,
0.034990452,
-0.013405182,
0.048188332,
0.013950512,
0.055709716,
0.04240635,
-0.006039804,
0.0031869186,
-0.042496286,
0.048501376,
0.087322295,
0.0026739177,
0.0011022078,
-0.093767785,
0.06750179,
0.018455707,
0.012728859,
0.0290457,
0.004030208,
0.073949136,
0.0031103452,
0.028891563,
0.0061709457,
0.03711661,
0.03329447,
-0.0039911964,
-0.011535337,
-0.05368636,
0.010430533,
-0.03888088,
-0.00033137822,
0.0007287878,
-0.04785794,
0.053287014,
0.020948475,
0.004784586,
0.04327455,
0.021545647,
-0.0026617001,
-0.007220088,
-0.0021315329,
0.061624315,
-0.016118705,
0.035912998,
0.05858156,
0.014515531,
-0.020100564,
-0.052069522,
-0.08221398,
0.009006891,
-0.000641619,
0.019567328,
0.018354177,
-0.013980042,
-0.022132011,
-0.0071749063,
0.033413306,
-0.049458228,
-0.003411922,
-0.015794149,
-0.026588911,
-0.0712311,
0.049517907,
0.03611532,
-0.0027654287,
0.02648056,
0.03799325,
-0.045260422,
-0.0039488915,
0.018535258,
-0.01202191,
0.025425049,
-0.066101,
-0.029493138,
0.009352922,
-0.04815572,
-0.00078744255,
-0.014830628,
0.00985318,
-0.00089964696,
-0.037638456,
-0.020209283,
-0.024071677,
-0.023627825,
0.015345594,
0.030945128,
-0.035906438,
-0.021735685,
-0.02057747,
-0.012730045,
0.039305683,
-0.03372724,
0.0028924334,
0.048086785,
-0.003469586,
0.041861687,
-0.01651466,
-0.056703646,
-0.0026974753,
0.040093638,
-0.016038204,
0.01660836,
-0.015355346,
0.014222605,
-0.016131593,
0.058223635,
-0.0043853833,
0.009241659,
-0.0037523906,
-0.0044754464,
-0.027581176,
-0.025409574,
0.028438559,
-0.017977443,
-0.06812175,
0.01688471,
0.0027021398,
-0.008467892,
0.01257022,
0.004435785,
-0.041927423,
-0.019233864,
-0.028785357,
0.0046895365,
-0.03651274,
0.018352093,
0.021881897,
0.036055297,
-0.006049414,
-0.03768076,
0.043038186,
-0.019430043,
0.010047086,
0.038734745,
0.07813043,
0.06600668,
-0.045451947,
0.007069179,
0.004496004,
-0.011548554,
-0.046042,
0.06798199,
-0.008593701,
-0.08696804,
-0.05292275,
-0.016977143,
-0.07520479,
0.029066458,
-0.024782913,
-0.0096219545,
0.005668475,
-0.039538745,
-0.013323385,
0.054268673,
-0.034942485,
-0.035588264,
-0.007808041,
-0.028383307,
-0.056151025,
-0.011849255,
-0.017395807,
-0.052520297,
-0.00033966068,
-0.040860854,
-0.02147358,
0.025562335,
0.016279114,
0.055561904,
-0.0043953094,
-0.051337503,
0.048832227,
0.012733344,
0.0074338345,
-0.0034132795,
0.051703624,
-0.018186914,
-0.004437302,
-0.0056251404,
-0.015658181,
0.075761385,
-0.01858316,
0.035752207,
-0.015505403,
-0.054325536,
0.013062152,
-0.019772485,
-0.036618207,
0.07009239,
0.0061930143,
0.04677856,
-0.005198393,
-0.06450841,
-0.012708175,
0.0017703002,
0.040896382,
-0.058100134,
0.05954578,
-0.100279756,
0.0028294618,
-0.077727444,
0.008914284,
0.0080719,
0.03881815,
0.017954735,
0.007447408,
0.0011345121,
-0.05048519,
-0.039078023,
0.028253902,
0.044468667,
0.010109414,
0.057948574,
0.084054515,
0.037633587,
0.0017468535,
0.077875376,
0.012513707,
0.05368355,
-0.004321204,
-0.04407038,
0.003342438,
0.028840505,
-0.05713609,
-0.030208949,
-0.015956083,
-0.04398592,
-0.0003338245,
-0.019189022,
0.0051421383,
0.005998702,
-0.056465454,
-0.0011846442,
-0.020207675,
-0.03794564,
-0.008714775,
0.035006754,
-0.04132764,
0.0021705274,
-0.0439883,
-0.032893825,
0.02789339,
0.008734119,
0.057372645,
0.01332189,
0.0012191895,
-0.0033005544,
0.01850204,
-0.0026491894,
-0.057301134,
0.023812076,
-0.01251028,
0.026695816,
0.006280155,
-0.01759368,
-0.04756993,
-0.02630156,
-0.07508561,
0.008504518,
-0.043269098,
-0.05145985,
0.05350243,
-0.04755056,
0.029703166,
-0.017597945,
0.06250041,
-0.06016417,
0.06653413,
-0.016946755,
0.047101825,
-0.022579597,
0.008127067,
0.023833975,
-0.02813946,
-0.013039984,
-0.036107074,
-0.043653734,
0.024050226,
0.04399057,
0.09336265,
0.006534921,
0.048648696,
0.022939295,
-0.031517096,
-0.026839457,
0.07211498,
0.029019814,
0.009881218,
-0.07664708,
0.017981265,
-0.036385953,
-0.030298837,
0.022921786,
-0.028463267,
-0.02937664,
0.010823232,
0.0067931535,
-0.031216819,
-0.04555875,
-0.0046104183,
-0.0074561643,
-0.021015901,
-0.05835412,
0.0034862612,
0.044975843,
-0.008261614,
-0.011101364,
0.026063345,
0.016826522,
-0.026054956,
-0.0025118885,
0.017519895,
0.015515732,
0.046909466,
0.011520791,
-0.03838233,
0.02977564,
-0.017793136,
-0.0061859833,
0.013111647,
0.027452856,
0.01725379,
-0.06333028,
0.075123265,
0.10740957,
-0.008957558,
0.04273554,
-0.0031129292,
0.06842765,
-0.009068904,
-0.030188441,
0.042828284,
-0.037308767,
0.012807761
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"What inspires neural networks?"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
-0.0050431904,
0.07983695,
-0.15914112,
-0.015198486,
0.068563275,
-0.025228916,
0.013693369,
0.011115736,
-0.021954317,
-0.014400703,
-0.055753257,
0.04808703,
0.12424137,
0.053818446,
-0.032021143,
0.032936282,
-0.077245556,
-0.016150987,
-0.0012475019,
-0.015725262,
-0.06722606,
-0.028758537,
0.034879677,
-0.0017009847,
0.061603274,
0.02183855,
-0.02254844,
-0.033679843,
0.015556232,
0.009950109,
0.0811523,
-0.06635655,
-0.025737982,
0.005893309,
-0.072128356,
-0.0153495325,
0.031706326,
-0.015330127,
0.011819549,
0.05201849,
-0.00832217,
-0.01374412,
-0.069180205,
-0.016417552,
0.007072401,
0.026307967,
0.021488506,
-0.05378327,
0.0720296,
-0.036073707,
0.016778868,
-0.01522678,
-0.023790577,
-0.01733853,
0.08100097,
0.017553061,
0.008478871,
-0.011039339,
0.021132812,
0.0012898877,
0.057318825,
0.04457955,
-0.006790531,
0.049727485,
0.032672472,
-0.018711708,
-0.047938097,
0.05474506,
0.010027209,
0.027577044,
0.016959282,
-0.0005811365,
0.028500155,
0.049669378,
0.029912744,
0.043969356,
-0.042461883,
0.015930464,
-0.029305954,
0.052589104,
0.08656871,
0.0042163767,
-0.029521594,
-0.009744031,
0.043353472,
0.04407717,
-0.029290488,
0.002444873,
-0.030433271,
0.08219813,
0.046363704,
0.008015424,
0.01771151,
-0.034541957,
-0.03440718,
-0.019230403,
0.013620928,
-0.0012504834,
-0.063047245,
-0.030155236,
-0.026724381,
-0.043841206,
0.009897755,
-0.050113663,
0.030608574,
-0.010396465,
0.006742327,
-0.025451565,
0.015179509,
0.01136641,
-0.004652383,
0.0003837117,
-0.010443622,
-0.0021024353,
-0.046125248,
-0.02239573,
0.018054165,
-0.025662864,
0.036573313,
0.08001816,
0.025779536,
-0.017018477,
0.0073616793,
-0.0074431654,
0.013060492,
0.072542176,
-0.015627783,
-0.019109396,
-0.010134801,
-0.048570443,
0.03847773,
-0.0065800655,
-0.05217389,
-0.059281863,
0.032091163,
0.061510593,
-0.048714574,
-0.03464238,
0.013727599,
0.00789396,
0.032645546,
-0.037378054,
0.024870398,
-0.016263178,
-0.017703118,
-0.035032347,
0.001388411,
0.0036680815,
-0.029534055,
0.0316252,
-0.024728848,
0.028922085,
0.01768133,
-0.037233703,
0.063668296,
-0.041935135,
-0.03430323,
-0.042508345,
-0.002690669,
0.008956949,
0.068578675,
-0.0043232343,
0.031421263,
-0.0052881176,
-0.042442184,
-0.037667427,
0.037035327,
0.00931835,
0.03278967,
0.063214935,
-0.045502137,
0.022178957,
-0.03588311,
0.028414818,
0.050472017,
-0.0034108292,
0.006961812,
-0.01647058,
0.031248035,
-0.046278033,
0.01748863,
-0.044362284,
0.041485615,
0.044448722,
-0.0052134213,
0.0112144975,
-0.017363103,
-0.0050427685,
-0.047385164,
-0.006752843,
0.010373556,
0.003134579,
-0.047860954,
-0.031078152,
-0.049191747,
-0.02670109,
0.0077571217,
-0.022535468,
0.0542476,
0.01146026,
-0.02377721,
-0.012594584,
-0.056449912,
-0.007830472,
-0.038024362,
0.04502152,
-0.013073159,
0.04374128,
0.016199019,
-0.004131204,
0.049439188,
0.007689322,
-0.0021528697,
-0.021787165,
-0.031679317,
0.025952045,
0.0012495377,
-0.016568834,
-0.0051942444,
0.023099339,
0.02649877,
-0.007670176,
0.04550876,
-0.019883942,
-0.0065077404,
-0.028927835,
-0.03769411,
-0.015801031,
0.009037725,
0.02040818,
-0.02132764,
-0.043500304,
0.030109974,
0.013339056,
0.05150394,
0.013382349,
0.084182225,
0.012122973,
0.014310072,
-0.021241913,
0.019761583,
0.010653773,
-0.0028425436,
-0.004489673,
-0.046851344,
-0.01457903,
0.0044874586,
-0.052169368,
-0.010132795,
0.038625263,
0.018460393,
-0.0016788384,
-0.0036409972,
0.018667676,
0.053868625,
0.006535461,
-0.0063354755,
0.035146255,
-0.0033493275,
-0.05084772,
0.059060827,
-0.018074749,
0.012259292,
-0.032976598,
0.015095471,
-0.05459491,
0.01582685,
-0.036708847,
-0.012835503,
-0.018361302,
-0.024281036,
0.059405774,
0.0153851425,
-0.028133942,
0.0092885075,
0.037945345,
0.024901291,
0.025374947,
0.0055965804,
-0.020197101,
-0.067405865,
-0.009162137,
-0.049429994,
-0.041401085,
-0.028137624,
-0.0012147739,
0.06574797,
-0.009749889,
0.02409091,
0.022493992,
0.017121498,
-0.054658003,
0.015583917,
0.017551722,
0.0042014,
-0.021638043,
0.08918119,
-0.010674125,
-0.0013205395,
-0.040893577,
0.0040332507,
0.009866691,
0.03850925,
0.012248597,
-0.021409722,
-0.03559031,
-0.04188451,
0.00108829,
-0.0052976278,
0.027319996,
-0.090057775,
0.0131189395,
0.01581113,
-0.0064420598,
-0.01048361,
0.03805895,
0.0019617279,
0.030334793,
0.06926865,
-0.045806978,
-0.02625408,
-0.05017023,
-0.06987046,
-0.020796113,
-0.0021418615,
0.039643783,
0.022978691,
0.009100604,
-0.0025434548,
-0.015484245,
0.04272061,
-0.006716447,
-0.008243292,
-0.016239906,
-0.0031362483,
-0.04477686,
-0.035910748,
0.05360001,
-0.006929261,
0.044229783,
-0.012027688,
0.015578189,
-0.008688844,
-0.067102924,
-0.03292922,
0.02689141,
0.0010452964,
-0.04127957,
0.01773159,
-0.0099132545,
-0.048269514,
0.008994375,
-0.00886819,
-0.016401256,
-0.0051601664,
-0.022274598,
0.04128316,
0.06917283,
0.02922875,
0.013387438,
0.044686284,
0.0017199517,
0.013894681,
-0.035921212,
-0.060649153,
0.018018669,
0.017801227,
-0.00043086166,
0.019606426,
0.01260685,
0.034803797,
-0.0023774763,
-0.013781509,
0.050794937,
-0.044297647,
0.055503577,
-0.08918032,
-0.03899143,
-0.03701847,
0.003944103,
-0.015036878,
-0.020209251,
0.033706225,
-0.013589549,
0.03722574,
0.019822435,
-0.023515703,
-0.03770676,
0.025382794,
0.006160582,
-0.020038692,
0.040346995,
-0.07936116,
-0.03122553,
0.035320774,
-0.054265894,
0.047002353,
0.0015979725,
0.070094496,
0.007652476,
-0.018813642,
-0.053926177,
-0.05027602,
-0.034307804,
0.008440788,
0.012385809,
0.00033758962,
-0.04659881,
0.04300303,
-0.019680055,
-0.00059104164,
0.062200658,
0.042648137,
-0.05002409,
0.021436332,
-0.024880541,
0.06857848,
0.06095329,
-0.014559067,
0.032403667,
0.010232144,
0.0151018975,
0.009254106,
0.022789607,
0.02725161,
0.043078188,
-0.000851116,
0.0002907535,
-0.058438413,
-0.018258912,
0.03018818,
-0.023430906,
-0.013687733,
-0.0128717385,
-0.030748174,
0.034990452,
-0.013405182,
0.048188332,
0.013950512,
0.055709716,
0.04240635,
-0.006039804,
0.0031869186,
-0.042496286,
0.048501376,
0.087322295,
0.0026739177,
0.0011022078,
-0.093767785,
0.06750179,
0.018455707,
0.012728859,
0.0290457,
0.004030208,
0.073949136,
0.0031103452,
0.028891563,
0.0061709457,
0.03711661,
0.03329447,
-0.0039911964,
-0.011535337,
-0.05368636,
0.010430533,
-0.03888088,
-0.00033137822,
0.0007287878,
-0.04785794,
0.053287014,
0.020948475,
0.004784586,
0.04327455,
0.021545647,
-0.0026617001,
-0.007220088,
-0.0021315329,
0.061624315,
-0.016118705,
0.035912998,
0.05858156,
0.014515531,
-0.020100564,
-0.052069522,
-0.08221398,
0.009006891,
-0.000641619,
0.019567328,
0.018354177,
-0.013980042,
-0.022132011,
-0.0071749063,
0.033413306,
-0.049458228,
-0.003411922,
-0.015794149,
-0.026588911,
-0.0712311,
0.049517907,
0.03611532,
-0.0027654287,
0.02648056,
0.03799325,
-0.045260422,
-0.0039488915,
0.018535258,
-0.01202191,
0.025425049,
-0.066101,
-0.029493138,
0.009352922,
-0.04815572,
-0.00078744255,
-0.014830628,
0.00985318,
-0.00089964696,
-0.037638456,
-0.020209283,
-0.024071677,
-0.023627825,
0.015345594,
0.030945128,
-0.035906438,
-0.021735685,
-0.02057747,
-0.012730045,
0.039305683,
-0.03372724,
0.0028924334,
0.048086785,
-0.003469586,
0.041861687,
-0.01651466,
-0.056703646,
-0.0026974753,
0.040093638,
-0.016038204,
0.01660836,
-0.015355346,
0.014222605,
-0.016131593,
0.058223635,
-0.0043853833,
0.009241659,
-0.0037523906,
-0.0044754464,
-0.027581176,
-0.025409574,
0.028438559,
-0.017977443,
-0.06812175,
0.01688471,
0.0027021398,
-0.008467892,
0.01257022,
0.004435785,
-0.041927423,
-0.019233864,
-0.028785357,
0.0046895365,
-0.03651274,
0.018352093,
0.021881897,
0.036055297,
-0.006049414,
-0.03768076,
0.043038186,
-0.019430043,
0.010047086,
0.038734745,
0.07813043,
0.06600668,
-0.045451947,
0.007069179,
0.004496004,
-0.011548554,
-0.046042,
0.06798199,
-0.008593701,
-0.08696804,
-0.05292275,
-0.016977143,
-0.07520479,
0.029066458,
-0.024782913,
-0.0096219545,
0.005668475,
-0.039538745,
-0.013323385,
0.054268673,
-0.034942485,
-0.035588264,
-0.007808041,
-0.028383307,
-0.056151025,
-0.011849255,
-0.017395807,
-0.052520297,
-0.00033966068,
-0.040860854,
-0.02147358,
0.025562335,
0.016279114,
0.055561904,
-0.0043953094,
-0.051337503,
0.048832227,
0.012733344,
0.0074338345,
-0.0034132795,
0.051703624,
-0.018186914,
-0.004437302,
-0.0056251404,
-0.015658181,
0.075761385,
-0.01858316,
0.035752207,
-0.015505403,
-0.054325536,
0.013062152,
-0.019772485,
-0.036618207,
0.07009239,
0.0061930143,
0.04677856,
-0.005198393,
-0.06450841,
-0.012708175,
0.0017703002,
0.040896382,
-0.058100134,
0.05954578,
-0.100279756,
0.0028294618,
-0.077727444,
0.008914284,
0.0080719,
0.03881815,
0.017954735,
0.007447408,
0.0011345121,
-0.05048519,
-0.039078023,
0.028253902,
0.044468667,
0.010109414,
0.057948574,
0.084054515,
0.037633587,
0.0017468535,
0.077875376,
0.012513707,
0.05368355,
-0.004321204,
-0.04407038,
0.003342438,
0.028840505,
-0.05713609,
-0.030208949,
-0.015956083,
-0.04398592,
-0.0003338245,
-0.019189022,
0.0051421383,
0.005998702,
-0.056465454,
-0.0011846442,
-0.020207675,
-0.03794564,
-0.008714775,
0.035006754,
-0.04132764,
0.0021705274,
-0.0439883,
-0.032893825,
0.02789339,
0.008734119,
0.057372645,
0.01332189,
0.0012191895,
-0.0033005544,
0.01850204,
-0.0026491894,
-0.057301134,
0.023812076,
-0.01251028,
0.026695816,
0.006280155,
-0.01759368,
-0.04756993,
-0.02630156,
-0.07508561,
0.008504518,
-0.043269098,
-0.05145985,
0.05350243,
-0.04755056,
0.029703166,
-0.017597945,
0.06250041,
-0.06016417,
0.06653413,
-0.016946755,
0.047101825,
-0.022579597,
0.008127067,
0.023833975,
-0.02813946,
-0.013039984,
-0.036107074,
-0.043653734,
0.024050226,
0.04399057,
0.09336265,
0.006534921,
0.048648696,
0.022939295,
-0.031517096,
-0.026839457,
0.07211498,
0.029019814,
0.009881218,
-0.07664708,
0.017981265,
-0.036385953,
-0.030298837,
0.022921786,
-0.028463267,
-0.02937664,
0.010823232,
0.0067931535,
-0.031216819,
-0.04555875,
-0.0046104183,
-0.0074561643,
-0.021015901,
-0.05835412,
0.0034862612,
0.044975843,
-0.008261614,
-0.011101364,
0.026063345,
0.016826522,
-0.026054956,
-0.0025118885,
0.017519895,
0.015515732,
0.046909466,
0.011520791,
-0.03838233,
0.02977564,
-0.017793136,
-0.0061859833,
0.013111647,
0.027452856,
0.01725379,
-0.06333028,
0.075123265,
0.10740957,
-0.008957558,
0.04273554,
-0.0031129292,
0.06842765,
-0.009068904,
-0.030188441,
0.042828284,
-0.037308767,
0.012807761
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 6,
"total_tokens": 6
}
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"This is a test file"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
0.053755064,
0.038824845,
-0.14897895,
-0.057621628,
0.04607179,
-0.036720708,
0.034465693,
0.0035774964,
-0.046216298,
-0.057663284,
-0.0029320826,
0.032722153,
0.008126161,
-0.0054726754,
-0.056881513,
-0.040220805,
0.06675372,
-0.07054128,
0.008605871,
-0.035792407,
0.021381244,
-0.034037996,
-0.08897738,
0.005096966,
0.12571196,
0.021406772,
-0.046919554,
0.02846187,
-0.0674785,
-0.005860969,
0.048145585,
-0.018883042,
0.020483026,
-0.023393994,
-0.021695035,
-0.057482675,
0.02650926,
0.037495404,
0.038994107,
0.029185897,
-0.029124716,
-0.0066564786,
-0.018492283,
-0.004880613,
0.0326117,
0.019956214,
-0.009404416,
0.056746867,
-0.021451293,
-0.0010848701,
-0.008556974,
0.00717712,
-0.0158759,
0.016807728,
0.050091505,
-0.026155384,
0.01421543,
-0.00030872005,
-0.019532513,
-0.07570676,
0.036398344,
0.036072206,
-0.07834818,
0.054609925,
0.0070004477,
-0.07138788,
-0.044890754,
-0.0015752985,
-0.0051746685,
0.02773374,
0.0907983,
0.019009177,
0.01652576,
-0.019781755,
0.0024468976,
-0.04386361,
-0.005844148,
-0.06330305,
-0.071813926,
-0.015402967,
0.07005262,
0.0146234725,
-0.0075086285,
0.0598322,
0.08178334,
-0.040106755,
-0.044506554,
-0.014833101,
0.008786615,
0.027668018,
0.0408559,
0.034992497,
0.044508792,
-0.021707665,
-0.026720917,
0.008456255,
0.014417912,
0.06089474,
-0.009831296,
0.0063804192,
0.010379584,
0.020169152,
0.03181851,
-0.023338739,
0.028989496,
0.01892435,
-0.019931735,
0.012846057,
-0.043179717,
-0.015091765,
0.005630924,
0.041796576,
-0.037343703,
-0.004141961,
0.011558244,
-0.015971268,
0.020698296,
-0.041845582,
-0.042620756,
0.024356088,
0.017188184,
-0.0012271669,
0.007192994,
0.044447795,
0.018283458,
0.048118174,
-0.03952341,
0.042869207,
0.017660262,
-0.04830425,
-0.0016062546,
0.014191671,
-0.016906656,
-0.023642827,
0.028871788,
0.04581212,
0.0025744475,
-0.008833574,
-0.059106488,
-0.009941071,
-0.037257005,
-0.010894794,
0.029945469,
0.042686045,
0.034860067,
-0.012610204,
0.024488637,
0.025305478,
-0.0044293613,
0.0036705723,
0.037009344,
0.010391426,
0.014213342,
0.016817044,
0.019320719,
-0.057810027,
-0.0050912066,
-0.015837427,
0.033348687,
0.072564326,
0.0008899279,
-0.03375868,
-0.016002063,
0.01757294,
-0.06126508,
-0.04696843,
0.0041741286,
0.104208246,
0.065977976,
-0.024900323,
-0.030272918,
-0.04279762,
0.0024915594,
-0.0040995525,
-0.06025669,
-0.029730435,
0.010547262,
-0.036377586,
0.050545547,
-0.0095344335,
0.048683695,
-0.012058972,
0.011432212,
0.018010113,
0.005364927,
-0.04086076,
0.0063007427,
-0.03574762,
-0.028465291,
0.0030182654,
-0.007852945,
-0.030634074,
-0.0909168,
-0.04716639,
0.0115555795,
-0.02810428,
0.00031586693,
-0.017768571,
0.019554375,
-0.007370804,
0.005686569,
-0.007877936,
-0.064068876,
0.034172762,
-0.026304692,
0.0049333936,
-0.04899222,
-0.03281665,
-0.033157684,
0.012718001,
0.076224595,
-0.0064710653,
-0.018755218,
0.039143063,
0.035096157,
-0.016754866,
-0.0060931817,
-0.029766135,
-0.029139608,
-0.014973088,
0.024322666,
-0.031502765,
0.023270516,
-0.03271965,
0.0062043606,
-0.03712458,
-0.068931796,
-0.02625073,
-0.012277584,
-0.031094182,
-0.0048645902,
-0.08060161,
0.022099901,
0.017626904,
-0.018784273,
-0.017160239,
-0.047505315,
0.06744298,
-0.016266603,
0.037358046,
-0.023241695,
0.042352144,
-0.020024868,
-0.0077798865,
-0.023802027,
0.015747737,
0.0052599455,
-0.056444295,
0.059068207,
0.037376188,
-0.013192159,
0.04332454,
0.028026175,
0.07711689,
0.020898307,
0.0033685977,
-0.021572681,
-0.037657484,
0.016036613,
-0.0382934,
0.0122232335,
-0.04138183,
0.023892462,
-0.004556672,
-0.035825394,
0.0063747033,
-0.028682346,
0.041275464,
-0.030208014,
-0.02404734,
-0.013418665,
0.033750094,
0.030134026,
-0.025030263,
0.029197402,
-0.019617375,
0.013827904,
0.027449468,
0.004978659,
0.030974008,
-0.020438295,
0.000767867,
0.010893972,
0.028313117,
0.016193025,
0.024263313,
0.039140362,
0.015502232,
0.04270309,
0.036285732,
-0.00049667986,
0.032861162,
-0.013075877,
0.021618912,
0.00086077384,
0.017106365,
0.06846418,
-0.017401312,
-0.0035004318,
0.0115860645,
-0.005868287,
0.013673696,
0.045313988,
0.018984651,
0.027531657,
-0.037540816,
0.036353067,
-0.033751406,
0.022943137,
0.021520479,
-0.07595643,
-0.009671425,
-0.036120884,
0.021625755,
-0.02455195,
0.049253788,
0.016561633,
0.024053719,
0.07052954,
-0.036360316,
0.0016302903,
-0.06445352,
-0.028436713,
0.010202086,
0.012302129,
0.012324357,
0.013936718,
0.04844302,
-0.03589321,
-0.052590277,
0.055593163,
0.0732214,
-0.054431036,
-0.030186577,
0.022834918,
0.039914526,
0.03522675,
0.049552023,
0.007371824,
0.044161588,
0.067879915,
0.00031594344,
0.027447,
0.01685882,
0.016181355,
-0.03849771,
-0.02291873,
0.024948563,
0.004223841,
0.069864646,
0.0014985797,
0.013324552,
0.030330706,
-0.023823606,
0.025094977,
0.0053906217,
0.019198073,
-0.03150149,
0.057533205,
-0.010408089,
0.023099689,
-0.023532018,
-0.004910729,
-0.021430561,
0.013503316,
0.030081883,
-0.018316586,
0.026708528,
0.0753131,
0.008196424,
-0.017148316,
-0.013309294,
0.044264067,
0.07017904,
0.06107757,
0.041799348,
-0.06895251,
-0.03424151,
0.0012017577,
0.034976095,
0.058295492,
-0.02544754,
0.027509857,
0.049761195,
0.035373602,
-0.035546362,
0.023910522,
-0.005200976,
0.057754345,
0.02994251,
-0.030295968,
0.02192239,
-0.07660182,
0.0041952324,
-0.009893715,
-0.016765697,
0.02205744,
0.012030603,
-0.046834268,
0.0044040564,
-0.009445439,
-0.026827166,
-0.00047521197,
0.017593743,
-0.022741219,
0.008764244,
-0.043141212,
-0.06153363,
0.029618109,
-0.024529207,
0.05106809,
-0.05149123,
-0.035547227,
-0.05243562,
-0.010526916,
0.020512614,
0.03022628,
0.01887064,
-0.016640756,
-0.0052087368,
0.009767478,
0.023524467,
0.021270983,
-0.022256205,
-0.04095088,
0.013887147,
0.03805821,
0.06790943,
-0.0018384855,
-0.08698164,
-0.0001229994,
-0.0008571096,
-0.0050718607,
-0.007538065,
-0.015663693,
0.06927893,
-0.020852331,
-0.035374828,
-0.016614653,
0.05172882,
0.034453575,
-0.073454045,
-0.015435662,
-0.007742794,
-0.017696258,
0.12930779,
0.09463219,
-0.044125196,
-0.053790558,
-0.008179506,
-0.008426076,
0.0076676984,
-0.015327971,
0.034576263,
0.07183845,
-0.028958166,
0.05314676,
-0.03096685,
-0.0032158992,
0.04581687,
-0.012794461,
0.018509485,
0.058683466,
0.041938934,
0.030082943,
0.004215841,
0.018244926,
-0.04298197,
0.015552812,
0.04222278,
-0.0015535373,
-0.06303078,
0.024394587,
-0.032710377,
0.010206549,
-0.006960954,
-0.023647094,
0.024798285,
-0.028433375,
0.01622465,
0.025266865,
-0.003731914,
-0.030350871,
-0.025399031,
0.01591482,
0.020711485,
0.025845746,
0.018662816,
0.024100337,
-0.0039405106,
0.053302877,
0.0075395373,
0.04916809,
0.030238178,
0.009602713,
-0.038422365,
-0.028400876,
-0.039225675,
-0.0055190753,
0.014685032,
0.029546242,
-0.008604474,
0.015193542,
-0.030894302,
-0.016527046,
-0.010891702,
0.007617393,
-0.032050192,
-0.093045905,
-0.010488982,
-0.0388184,
-0.018677445,
0.021712653,
0.041104708,
0.045463804,
-0.014232386,
0.011795274,
0.0070902836,
-0.025493778,
0.018382043,
0.026198598,
0.0055567,
0.008816842,
-0.020698523,
-0.09896698,
0.039850853,
0.022541791,
-0.014605717,
0.0717805,
0.061471548,
0.009760307,
-0.0058823824,
0.0044801617,
-0.009054137,
-0.033210285,
-0.015296926,
-0.044147786,
0.011772378,
-0.0011682066,
0.061298173,
-0.048394587,
-0.03126722,
0.0024896788,
-0.03219626,
0.0072913007,
-0.027876848,
-0.06358675,
0.011740617,
0.00062926457,
-0.05412463,
0.018568499,
-0.033691417,
-0.0528926,
-0.0069810036,
0.040134903,
-0.042806044,
-0.0019258702,
-0.02807893,
-0.036857396,
-0.047812905,
0.052457698,
0.0010601456,
-0.01320536,
0.01773575,
0.033740915,
-0.02428465,
-0.0029053832,
0.011027504,
-0.012990215,
-0.01058932,
0.013743376,
-0.0046183546,
-0.008390752,
-0.014781893,
-0.035429597,
0.017276006,
0.038983308,
0.061988592,
-0.032131802,
-0.0229958,
0.0638573,
-0.02895323,
0.02178523,
0.03728535,
-0.0063639414,
-0.0019311559,
0.008243508,
-0.008105072,
0.03141697,
-0.039425526,
-0.042349,
-0.020182261,
-0.003375657,
0.011413951,
0.010416108,
0.011482379,
-0.009866192,
-0.043633033,
0.008850827,
-0.025185566,
-0.004846933,
0.03689466,
-0.0019545932,
-0.048941545,
-0.045506805,
-0.0044495803,
0.0336061,
0.027958225,
-0.01688997,
-0.024565216,
0.048515715,
-0.013600102,
-0.07463516,
0.018509997,
-0.012448248,
-0.06196548,
0.0597057,
-0.050797287,
-0.018415296,
-0.022903174,
0.011200291,
-0.028467052,
0.06058437,
-0.016442202,
-0.003098909,
-0.024492593,
-0.0527971,
0.03285756,
0.041120544,
0.054158013,
-0.062963516,
0.049651794,
-0.062105,
-0.06449706,
-0.06372778,
0.011327486,
-0.06353946,
0.016411625,
0.077329434,
0.080715194,
0.035969965,
0.020154689,
-0.03928846,
-0.025479777,
-0.0036507042,
0.03220931,
-0.0008082983,
0.025667666,
0.029311521,
-0.06343347,
0.06241345,
0.08572635,
0.032400146,
-0.011070757,
-0.0030382075,
0.028115297,
0.04067802,
-0.035985943,
-0.058480624,
-0.083406046,
-0.016611245,
0.02005128,
-0.03546999,
-0.010433718,
0.032729413,
0.031749807,
-0.021659749,
-0.02821473,
-0.004485041,
-0.06761982,
0.02140799,
0.016119402,
0.054795243,
0.023059225,
-0.019336399,
0.024376748,
0.041402057,
0.072423294,
-0.01619759,
-0.028357103,
-0.029204277,
-0.027995426,
0.04663749,
0.020304017,
0.036945093,
-0.08855899,
0.0026856451,
-0.054572783,
-0.03168547,
0.0018172613,
-0.02016046,
0.03203796,
-0.020959057,
-0.051677093,
-0.017494315,
0.012795457,
0.057994902,
-0.027470358,
0.011278697,
0.042734835,
0.012837255,
0.046410922,
0.0040898565,
0.043820914,
-0.029022902,
-0.003712396,
0.005410841,
0.01533382,
-0.06806809,
-0.05327144,
0.031574167,
-0.0047716876,
-0.006499569,
0.06489965,
-0.013497029,
0.03230477,
-0.011278437,
-0.0030430576,
-0.011125672,
-0.03666495,
0.06385737,
0.025445716,
-0.042020448,
-0.006703262,
-0.0008475555,
-0.03370367,
-0.00248806,
-0.028288044,
0.061340675,
-0.06349156,
-0.025897006,
-0.0383112,
-0.020748561,
0.011724626,
-0.023281394,
-0.02039124,
-0.008407744,
-0.014239348,
0.0059249955,
0.02578553,
0.014422423,
0.029647088,
-0.039275713,
-0.01721786,
-0.025984382,
0.013900071,
-0.024370275,
-0.00024505187,
-0.016705003,
0.015770238,
0.037856378,
-0.044418238,
0.0044480236,
0.015106318,
-0.024628188,
-0.02517645,
-0.011585223,
-0.0023366679,
0.07885463,
-0.022423198,
-0.0034434658,
-0.02781302,
0.03211355,
0.015004164,
-0.0039932225,
-0.06683497,
0.010873645,
-0.037383374
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 5,
"total_tokens": 5
}
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"The secret string is foobazbar."
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
0.00043563888,
0.069359735,
-0.13327111,
-0.046860807,
0.08016352,
-0.04809827,
-0.019010443,
0.015153867,
-0.046873957,
-0.051175807,
-0.1147419,
0.05824572,
0.016660886,
0.01102209,
0.04193385,
-0.029983608,
-7.953052e-05,
-0.025317652,
-0.020122949,
-0.07324365,
0.017045923,
-0.009561378,
0.004509703,
0.017444694,
0.12460784,
0.0117542185,
0.0014113676,
0.01636346,
-0.000513574,
-0.040093366,
0.01515609,
-0.0034386534,
-0.025504187,
0.018395439,
-0.046420638,
-0.0633273,
0.017891457,
0.027155576,
-0.027536046,
0.07004884,
-0.06677071,
0.067957774,
-0.009685138,
0.03926637,
0.026923563,
-0.044148225,
0.012432025,
0.053817924,
0.0689614,
-0.07054627,
0.07206626,
-0.026157692,
0.05690601,
-0.01471934,
0.027860997,
0.004196831,
0.013478711,
-0.048579328,
0.026478125,
0.013948769,
0.06128516,
0.018649835,
-0.03886763,
0.08185448,
0.027814697,
0.007644863,
-0.056158315,
0.023962209,
0.031063415,
-0.049123485,
0.058896665,
-0.00038655553,
-0.02007341,
0.0129871555,
-0.06131667,
0.008923064,
-0.020908516,
-0.009231006,
-0.031849828,
0.014869248,
0.029775865,
-0.01688794,
0.021669917,
0.018263148,
-0.046353374,
-0.03561132,
-0.033871155,
0.01996,
-0.037520517,
0.015267727,
-0.01746654,
-0.014343072,
0.0048203394,
0.04106755,
-0.01743991,
0.019225389,
0.027648687,
0.04487884,
-0.049367644,
-0.030073157,
0.016599955,
-0.013579379,
0.042784177,
0.0024879237,
-0.0022430508,
0.013559625,
0.0022986133,
-0.00041752285,
-0.058864597,
0.0074274475,
-0.00158487,
0.05203343,
-0.013067954,
-0.09152717,
0.025666907,
-0.0022124627,
0.022779023,
-0.02524985,
-0.00011278949,
-0.0022032103,
-0.021151299,
-0.021599775,
0.014561224,
0.025840228,
-0.014068059,
0.026190616,
-0.014210392,
0.021827133,
0.020007838,
-0.0702194,
-0.009830888,
-0.010934403,
0.01157449,
-0.0037591544,
0.032889854,
0.04848818,
-0.017715678,
0.0037927723,
0.069258265,
-0.022199025,
0.012373239,
0.010958152,
0.017708084,
-0.064335786,
0.014902948,
-0.073432215,
0.029029964,
0.018579723,
-0.019009702,
-0.030965336,
0.001045338,
0.009669467,
0.017183196,
0.014706675,
-0.004595941,
-0.027472664,
0.061193068,
0.03215422,
0.009082175,
0.046678957,
0.036211368,
0.028913494,
-0.00038759704,
0.0021910078,
-0.054307085,
-0.03839611,
0.019541096,
0.072818995,
0.006327894,
0.048455812,
-0.062209044,
0.01147831,
0.0098502375,
-0.019199125,
0.021273928,
0.0026467585,
-0.031246992,
0.0054897238,
0.009990902,
-0.020057948,
0.035366714,
-0.055273548,
0.044178903,
0.023807194,
-0.060261242,
0.0194769,
-0.019703003,
-0.028070321,
0.023651628,
-0.049793985,
0.002208866,
-0.040291917,
-0.059703782,
-0.033660255,
-0.028465956,
-0.018448345,
0.029301194,
0.028733842,
0.03366197,
0.017544664,
-0.08573744,
0.048224345,
-0.027393555,
0.0056290445,
-0.0119929,
-0.02137872,
0.008285891,
-0.02810114,
0.024450123,
0.024182001,
0.07513522,
-0.06744872,
0.0036572462,
-0.017409615,
0.0067596,
-0.021190042,
-0.010391839,
-0.015639767,
-0.028609304,
0.038730234,
0.06485035,
0.041163545,
0.014390512,
-0.02321176,
0.024660634,
0.008547714,
-0.05519946,
-0.0003570076,
-0.033584673,
0.0068255193,
0.02622803,
-0.09474528,
0.055057526,
0.0658848,
-0.021197317,
-0.008188147,
0.024914686,
0.060964186,
-0.011620848,
0.0052404758,
0.002232333,
0.004988407,
-0.006740577,
0.017342113,
-0.032414474,
0.047291182,
-0.030812522,
-0.011147346,
0.01927767,
0.03737177,
-0.017929135,
0.013328214,
0.003936023,
0.02116423,
0.022964582,
-0.03492131,
0.020916026,
-0.031641915,
0.016423265,
-0.07185627,
0.004404,
-0.038618058,
0.013536482,
-0.04601424,
-0.009397608,
-0.018721484,
-0.004821782,
0.017822767,
0.016237874,
-0.040946636,
-0.015726065,
-0.011103365,
0.0027111657,
-0.013510903,
-0.017545346,
0.0021835666,
0.047422152,
-0.0005337627,
-0.019014519,
-0.0034102339,
-0.068978794,
-0.0007247739,
-0.06604132,
0.013212998,
-0.040820584,
0.058160048,
0.02802546,
-0.013181111,
0.0012718033,
0.004107731,
0.05328854,
0.0052463072,
-0.023672769,
0.03780121,
0.01149606,
0.019529074,
0.02611677,
0.015237835,
0.010741384,
-0.06350311,
0.032081943,
0.03480259,
0.00814098,
0.005960157,
-0.017200181,
-0.025556544,
0.017156472,
0.039265767,
0.0469813,
0.034748983,
-0.047871973,
0.03223102,
0.033810515,
0.029025787,
-0.044688836,
0.050961964,
-0.008707263,
0.024857886,
0.064157255,
-0.030994046,
-0.018792165,
-0.05457989,
-0.009090673,
-0.10115043,
-0.024995545,
0.012426859,
-0.0019674727,
0.03332941,
-0.02930947,
-0.041018374,
0.02341145,
0.053773664,
-0.02800005,
-0.021585159,
-0.040534683,
0.0404829,
0.005363897,
0.01907455,
-0.025343854,
-0.0035673764,
-0.0026372452,
-0.018181847,
0.03233136,
-0.06742021,
0.0076582176,
0.038283855,
-0.03283162,
-0.03286325,
0.04693644,
0.04357658,
-0.07514561,
0.013823663,
-0.047860604,
0.026900738,
0.002514198,
0.025261218,
0.0542094,
-0.014550427,
0.028264867,
-0.010765007,
0.051046435,
-0.026661923,
0.0068336804,
-0.026766306,
0.02264443,
-0.0076511847,
0.030575499,
-0.034169413,
-0.038501944,
0.017965293,
-0.031096458,
-0.022354772,
0.029747028,
0.011666455,
-0.014457477,
-0.028327,
-0.112115934,
-0.008732309,
-0.017440498,
0.018705027,
0.027803373,
-0.03660531,
0.033523776,
-0.01165531,
0.017280811,
-0.0035040057,
-0.0037013139,
-0.023232445,
0.056886524,
0.046929587,
-0.025065806,
-0.00011854427,
-0.027539691,
0.01830821,
-0.017793305,
0.0015083192,
0.018009236,
0.01608446,
0.007198383,
-0.001482324,
-0.04611776,
-0.0026602203,
0.03971603,
-0.0027067706,
-0.04608968,
0.05643384,
0.0059328335,
-0.04095904,
0.074887775,
-0.040126536,
0.050909396,
-0.0050829463,
0.025408033,
-0.040004075,
-0.01615304,
-0.027696026,
0.008633482,
-0.011510852,
-0.01138363,
0.007907287,
0.07923594,
0.0636525,
-0.0018591062,
-0.012122475,
0.007289417,
0.00024129369,
-0.01683623,
0.043689396,
0.0029860223,
-0.040548425,
0.03909646,
0.037287213,
0.011099098,
0.053472616,
-0.025713354,
0.023396866,
-0.06032921,
-0.026988694,
0.012121152,
0.039871164,
0.024333611,
-0.007549869,
-0.011439937,
0.03580544,
0.020239357,
0.076845974,
0.046706334,
-0.020947766,
-0.032601774,
0.0639958,
-0.0049741184,
-0.024874989,
0.014828043,
0.013087368,
0.10624002,
-0.0070972773,
0.012875005,
0.011296317,
0.08395327,
0.012574018,
-0.006684769,
-0.022438517,
-0.06478948,
0.020376103,
0.01557039,
-0.03253506,
0.020344665,
-0.057123315,
0.08554741,
0.08231422,
-0.037311673,
0.0021307825,
0.02461341,
-0.041148327,
0.02576493,
0.029475683,
0.015761815,
0.03033808,
-0.027352374,
0.03562734,
-0.033563428,
0.03967048,
-0.057312556,
-0.059744813,
-0.023114705,
0.040565435,
0.014445673,
-0.025636861,
-0.018840816,
0.025208894,
0.030078758,
0.024180882,
0.0022927998,
-0.0025508618,
0.002279559,
-0.08905218,
-0.0611759,
-0.019741563,
0.026242502,
-0.005390825,
0.007053194,
0.021378167,
0.0016521822,
0.034432933,
0.037088938,
-0.012958599,
0.015472381,
-0.016801862,
-0.0664142,
-0.020028533,
-0.03665484,
0.0022245597,
-0.028262967,
-0.0035314905,
0.04307013,
-0.007913734,
0.06884712,
0.033387598,
-0.024125533,
0.010784783,
-0.0080597615,
0.024155084,
0.014188951,
-0.049593348,
-0.06584048,
0.07459123,
0.02340233,
-0.0092924945,
-0.011839155,
-0.07421511,
0.025761167,
-0.034870915,
-0.011470384,
-0.03365654,
0.049758416,
-0.00816719,
0.016191086,
0.026215557,
-0.046364285,
0.05480482,
0.012599762,
0.03400762,
-0.026982095,
-0.02781592,
0.008006702,
-0.00907986,
-0.034682896,
-0.01684277,
-0.016194338,
-0.013850904,
0.06425695,
-0.050693657,
-0.05512171,
-0.006383048,
0.004831094,
-0.027000824,
-0.0027455746,
0.02019014,
-0.003787281,
0.016140496,
-0.010725574,
0.016616216,
0.009646299,
0.0023681684,
-0.0033797263,
-0.05399304,
0.018547488,
-0.0348047,
0.029876944,
0.036298588,
-0.07495393,
-0.0019113438,
-0.076562114,
0.038466245,
0.029315323,
0.023100806,
-0.007618701,
-0.030285323,
-0.02132341,
-0.018635588,
0.012743463,
-0.06587911,
-0.0026460227,
-0.021482531,
-0.021865644,
0.036372278,
-0.047814783,
-0.07678645,
-0.019916577,
-0.06597341,
-0.041271307,
0.042890754,
0.02489703,
0.031257756,
-0.014839521,
0.00024008725,
-0.01525242,
0.0058595566,
-0.02478792,
-0.054148134,
0.03291052,
0.036154233,
0.047897607,
0.0028934574,
-0.030358123,
0.034231503,
0.033033866,
0.031447988,
-0.011559817,
0.009437311,
0.029714098,
0.034388173,
-0.008699484,
-0.003815488,
0.03323622,
-0.05029966,
0.058681436,
0.023366531,
-0.04586032,
-0.010846763,
0.023143172,
-0.050354037,
-0.0030125398,
-0.005209793,
0.053721998,
-0.03601112,
-0.05297571,
-0.008709478,
-0.016886411,
0.036566373,
-0.035008803,
-0.005838238,
-0.01818233,
-0.036449455,
-0.05578824,
0.04526194,
-0.05000372,
0.046998248,
-0.06550708,
0.01566202,
0.047168404,
-0.0032131916,
-0.0043731076,
0.032062072,
-0.0034696497,
0.070571154,
0.036091078,
-0.009109477,
0.03601288,
0.0068159145,
0.04083591,
0.0583562,
-0.0054779314,
0.004635305,
0.014603498,
-0.034833334,
0.028457435,
-0.069108866,
-0.048268843,
-0.058200195,
0.04339331,
-0.031802475,
-0.016997105,
-0.03198934,
0.054752324,
0.029476644,
0.044704806,
-0.04336466,
-0.0014832845,
0.0032912851,
0.0047715004,
-0.0059534684,
0.04809366,
-0.04272314,
0.051300585,
0.034260307,
0.055960257,
0.04267763,
-0.02019003,
-0.04315542,
-0.0010585949,
0.03097121,
-0.061140977,
-0.022992678,
0.021286994,
0.000776757,
0.016255906,
-0.031907495,
-0.03133261,
-0.03715817,
-0.0142584415,
-0.03807996,
-0.013276649,
-0.07503173,
0.0290313,
0.003572196,
-0.046333034,
-0.013969219,
-0.0646684,
0.07092539,
-0.02342335,
0.008364228,
-0.011611809,
0.01924402,
-0.062134165,
-0.027232092,
0.008997245,
-0.01772451,
0.001927025,
-0.022795785,
0.0019911388,
0.052349336,
0.0038979063,
0.026527597,
-0.009011832,
0.04822944,
-0.007158606,
-0.018955907,
-0.005367705,
-0.0036073038,
0.04412162,
-0.032324996,
-0.011086369,
-0.0014464888,
0.004387992,
-0.043505806,
0.046026994,
-0.047756515,
0.047557723,
-0.018614868,
0.0059776697,
-0.040747955,
0.014584445,
-0.021962209,
0.01939157,
0.0009254221,
-0.05577822,
0.051663026,
0.014196351,
-0.026307644,
0.020356894,
0.041648015,
-0.022304786,
-0.014722576,
0.019541465,
-0.0036123837,
-0.05162522,
0.03483462,
0.0007311265,
-0.01623206,
0.05067098,
-0.057285607,
-0.027449185,
0.045733392,
0.037239783,
0.020539919,
-0.010156777,
0.060035072,
0.13095127,
0.011821573,
0.008348337,
-0.03778531,
0.0016994406,
0.03221329,
-0.03782467,
-0.040995274,
-0.0012110103,
0.008694557
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 9,
"total_tokens": 9
}
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"Python is a high-level programming language with code readability and fewer lines than C++ or Java"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 102112547,
"load_duration": 6290847,
"prompt_eval_count": 21,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
0.011557126,
0.08892394,
-0.13147448,
-0.0792572,
0.065890595,
0.026295988,
-0.04334166,
0.0010298628,
-0.024186691,
-0.061305195,
-0.0037061102,
0.027842576,
0.048056785,
-0.029355137,
0.011502603,
-0.08920312,
0.020689912,
-0.05041785,
0.009142819,
0.05800451,
-0.021363098,
-0.045512337,
0.00770782,
-0.029389612,
0.07064698,
0.0073899617,
-0.020282878,
-0.03901249,
-0.012697239,
0.020123877,
-0.029104304,
-0.02132515,
0.019676689,
-0.0319787,
-0.052068137,
-0.051373158,
0.058968104,
0.010993021,
0.05850753,
0.009625688,
-0.02666027,
0.007959006,
0.027892644,
-0.033240523,
0.07657526,
-0.047800407,
0.031222135,
-0.040356517,
-0.016421411,
-0.03548535,
-0.018630605,
-0.064128965,
-0.04826212,
-0.0014796787,
0.08527489,
0.046953123,
0.0037362278,
0.026471158,
0.030585019,
-0.031568848,
0.091724776,
0.07365734,
-0.06830473,
0.06646891,
0.041374654,
-0.0001367048,
-0.03282893,
0.033695906,
-0.011825963,
-0.024943104,
0.014928987,
-0.08393527,
0.03412369,
-0.021248052,
-0.049541574,
-0.019383991,
-0.017241223,
-0.03434543,
0.0115342075,
0.049666118,
-0.004444174,
-0.007481858,
-0.008234937,
0.048203256,
0.048789576,
-0.049107544,
-0.040390372,
0.008659905,
-0.023166431,
0.058200873,
-0.0583748,
-0.000774012,
0.031079123,
-0.0013975751,
-0.062984966,
0.026474494,
-0.014201651,
0.013752303,
0.02989533,
-0.035404056,
-0.00077836704,
-0.017972525,
0.040537495,
-0.05028578,
0.04720556,
0.048908547,
0.023071883,
-0.036023185,
-0.056380223,
-0.019569729,
0.0106305275,
0.04587646,
-0.048894,
-0.032556523,
-0.047799245,
0.019935073,
0.09361204,
-0.03271287,
0.05422298,
0.058667492,
0.013997644,
-0.014893106,
0.046621874,
0.06300757,
0.024953056,
0.019029543,
-0.05970721,
0.06693432,
-0.004620253,
-0.056816284,
0.02873945,
0.010324507,
-0.04168707,
-0.007033786,
-0.029394975,
0.07278015,
-0.06158679,
-0.025879694,
0.06519054,
0.006713395,
0.037004314,
0.021532713,
-0.012664399,
-0.011989997,
0.03973578,
-0.022290852,
0.015724065,
0.03266145,
0.010981767,
0.023235675,
0.03478289,
0.04186592,
0.0019377003,
0.013916697,
-0.020062966,
-0.0081066275,
0.03417283,
0.0024519847,
0.045522388,
0.011457753,
0.06536582,
0.03139709,
-0.05557069,
0.039484527,
-0.021274887,
-0.02653,
0.0067004445,
-0.008072626,
-0.03177063,
0.00046728624,
-0.04322399,
-0.040706553,
0.008391595,
0.0020356984,
0.006432252,
-0.019744607,
0.014601653,
-0.039553728,
0.045713928,
-0.011170701,
-0.0083631035,
-0.043347035,
0.046810567,
0.043755174,
-0.046197906,
0.016218957,
0.016179234,
-0.045832627,
-0.0055016815,
-0.019054761,
-0.017474383,
0.032100543,
-0.026322378,
-0.051555254,
-0.016726382,
-0.015041518,
0.0102808885,
0.0051743593,
0.035969574,
-0.067536004,
-0.038275033,
-0.03679325,
-0.05450561,
0.015772747,
-0.043960985,
0.0331952,
-0.017452657,
0.008380662,
-0.042032264,
0.010612911,
0.060454395,
0.0042942413,
-0.025214482,
0.048847046,
0.0037797762,
-0.045026667,
-0.024150297,
-0.005702741,
-0.005443113,
0.021057181,
0.058455467,
-0.02945097,
0.0037802076,
-0.0057663973,
0.019874914,
0.016628392,
-0.057533164,
0.014946201,
-0.036932662,
0.01456736,
-0.0055016675,
-0.038704894,
0.034160424,
0.014926911,
0.010589241,
0.045635827,
0.03605639,
0.04646815,
-0.0024088172,
-0.015340576,
0.003059377,
0.0100331325,
-0.014769657,
0.029485064,
-0.04103946,
0.022916067,
-0.0057299132,
-0.037125785,
-0.0010550745,
0.035801925,
-0.017344235,
-0.018403523,
0.012977465,
0.052635394,
0.036226347,
0.029640516,
0.05642735,
0.01230663,
0.013503122,
-0.007773811,
0.04728074,
-0.049816664,
-0.027990092,
-0.025045637,
-0.019563606,
0.023774184,
-0.0075205374,
0.009900723,
0.0041686115,
-0.034811273,
0.019133769,
0.025379432,
0.016375175,
-0.045447674,
-0.007692546,
-0.016828276,
0.018186405,
-0.052859344,
0.0061186603,
0.007953541,
0.039061867,
-0.03126752,
-0.043194674,
0.023931671,
-0.0018714335,
0.034061145,
0.037229247,
0.0013386831,
0.008765901,
-0.017777223,
0.06644592,
-0.018512478,
-0.040588014,
-0.0367067,
-0.009368586,
0.040843204,
0.08362668,
0.015602838,
0.019367447,
-0.028074175,
-0.024404656,
0.049924117,
0.08111918,
0.034224797,
0.027637525,
-0.024064336,
0.033979405,
-0.004346199,
-0.019001588,
-0.009155255,
-0.049106613,
0.044884164,
-0.045549884,
0.072365075,
-0.076751046,
0.022451403,
0.015419037,
0.029103253,
0.0424017,
-0.02268247,
0.0036817328,
-0.08617424,
0.03747327,
-0.03109796,
-0.006781036,
0.040302914,
-0.017739493,
0.021955442,
-0.027020577,
-0.04999901,
0.008235461,
0.012049333,
0.015059736,
-0.015569347,
-0.0673338,
-0.00643027,
0.03759625,
-0.0179472,
0.018759143,
0.0052616196,
0.033786774,
-0.034821797,
0.014343633,
-0.047459513,
0.0043664505,
2.5627007e-05,
0.026439719,
-0.044049963,
0.031020463,
0.030657828,
-0.009323223,
0.037013505,
-0.025758358,
-0.024887314,
-0.011270054,
-0.041474745,
0.019310294,
0.0011024544,
-0.005454549,
0.002651939,
0.040140755,
-0.0069176625,
0.03045878,
-0.057257455,
0.0048649283,
0.0028171341,
0.01826848,
-0.011686021,
-0.0158002,
-0.011415074,
-0.033500336,
-0.051060047,
-0.0029325655,
0.009850689,
0.010261892,
-0.022167895,
-0.0640473,
-0.02997751,
-0.0160468,
-0.0022461032,
0.026039336,
-0.05372245,
-0.04574912,
0.002790696,
0.025420336,
-0.061131295,
-0.012506317,
-0.017947268,
0.019549767,
0.025052082,
0.03297822,
-0.042918008,
-0.035579346,
0.03235244,
0.03738982,
-0.027811272,
0.04052594,
0.017624708,
-0.053237263,
-0.0063801142,
-0.044265255,
-0.06999688,
0.020068917,
-0.00801687,
-0.027488183,
0.008686469,
0.0050501106,
-0.028645646,
0.015814204,
-0.012092834,
-0.0058374405,
0.017652985,
0.01959121,
-0.017798975,
-0.012843007,
0.051205624,
0.02021432,
0.032918092,
-0.049718916,
0.009038444,
0.026136613,
0.060309168,
-0.017714394,
0.0112562105,
0.018229656,
0.020996246,
0.026349818,
0.06219288,
0.010293834,
-0.06546572,
0.010255495,
0.034876317,
0.021017957,
0.027070528,
-0.0038368,
0.004326977,
0.03378617,
0.008252642,
-0.022182003,
0.058003604,
0.026550923,
-0.019564848,
-0.064631656,
0.011902395,
0.024833336,
0.0652609,
0.07589547,
-0.017458007,
-0.08696966,
0.008860995,
-0.0053550266,
0.006087242,
0.0063039674,
0.0060833488,
0.0381147,
-0.001294121,
-0.0135432705,
0.016211335,
-0.0146187665,
0.056326453,
-0.0011565195,
0.01397653,
-0.053192534,
0.02894224,
0.006356199,
0.001186589,
-0.009514634,
-0.004633253,
-0.0070047155,
0.055920232,
-0.013048077,
0.02954183,
0.023952512,
-0.013343018,
-0.015629295,
-0.03516807,
-0.004019186,
0.028893527,
0.023379525,
0.016633766,
-0.013841866,
-0.030586133,
-0.045894958,
-0.0021802443,
0.0006109717,
0.021148156,
-0.008622185,
0.0047762725,
-0.01414041,
-0.037099093,
0.027606327,
0.04241482,
0.048193768,
0.018464876,
-0.02579716,
-0.05250892,
-0.020628382,
0.07900275,
0.085209616,
0.02892667,
0.026882106,
0.017524293,
-0.014835544,
0.0016937581,
0.057552505,
-0.03147941,
0.061189078,
-0.047112588,
-0.037290405,
0.018539796,
0.019710671,
-0.0024931969,
-0.00596894,
0.054234043,
0.057404887,
-0.03560792,
0.032123867,
-0.022818599,
-0.086804174,
0.025958741,
0.021054598,
-0.028727371,
0.000463902,
-0.024310028,
-0.043664996,
0.03522004,
0.009144301,
-0.013915906,
0.0057520396,
-0.019576883,
0.04502464,
-0.004478288,
-0.037860934,
-0.012699236,
-0.05788857,
-0.04745299,
-0.070464626,
0.05817358,
0.023883931,
0.0024581582,
0.059889067,
0.045695264,
0.0037332173,
0.021131797,
0.06560138,
0.0023412737,
-0.02676801,
0.00038131056,
0.0022107735,
-0.06042925,
0.039956786,
-0.049798425,
-0.003288984,
-0.033328265,
0.017609805,
-0.026198154,
-0.0040150904,
-0.029295787,
0.008755333,
-0.04629882,
-0.031169664,
0.033672146,
0.033714358,
0.016816052,
0.033680826,
0.012520837,
-0.035628457,
-0.01798642,
-0.0009956214,
0.048309542,
-0.051357727,
-0.05573982,
0.016425664,
0.020040127,
0.014249897,
0.004329796,
0.016249748,
-0.00982161,
-0.04717543,
-0.027636595,
0.055419844,
-0.03187375,
-0.015984276,
0.048602853,
-0.037440695,
-0.018481957,
-0.015414445,
0.004916519,
-0.017704893,
-0.015503878,
-0.009356152,
-0.0070662675,
-0.029868225,
-0.012311856,
0.005188979,
0.025733948,
-0.06727631,
-0.042646967,
-0.014710957,
-0.05489504,
0.004705957,
0.003904724,
0.03289607,
-0.05250142,
0.0352709,
0.09377531,
-0.02948276,
0.046700116,
-0.042824022,
-0.023567092,
0.04080416,
0.026785009,
-0.014150208,
0.005923045,
0.0075178053,
-0.061564047,
0.03861459,
0.0018461313,
0.00095382845,
-0.035280835,
-0.025233697,
-0.058119975,
0.063386954,
-0.032503743,
0.042988002,
0.005414229,
-0.025593583,
0.029269412,
0.060435142,
0.066865355,
-0.063019335,
0.004272464,
-0.0346255,
0.018139038,
-0.014181442,
-0.0008705534,
-0.045287393,
-0.0006308246,
0.046440322,
0.096813954,
0.017797446,
-0.04743452,
0.042593338,
-0.00073605764,
0.006244172,
-0.033941437,
0.04011792,
0.06588377,
0.010052645,
-0.0447952,
0.059537765,
0.055639822,
-0.002279702,
0.007896721,
0.0036817465,
0.002901278,
0.06751853,
-0.009877004,
-0.052958783,
-0.009619705,
0.002053818,
-0.00067359314,
-0.036477964,
0.05465418,
0.03790339,
0.056698803,
-0.00789209,
0.001020594,
-0.09499969,
-0.0072677433,
0.024326356,
-0.012381719,
-0.004179389,
-0.022411205,
0.0036065148,
0.05360915,
-0.0023346106,
-0.016937694,
-0.04084911,
-0.0211033,
0.01134296,
-0.016840348,
-0.0070172576,
-0.022640472,
0.023606194,
-0.05781559,
0.025400722,
-0.06222999,
-0.05046368,
-0.06848066,
-0.02486468,
-0.030757235,
0.017417619,
-0.04463039,
0.029367097,
-0.001653177,
-0.022308594,
-0.020363426,
0.0008588756,
0.047290504,
-0.023194114,
0.01766358,
0.03733048,
0.048220653,
-0.03083361,
0.0162946,
0.026442321,
0.04981811,
-0.040909138,
-0.054648165,
-0.037300818,
0.035325762,
0.027102185,
0.07245622,
0.000246192,
0.036936812,
-0.042592887,
-0.07024627,
-0.05159698,
-0.007224336,
0.057378702,
-0.018556487,
-0.020251743,
0.0012896575,
-0.007677641,
-0.005288208,
0.011475763,
-0.053648114,
0.033123367,
0.014579115,
0.022258135,
0.023114482,
-0.05643538,
0.050888978,
-0.042348027,
0.014964872,
-0.031256832,
-0.025995448,
-0.07851629,
0.008994343,
0.020894323,
0.049689434,
-0.0064060683,
0.046663523,
0.0012374276,
-0.03851352,
-0.035200756,
0.040518522,
0.042325754,
-0.045789346,
-0.0051824353,
-0.007612942,
-0.043321237,
0.076782405,
-0.009590438,
0.010796445,
0.0048157666,
0.072268836,
0.06292032,
-0.00017066921,
0.016187245,
-0.0050619636,
0.014120894,
-0.023967084,
-0.044629317,
-0.0070955916,
-0.057420436,
-0.03199656
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"artificial intelligence"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
0.0022459761,
0.0845855,
-0.118770294,
-0.0052484823,
0.07120039,
0.049479805,
-0.015881795,
-0.0012119231,
-0.0033731982,
0.054913778,
0.030510623,
0.05010692,
0.09319765,
0.032162752,
-0.004374012,
-0.038468517,
-0.018967906,
-0.023621555,
0.022897922,
-0.03111014,
0.028833516,
-0.016233068,
0.00874333,
0.057522222,
0.10938156,
0.005853652,
-0.007460108,
0.020824656,
0.010380827,
-0.010142605,
0.02186145,
-0.019714817,
0.027516654,
0.026805714,
-0.04455893,
-0.04452179,
0.08356262,
0.012453612,
0.010525618,
0.038434025,
-0.030541867,
0.059067614,
-0.010383995,
-0.022071486,
0.05343041,
0.055648796,
-0.0044340827,
-0.037001938,
0.063940264,
-0.032288145,
0.032508854,
0.005599889,
-0.032362577,
-0.004498921,
0.09392303,
0.006764056,
-0.032286532,
0.008353272,
0.014349416,
-0.036489014,
0.08909049,
0.059554726,
-0.019406658,
0.063505046,
0.04776043,
-0.02735308,
0.00650999,
0.04953119,
0.010551204,
0.022338172,
-0.023207193,
-0.027374944,
0.038481887,
0.022797523,
-0.024024384,
-0.0012893366,
-0.006183491,
-0.017202137,
-0.0030407566,
0.10508405,
0.04293999,
-0.06902175,
0.024722142,
-0.024688805,
0.03436742,
0.0020651382,
-0.06261552,
-0.029705893,
0.01124745,
0.07875532,
0.033568155,
0.035124693,
0.032037407,
0.00026193194,
-0.036536343,
-0.0016048138,
-0.08197494,
0.016161699,
-0.066015564,
-0.029322235,
-0.0472476,
0.025314262,
0.026285263,
-0.051344153,
0.045346852,
-0.014955671,
-0.013046094,
-0.030399544,
-0.00837482,
0.0056103314,
0.020683404,
0.028624265,
0.029875536,
-0.03199178,
-0.0007616276,
-0.034196425,
-0.025897106,
-0.0076540406,
0.022642214,
0.018380042,
-0.021796877,
-0.040439527,
0.0047869985,
-0.009606057,
-0.03594268,
0.0053249854,
-0.05747488,
0.06073938,
-0.020814294,
-0.029288447,
0.016346097,
-0.038621757,
-0.022478674,
-0.020450005,
-0.036009148,
0.05956065,
-0.030316992,
-0.06926602,
0.03366001,
0.036910895,
0.03371369,
0.027693838,
0.015165795,
-0.018013021,
-0.011645587,
-0.02007139,
0.04092347,
0.02169688,
-0.104392156,
0.038903475,
-0.0014918976,
0.03571438,
-0.009716118,
-0.02924793,
-0.0069342474,
0.014206545,
-0.01732279,
0.014699001,
0.0038424064,
-0.02284251,
0.041644156,
-0.020974293,
-0.027603546,
0.037564963,
-0.003716844,
0.027577596,
0.04057151,
0.0034531597,
0.037646092,
0.025783077,
-0.027008232,
0.005824049,
-0.0039860657,
0.0056432155,
0.06278955,
0.0043308972,
-0.02981198,
-0.06707526,
0.050020736,
-0.07489255,
0.011565154,
-0.07561254,
0.027665483,
0.04189908,
-0.022098044,
-0.03330015,
-0.031799886,
-0.015910972,
-0.027016416,
-0.018142229,
0.006242244,
0.02659928,
-0.019840943,
-0.04060086,
-0.039683804,
-0.015784204,
0.029145675,
0.008346576,
0.035197683,
-0.008699983,
-0.015765524,
-0.025466884,
-0.05862144,
-0.04288488,
-0.015203518,
0.014273099,
0.025983924,
-0.017332051,
-0.03781707,
-0.035193257,
0.07132202,
0.056545146,
0.016492346,
-0.018760977,
-0.038458858,
-0.012570814,
0.006398965,
-0.062122267,
-0.0065937066,
-0.02772747,
0.06373387,
0.026987756,
0.024291446,
-0.018715853,
-0.012525724,
0.013443484,
-0.055779915,
-0.02740097,
-0.036763377,
0.017500222,
0.024762942,
-0.030449286,
0.06854537,
-0.010197382,
0.031139549,
0.021592306,
0.02371123,
0.054312434,
0.03100431,
0.026393836,
-0.046228178,
0.040468246,
-0.03303591,
0.009691253,
-0.047410667,
-0.021130849,
-0.023989182,
-0.055827428,
-0.017233323,
0.012561586,
-0.008570468,
0.02191902,
-0.059356567,
0.014222966,
0.0034734241,
-0.014991501,
0.009470919,
0.025920684,
0.01782029,
-0.017910382,
0.03702367,
-0.062434252,
0.054529104,
0.007203894,
0.036871325,
-0.012669744,
0.013436448,
0.006393138,
0.0130221555,
-0.005487674,
0.029718827,
0.015466657,
0.037024297,
0.015184332,
0.0014853638,
0.03154546,
-0.034037802,
-0.010633708,
-0.006539123,
-0.036020327,
-0.023996303,
0.00029613983,
-0.04641546,
0.000676765,
0.005198228,
0.0022921995,
0.019907692,
0.055562235,
0.00015789036,
0.012450808,
0.00090716535,
-0.0007034728,
-0.050788462,
-0.01723807,
-0.027111992,
0.053336505,
0.034050237,
0.025892904,
0.048161436,
-0.0083876895,
0.021406818,
-0.029163726,
0.04374157,
-0.0055995523,
0.04934261,
-0.017003858,
-0.019544259,
-0.0073026395,
0.022166839,
0.0022170492,
-0.034798883,
0.0066060266,
0.015678417,
0.0068066786,
0.005670851,
0.0009948775,
-0.04441707,
0.01379,
0.04123376,
0.028619396,
0.030242082,
-0.068574615,
-0.06350616,
0.013743421,
0.039637726,
0.074954115,
-0.0053773834,
0.035480417,
-0.05937076,
-0.06497893,
0.0043254998,
0.02681348,
0.015091531,
-0.020784907,
-0.05195499,
-0.019204,
0.018847968,
0.030989287,
-0.01820677,
0.009283221,
0.069743045,
-0.025798852,
0.026588317,
-0.0223841,
-0.040357713,
0.025331281,
0.03499353,
0.013026284,
-0.009360041,
0.0013772856,
-0.03051815,
0.03723264,
0.008684381,
-0.017207826,
0.01999425,
-0.007577646,
0.009753859,
0.08360038,
0.038645275,
-0.003272202,
0.028370475,
-0.03858058,
0.023321483,
0.0046098568,
-0.011383232,
-0.00777738,
0.0050357073,
0.0029987176,
0.0060872724,
0.01590506,
0.022338638,
-0.022155102,
0.00092686777,
0.06191809,
-0.008237606,
0.00053589593,
-0.055003297,
-0.043345015,
-0.019730812,
-0.021763053,
-0.04014172,
0.035623938,
-0.012994337,
0.01672654,
0.04082847,
-0.0123249795,
-0.021429699,
-0.06612962,
-0.021462964,
-0.029859377,
-0.012546966,
-0.0450854,
-0.054111235,
-0.050495826,
0.0017351134,
-0.010483102,
-0.02563268,
-0.04528916,
-0.0047701783,
0.017096328,
-0.03432651,
-0.041952893,
0.012392904,
-0.03919904,
-0.015188965,
-0.0066112806,
-0.015376439,
-0.053237133,
0.06669807,
0.028021395,
0.0058818394,
0.021571819,
0.017222902,
-0.0874136,
0.020542417,
-0.040762596,
0.03196556,
0.016425774,
-0.032799315,
0.009074417,
0.025757797,
-0.0066987635,
0.026961537,
0.026976602,
-0.038010076,
0.015313988,
-0.016525354,
0.04377566,
-0.0065082475,
-0.038370132,
0.035221994,
-0.029069355,
-0.036857057,
-0.030159576,
-0.022446185,
0.058571987,
0.026039828,
0.035465,
0.025649626,
0.0426477,
0.019825738,
0.0030664937,
-0.009444102,
-0.034678217,
0.035446234,
0.10801245,
0.038735878,
0.0016331007,
-0.064277016,
0.042136293,
0.010506551,
0.024595214,
0.01201866,
0.030761477,
0.026547862,
-0.028887127,
-0.019734334,
0.046461817,
0.026275037,
0.049436394,
-0.0074590556,
0.007937081,
-0.08534739,
0.025388863,
-0.018011322,
-0.009423282,
0.01669272,
-0.035424728,
0.027439144,
0.037614323,
0.004201006,
0.04386303,
0.011264169,
-0.038652904,
-0.011952609,
0.007379456,
-0.04413037,
-0.008747569,
0.012680994,
0.035637785,
-0.0007219085,
-0.06122241,
-0.01501182,
-0.032294698,
-0.010085303,
0.02968062,
-0.03545303,
0.025545763,
0.00513856,
-0.038534723,
0.040810063,
0.0036797335,
0.021125326,
-0.04417297,
-0.05691645,
-0.046871662,
-0.097369425,
0.040336214,
0.01823659,
0.023216773,
-0.0040433975,
-0.0071207155,
-0.040822994,
-0.002090658,
-0.043552343,
0.00869053,
0.043224968,
-0.10591219,
-0.058240503,
0.07942362,
0.005600186,
0.0023732963,
0.043274477,
0.017128518,
0.009492503,
-0.022830244,
0.02702694,
0.005394689,
-0.093155086,
-0.012704766,
0.05060759,
0.0016385954,
-0.0052593746,
-0.006009667,
-0.048663773,
0.0137498025,
0.024425894,
-0.04493801,
0.02465394,
-0.0090651335,
0.009057463,
0.00799815,
-0.032015227,
-0.045253854,
0.0023627293,
-0.015072277,
-0.040304966,
-0.044668145,
0.052337464,
0.025100812,
0.06245697,
0.021141378,
0.0063771703,
-0.01292139,
0.010153964,
-0.038462844,
-0.041513197,
0.06475281,
-0.006066694,
-0.08530891,
0.0481095,
-0.0485844,
-0.0005497106,
0.004023715,
0.011246917,
-0.03530786,
-0.008951562,
-0.017967671,
0.0056748274,
-0.032908686,
-0.04876289,
0.010845019,
0.03414114,
-0.011359227,
-0.056809682,
-0.0065372298,
-0.0049946522,
-0.019760255,
0.009133245,
0.031380173,
0.02326544,
-0.037368353,
0.0019855716,
0.007430946,
-0.0019167037,
-0.023231855,
0.0005325032,
-0.024420531,
-0.059595317,
0.01773813,
0.048830878,
-0.08517022,
0.021943187,
0.030728351,
0.04963074,
0.01997924,
-0.047164854,
0.001558822,
0.0334637,
-0.067318834,
-0.006801521,
0.021104202,
-0.01042218,
-0.054989193,
-0.051717903,
0.02997104,
-0.02678612,
0.004539044,
-0.02715776,
-0.04994632,
-0.0012224381,
-0.033812944,
0.041512877,
0.012410997,
0.020035783,
0.012751681,
0.004612327,
0.047167722,
0.038087435,
-0.03399835,
0.011123487,
0.012263675,
-0.015375263,
0.007735875,
0.075646654,
-0.035729144,
0.081184134,
-0.09430186,
-0.088116266,
0.0114660505,
-0.029310493,
-0.08638668,
0.03417333,
-0.005208679,
0.09313087,
-0.010060758,
0.021886718,
-0.0047713425,
0.0011681456,
0.09254987,
-0.038749456,
0.06454609,
0.023755675,
-0.03025349,
-0.011115406,
-0.007423187,
-0.030081635,
0.02060908,
0.04929237,
0.0728251,
-0.0039756885,
-0.0016325217,
-0.035973016,
0.039455134,
0.020030608,
-0.005489007,
0.04019881,
0.109553896,
-0.009760096,
-0.04039632,
0.04021476,
0.037736397,
0.013987222,
-0.030425543,
-0.07112697,
0.042896982,
-0.012732677,
-0.0014557547,
0.01280969,
-0.029981626,
0.0048856707,
0.0062508406,
-0.005710766,
0.009810195,
0.03769784,
-0.037055656,
-0.0075312397,
0.011369313,
-0.054935224,
-0.042443078,
0.02351592,
-0.011048168,
0.0168304,
-0.06971086,
0.008596812,
0.062735,
0.039307248,
0.01642125,
-0.0068997378,
-0.008324923,
-0.009122712,
-0.028969266,
0.039968453,
-0.03311669,
-0.03636177,
-0.011324436,
0.03892255,
-0.007533641,
0.026970727,
-0.07264415,
-0.014196821,
-0.054348893,
-0.017430624,
0.0074018273,
-0.0062353276,
0.02591595,
-0.057454854,
0.018566208,
0.02907042,
0.059309665,
-0.009854315,
0.05242602,
0.057703923,
0.039900526,
-0.04025911,
-0.008270793,
-0.0034033463,
0.029067501,
-0.010713172,
-0.00056468125,
-0.0016177777,
0.030420788,
0.0042498447,
0.058859427,
-0.039968833,
-0.027758287,
-0.032784328,
-0.023316512,
-0.021295434,
0.012401824,
0.04814658,
-0.049514666,
-0.042869776,
-0.0013265676,
-0.025821231,
0.008079029,
0.049515337,
-0.038013786,
0.012605633,
-0.031361498,
0.039115593,
-0.024223149,
-0.05926524,
0.021278135,
-0.009526332,
0.010075951,
-0.057421125,
-0.0432434,
-0.031247647,
0.029872011,
0.019912358,
-0.003003173,
0.040378228,
0.03254255,
0.0036299303,
-0.03521185,
-0.018066157,
0.028061498,
0.026428035,
-0.002493526,
0.021030644,
0.018254563,
-0.042565063,
-0.0014655617,
-0.015577902,
0.05004111,
-0.045358222,
0.052461043,
0.07523485,
-0.014974274,
0.032264654,
-0.06401465,
0.014482717,
-0.014090145,
-0.03501099,
-0.0334364,
-0.046759527,
0.0134310415
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 2,
"total_tokens": 2
}
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"Python programming language"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
-0.012755183,
0.052141834,
-0.09865878,
-0.054767564,
0.053008653,
0.0074000848,
-0.068001,
-0.003313807,
-0.016954962,
-0.06613158,
-0.00030423206,
0.044585824,
0.045379143,
-0.044380557,
0.0023069729,
-0.09606624,
0.025668992,
-0.07038718,
-0.03930968,
0.06763638,
0.01793313,
-0.040855322,
0.02647491,
-0.015291053,
0.11874985,
0.020210076,
0.010590989,
-0.0036543712,
-0.0075976686,
0.016661597,
-0.045014743,
0.0041655246,
0.00044568354,
-0.024798876,
-0.044158697,
-0.06685353,
0.06450473,
-0.017988887,
0.03872167,
0.015247732,
-0.04352592,
0.009790545,
0.060166962,
-0.007313556,
0.07847782,
-0.061941683,
0.0045549227,
-0.014183016,
-0.033010434,
0.021680975,
-0.02037759,
-0.03577908,
-0.043043565,
-0.013646799,
0.076165676,
0.038730208,
0.006720764,
0.011630946,
0.015048647,
-0.061175466,
0.0757195,
0.08273802,
-0.08941701,
0.044744205,
0.056795113,
-0.011738813,
0.0025955006,
0.032728583,
-0.023854354,
0.014046058,
0.03047027,
-0.06254732,
0.042585928,
-0.0026912072,
-0.026063558,
-0.0073187663,
-0.020215467,
-0.04937128,
0.017371904,
0.06005531,
-0.013182922,
0.016347425,
-0.010887273,
0.02825964,
0.041296057,
-0.069784716,
-0.042342614,
-0.0020015785,
-0.05132765,
0.020673819,
-0.06011139,
-0.0064778216,
-0.025799168,
0.0047864914,
-0.06491904,
0.022158703,
-0.054416057,
0.026074637,
0.04199361,
-0.024539411,
0.0077895154,
-0.015909469,
0.060682844,
-0.04841579,
0.035469487,
0.0432446,
0.043692943,
-0.03552617,
-0.058176495,
-0.011524764,
-0.0061565433,
0.045123726,
-0.027797729,
-0.022796074,
-0.045792162,
0.0015372436,
0.025347445,
-0.04087747,
0.06885316,
0.053384367,
-0.002319682,
-0.048198994,
0.040049963,
0.048869036,
-0.018468555,
0.024140943,
-0.06406532,
0.028072298,
0.013393712,
-0.031228468,
0.048264544,
-0.022600511,
-0.044998653,
-0.009159934,
-0.03454323,
0.04043616,
-0.05359791,
-0.01460433,
0.093087606,
-0.022351645,
0.022846863,
0.027131826,
-0.02363506,
-0.014853843,
0.019130414,
-0.022496482,
0.037182134,
0.026520155,
-0.014017435,
0.023918398,
0.019491225,
0.035432663,
0.010694103,
0.048668705,
-0.00024907765,
0.00768182,
0.017693587,
0.004849465,
0.06751242,
-0.021097228,
0.07012279,
0.011083335,
-0.015774695,
0.02973683,
-0.042806383,
-0.028403252,
0.024866603,
0.012839991,
-0.031155441,
0.0010983695,
-0.043969758,
-0.06075083,
-0.0068806973,
-0.020008508,
0.017242711,
0.01687882,
-0.016097335,
-0.011028788,
0.040929034,
-0.013801203,
-0.017103782,
-0.051622864,
0.043905552,
0.0543526,
-0.061111405,
0.010409158,
-0.01066548,
-0.038561665,
-0.0221732,
-0.013728333,
-0.026073975,
0.041781917,
-0.035640378,
-0.06573448,
-0.04824743,
-0.03131787,
0.018809693,
0.0028765572,
0.059533585,
-0.07837439,
-0.04189533,
-0.007909864,
-0.0552758,
-0.010199245,
-0.05733942,
-0.008314573,
-0.004073641,
0.003297773,
-0.041887913,
0.016086822,
0.06419848,
0.018838108,
-0.023861734,
0.06163621,
0.004221324,
-0.035634834,
-0.02336898,
-0.017043551,
0.011934717,
0.034288395,
0.05610323,
0.00089043187,
0.0053345645,
0.0020695552,
0.016258506,
0.028909605,
-0.066553436,
0.017595513,
-0.055346455,
0.014185906,
0.0043901545,
-0.046307728,
0.009637778,
0.026309852,
0.037284765,
0.06024294,
0.047664087,
0.044967793,
-0.01076291,
-0.041797277,
-0.03136469,
0.0072971354,
-0.030567285,
0.045304082,
-0.009105365,
-0.0051637916,
-0.0048456867,
-0.009245174,
-0.017233483,
0.039503276,
-0.019601446,
-0.040183604,
-0.0053865705,
0.06278796,
0.027040588,
0.02772762,
0.032333016,
0.00056238094,
0.06752639,
-0.017969267,
0.036112197,
-0.038685136,
-0.02988278,
-0.011352391,
-0.020833781,
-0.0028507193,
-0.0037560447,
0.016717391,
0.0070433835,
-0.025105853,
0.013040617,
-0.009737338,
0.02332621,
-0.030804688,
-0.002927923,
-0.024455065,
0.027737316,
-0.047165055,
-0.0056547504,
0.0098131895,
0.028257608,
-0.06390376,
-0.019381007,
0.043643404,
-0.005758939,
0.0101355435,
0.025013063,
0.0057044574,
-0.013094622,
-0.010722711,
0.05379693,
0.0035917386,
-0.03372186,
-0.022363236,
-0.024539102,
0.035273757,
0.04244267,
0.029538635,
0.044289354,
-0.010892254,
-0.01566666,
0.03152569,
0.049759056,
0.01340147,
0.02604573,
-0.045269925,
0.036886875,
0.019384302,
-0.012251745,
-0.011383053,
-0.039696775,
0.011996352,
-0.018731272,
0.05107415,
-0.07967179,
0.04457846,
0.020961273,
0.024485774,
0.030831402,
-0.035820685,
-0.0059798183,
-0.07723684,
0.060087733,
-0.0186702,
0.00042447523,
0.042965002,
0.010681149,
0.033828698,
-0.00010276093,
-0.034162555,
-0.012593001,
0.013024084,
0.024034396,
-0.021776745,
-0.043747805,
0.0033163968,
0.003245255,
-0.013959017,
0.0023625968,
0.007549051,
0.0070308056,
-0.050853953,
0.04262149,
-0.020893654,
-0.0076679275,
0.013164755,
0.041456398,
-0.040959187,
0.056591786,
0.042517025,
0.0021284705,
0.044042602,
-0.040913954,
0.0071282955,
-0.0005018595,
-0.036376856,
0.04727744,
-0.004304639,
-0.01342544,
-0.00018415907,
-0.00046577628,
-0.029859792,
0.027254695,
-0.03528472,
-0.023237495,
0.024660228,
0.050627276,
-0.02824941,
0.0113008795,
-0.0045342846,
-0.031870205,
-0.0468597,
-0.007853432,
0.004370229,
-0.017197797,
-0.015760643,
-0.07862201,
-0.014245944,
-0.025508916,
0.029977214,
0.006881691,
-0.042092618,
-0.001667316,
0.02145501,
-0.015919786,
-0.07365285,
-0.010276208,
0.004754211,
0.03293399,
0.04318905,
0.014302325,
-0.048494674,
-0.024463346,
0.03368707,
0.02969084,
-0.010420418,
0.013154678,
0.0008292021,
-0.027302673,
-0.006058555,
-0.07790405,
-0.06870057,
0.03764923,
-0.02309392,
-0.027451491,
0.022471247,
-0.010608251,
-0.01961388,
0.028478324,
-0.009621849,
-0.007969407,
-0.0029770208,
0.009435131,
-0.019555649,
-0.021818016,
0.028743185,
0.02733061,
0.03167493,
-0.05815019,
0.017164664,
0.03497722,
0.027782746,
-0.0103222625,
0.012608038,
0.008335952,
0.012268969,
0.029816365,
0.05892311,
0.018405475,
-0.054781087,
0.00063544157,
0.022915956,
0.033376317,
0.03668245,
-0.00717476,
-0.0016007766,
0.022846596,
0.010971661,
-0.015467445,
0.046056014,
0.036501907,
-0.0217256,
-0.04238053,
0.007839724,
0.010131727,
0.07188701,
0.08593869,
-0.036532518,
-0.036589533,
0.027738918,
0.013736342,
0.015018219,
0.0098102065,
0.03327201,
0.06399664,
0.03487675,
-0.010602488,
0.02859219,
-0.028167224,
0.07248141,
0.0057544303,
-0.026890352,
-0.056601074,
-0.0071628187,
-0.024295138,
-0.01855698,
-0.013705567,
-0.030589346,
0.005738749,
0.002478372,
-0.03994843,
0.020307945,
0.039495304,
-0.042256944,
-0.022092182,
-0.034132108,
-0.030268444,
0.011526477,
0.05080205,
0.004057765,
-0.023736943,
-0.0027470528,
-0.058505215,
-0.005451438,
-0.0053295945,
0.037520684,
-0.004597113,
0.021260384,
-0.0016022,
-0.04624166,
0.047880564,
0.03735419,
0.08018385,
0.005399028,
-0.038164224,
-0.0099513745,
-0.040701,
0.09174386,
0.10285796,
0.028173055,
0.04176779,
0.019542439,
-0.044270817,
-0.015961926,
0.042490557,
-0.031308558,
0.06842259,
-0.008455639,
-0.035034075,
0.03784982,
0.055848643,
0.00059227966,
0.033015877,
0.018344037,
0.03802101,
-0.03151977,
0.0098008765,
-0.035387658,
-0.09155465,
0.00994033,
0.014412026,
-0.041234586,
-0.010655742,
-0.023953516,
-0.029880041,
0.03757494,
0.03118663,
-0.019453162,
-0.016822709,
-0.023843909,
0.047962997,
-0.023659972,
-0.041262057,
-0.020595262,
-0.048075587,
-0.062381502,
-0.04979932,
0.038499992,
0.010981836,
-0.0044649737,
0.07804682,
0.024404673,
0.021007415,
-0.0038479895,
0.0502321,
0.011059783,
-0.026865788,
-0.009125582,
-0.0057604983,
-0.057432435,
0.07512213,
-0.04035372,
0.006362596,
-0.020561477,
0.010117368,
-0.029885331,
-0.005966605,
-0.025552336,
0.0043618665,
-0.043261133,
-0.03555791,
0.008427924,
0.009262912,
0.010186158,
0.006326128,
0.030318232,
-0.018972121,
-0.034975477,
-0.018964415,
0.03825254,
-0.037345864,
-0.0351396,
-0.00047062192,
0.003186302,
0.005035803,
0.010876821,
0.02764985,
-0.03624826,
-0.056807794,
-0.010028965,
0.070623085,
-0.031157255,
-0.018460877,
0.036638554,
-0.025020488,
-0.005941764,
0.012742576,
0.0048704236,
-0.03759208,
-0.012085054,
-0.014069134,
0.011279396,
-0.017005637,
0.020709073,
-0.010610561,
0.024082925,
-0.06626425,
-0.02063518,
-0.019739242,
-0.043891124,
-0.0005266677,
-0.0004301561,
0.047712207,
-0.015355832,
-0.0014466603,
0.08354175,
-0.032401584,
0.05616655,
-0.017385324,
-0.019270966,
0.03682637,
0.019007677,
-0.01482101,
0.033182062,
0.030420583,
-0.06170398,
0.04523853,
0.010415463,
0.014615019,
-0.024227966,
-0.0054855505,
-0.053295363,
0.033637505,
-0.022195498,
0.04281621,
0.021729006,
-0.044307593,
0.020309607,
0.04037649,
0.07104476,
0.006400998,
-0.0040026903,
-0.048894215,
0.0019758455,
-0.009849805,
0.0066472604,
-0.033706002,
0.0005103139,
0.037173964,
0.0656074,
0.047386676,
-0.039488588,
0.0040444243,
-0.008359929,
0.006524558,
-0.011932602,
0.033020485,
0.07638972,
-0.0032924355,
-0.054330498,
0.07390764,
0.06452983,
-0.002386618,
0.0062976107,
0.011264179,
0.014191163,
0.051329326,
-0.049802072,
-0.06384549,
0.008117008,
-0.014097446,
-0.03947947,
-0.035354815,
0.031741206,
0.06876181,
0.057036184,
0.006600329,
0.0014256213,
-0.054361504,
-0.0045098825,
-0.0070793955,
0.016540458,
-0.012738383,
-0.030311067,
0.020713435,
0.058786508,
0.018239629,
-0.024325427,
-0.05661185,
-0.018282877,
0.01614208,
-0.026627902,
-0.03224368,
-0.014848724,
0.039505813,
-0.045105927,
0.0544876,
-0.018484443,
-0.022791753,
-0.06583577,
-0.021372011,
-0.022778038,
0.0022911013,
-0.055788167,
0.04346606,
-0.017197354,
-0.019198012,
-0.03230516,
0.0141982185,
0.076527,
0.014593587,
0.023513054,
0.011721552,
0.051899493,
-0.06094508,
0.004966607,
0.017240781,
0.02990326,
-0.011896698,
-0.053224154,
-0.022593273,
0.021652026,
0.048259668,
0.06569586,
0.035846964,
0.032470055,
-0.050523784,
-0.046076007,
-0.044838242,
0.014308437,
0.07228472,
-0.010863059,
-0.023231382,
0.0153848175,
-0.033682574,
-0.0018240926,
-0.0038692302,
-0.068811916,
0.0040938766,
-0.0033715565,
0.020699343,
0.022787781,
-0.0552032,
0.030704645,
-0.0077637834,
0.057469584,
-0.03186306,
-0.046339024,
-0.058207337,
0.0021370489,
0.011698572,
0.05364788,
-0.0022890496,
0.052239776,
0.0082796505,
-0.024588205,
-0.015608943,
0.062246397,
0.05610683,
-0.036411114,
-0.029702853,
-0.008446677,
-0.047311485,
0.09336968,
-0.01996709,
-0.013500841,
-0.032667294,
0.07357943,
0.052260213,
0.00094144867,
0.016980348,
-0.012887091,
-0.01248461,
-0.028907716,
-0.032317843,
-0.009207185,
-0.047794834,
-0.017619068
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 3,
"total_tokens": 3
}
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"What is the secret string?"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
-0.0032986836,
0.024027394,
-0.12853743,
-0.09324438,
0.045361742,
-0.013056183,
-0.022555847,
-0.012613375,
-0.03398914,
-0.035651904,
-0.12064993,
0.057964455,
0.030329313,
-0.050050795,
0.04453846,
-0.0070125563,
0.029749561,
-0.06559391,
-0.002993373,
-0.05918187,
-0.0025102585,
-0.02686315,
-0.038463283,
0.046533335,
0.11378393,
0.04937919,
0.025002593,
-0.033740196,
0.007246117,
-0.031203022,
0.028160624,
-0.02944006,
0.015620879,
0.011322325,
-0.033444125,
-0.052299276,
0.020813486,
-0.0072749043,
-0.049010944,
0.051732294,
-0.028968671,
0.05595169,
-0.008857897,
-0.0032976253,
0.042489685,
-0.025026862,
-0.023456585,
6.46129e-05,
0.029820241,
-0.085338034,
0.058596697,
-0.024279315,
0.05391659,
-0.01946672,
0.051720995,
0.018171057,
0.0011381571,
-0.03046404,
0.030458495,
0.040416773,
0.06773567,
0.028664507,
-0.026486794,
0.034290597,
0.057708777,
-0.029490804,
-0.02560744,
0.044930853,
0.011338722,
-0.019911025,
0.062480625,
0.014960627,
0.012959204,
-0.0374132,
-0.06685959,
-0.004992621,
0.013715416,
-0.017966261,
-0.018940058,
0.027471887,
0.04046339,
-0.013159615,
-0.0035001321,
0.00860785,
-0.005039756,
-0.035087176,
-0.023220722,
0.012773795,
-0.0040118406,
0.054371774,
-0.0016255592,
0.010962614,
0.037633747,
0.03468202,
-0.014064402,
0.016429113,
0.009631311,
0.037464213,
-0.049405385,
-0.03485593,
0.00909404,
-0.03266166,
0.028881658,
0.010416462,
0.0076452163,
0.02923839,
-0.012726982,
-0.008917278,
-0.039297726,
0.00026908715,
-0.012596263,
0.053953346,
-0.04130733,
-0.03592253,
0.024551602,
-0.029714737,
0.020442221,
-0.04659323,
-0.031344593,
-0.018244052,
-0.052938335,
-0.019082317,
0.014155709,
0.04420679,
-0.016036164,
0.046695057,
-0.017100003,
0.031964798,
0.015379527,
-0.075141385,
-0.032912742,
0.0045779543,
-0.039649807,
0.014326906,
0.027014537,
0.041521385,
-0.020128734,
0.007877264,
0.041349962,
0.012453176,
0.004306664,
0.02351285,
-0.031706396,
-0.03691455,
0.033226673,
-0.07985886,
0.013038393,
-0.0041157105,
-0.061088573,
-0.035600077,
0.019558294,
0.0063110534,
0.022945646,
-0.008669337,
-0.016276145,
-0.03193193,
0.070835285,
-2.1618193e-07,
-0.00078207866,
0.059418164,
0.024302253,
0.03268082,
0.00014381036,
0.03839722,
-0.06838789,
-0.042497825,
0.033609662,
0.07475393,
0.030100998,
0.0423033,
-0.04166448,
0.0143501535,
0.0039264755,
0.012671987,
-0.020854177,
-0.006718569,
0.002019551,
-0.038268488,
0.012740347,
-0.028295355,
0.002600234,
-0.039414056,
0.04326679,
0.022708738,
-0.04673403,
-0.012096722,
-0.0011956888,
-0.052961368,
-0.012467041,
-0.056463912,
-0.042778503,
-0.018744348,
-0.078515016,
-0.0064001423,
0.0028517288,
-0.015467423,
-0.023435803,
0.0035010404,
0.021770932,
0.008625957,
-0.06604144,
0.026738834,
-0.017575411,
-0.017031696,
0.01075823,
0.015145062,
0.03947122,
-0.00799394,
0.036185145,
0.016810846,
0.07538752,
-0.025896443,
-0.017358331,
-0.0134874005,
0.0018703025,
-0.022088114,
0.012068537,
0.0122266365,
-0.02195069,
0.016274363,
0.059921224,
-0.009841874,
0.042732026,
-0.018221157,
-0.039516818,
0.0486526,
-0.048551105,
-0.009838615,
-0.05851413,
0.0077378396,
-0.007728302,
-0.11791794,
0.028796539,
0.06965044,
-0.01980592,
-0.010689993,
0.0051634163,
0.02781541,
0.008662729,
0.023464749,
0.01019859,
0.010077792,
0.01240951,
0.026778733,
-0.01969809,
0.06289993,
-0.031163208,
-0.025086904,
0.023612363,
0.04369569,
-0.020940982,
0.012396958,
-0.01859855,
0.02107048,
0.02855252,
-0.03700358,
-0.011339705,
-0.01757895,
6.362148e-05,
-0.055251203,
0.0031862666,
-0.014093398,
0.04327843,
-0.011082,
0.0040321597,
-0.012379764,
0.008524582,
0.004850474,
0.019686775,
-0.013663173,
-0.013159279,
0.04567823,
-0.023725845,
-0.021927617,
-0.023135658,
0.008367321,
0.02053971,
-0.019572549,
0.0068249614,
0.011320174,
-0.05443711,
0.020393135,
-0.037801195,
0.013770748,
-0.045985486,
0.022687728,
0.0015826945,
-0.049056765,
-0.003444469,
0.010152211,
0.039853044,
0.014909604,
-0.002871339,
0.026515814,
0.032994673,
0.02709395,
0.036467694,
0.01610746,
0.013702929,
-0.039955992,
0.0087158615,
0.0072095115,
-0.0001403875,
0.02706977,
-0.031419203,
-0.029384844,
0.019975537,
-0.0061495877,
0.026191944,
0.0041432804,
-0.042340036,
0.017639548,
0.06021742,
0.0427631,
-0.041216932,
0.070766434,
-0.02191542,
0.0066472595,
0.06198921,
-0.00028757102,
-0.028165234,
-0.05135239,
0.011040836,
-0.06876293,
-0.022638226,
0.006416433,
-0.010084974,
0.037493583,
-0.054970145,
-0.047357112,
0.016661117,
0.026951559,
-0.05262415,
-0.013166455,
-0.018538471,
0.049789067,
-0.023675809,
-0.014888084,
-0.043054145,
-0.011257369,
0.020023536,
-0.0055467677,
0.024918977,
-0.03558415,
0.02996231,
0.016184896,
-0.028430257,
-0.044851914,
0.07409331,
0.045994364,
-0.058175534,
0.028127082,
-0.04034791,
0.034272235,
0.00053115725,
0.03375033,
0.028929386,
0.00026890344,
0.049494307,
0.009845735,
0.043682832,
-0.044978708,
0.016202942,
-0.03792806,
0.03709004,
0.0024071136,
0.01571947,
-0.022291455,
-0.0025049888,
0.037405774,
-0.05483534,
0.0320796,
0.006743261,
-0.0075901053,
-0.015895419,
-0.011879925,
-0.114077605,
-0.036012452,
-0.019458903,
0.039436284,
0.027783195,
-0.055382665,
-0.008043197,
-0.0036612905,
0.020206898,
-0.009309853,
-0.036252167,
-0.011387752,
0.050158888,
0.0017371936,
-0.025937958,
-0.030635199,
-0.058819994,
-0.0069313245,
-0.004209105,
-0.013815325,
0.011257949,
0.03510823,
0.004807265,
-0.04084816,
-0.048516903,
-0.03549119,
0.0063218772,
-0.013320006,
-0.023580277,
0.07931054,
-0.012630366,
-0.034307353,
0.083278604,
-0.019339314,
0.036989518,
0.047519673,
0.008330579,
-0.06684102,
-0.020828567,
-0.0016005763,
0.0037651316,
-0.0290726,
-0.038187087,
-0.011761794,
0.07332954,
0.048947796,
0.0066967355,
0.00030506682,
-0.026735444,
0.0003591779,
-0.0017446446,
0.034313828,
-0.038483184,
-0.084472835,
0.023159236,
0.031459462,
0.05462754,
0.0150604155,
-0.011486448,
0.021071,
-0.015068466,
-0.03412993,
-0.03363461,
0.07256013,
0.020399047,
0.021079307,
0.013139558,
0.029423835,
0.02580177,
0.07378288,
0.053098552,
0.0010445575,
-0.05967749,
0.07230943,
-0.042679492,
-0.04302788,
0.00235337,
0.017255168,
0.083445266,
-0.017646035,
-0.022459133,
0.0068705017,
0.051071573,
-0.0049718795,
-0.0099572465,
-0.0076468103,
-0.02759554,
0.023380037,
0.03200115,
-0.014461045,
0.022191888,
-0.029301597,
0.092221975,
0.11732678,
-0.01992372,
0.025138808,
0.044134654,
-0.02390199,
0.024928166,
-0.002303499,
-0.023202209,
0.046912625,
-0.015181528,
0.043374997,
-0.009495595,
0.050601013,
-0.05259698,
-0.063409336,
0.01764044,
0.05077809,
0.009961246,
-0.014817057,
-0.043514192,
0.01128857,
0.031639285,
0.0066269655,
0.042519834,
-0.009257732,
0.00057607354,
-0.078355335,
-0.0035112,
-0.028754521,
-0.005122706,
-0.01242668,
0.029878063,
0.019882184,
-0.010878481,
0.040703148,
0.024053425,
-0.004037578,
0.033323694,
-0.041800488,
-0.08001511,
-0.028445974,
-0.047794186,
0.0033649993,
-0.024955234,
-0.0246494,
0.07047036,
-0.0025128715,
0.09181009,
0.018030588,
0.03614813,
0.007992265,
-0.006388993,
0.039633162,
0.008676098,
-0.008555736,
-0.07805932,
0.033708688,
-0.0012907608,
-0.011003005,
0.013455157,
-0.040933263,
-0.022525545,
0.0058940277,
-7.3746465e-05,
-0.027320297,
0.030873496,
-0.0382432,
-0.027093517,
0.03684335,
-0.035428602,
0.03903928,
0.011249623,
0.01648375,
-0.009614459,
0.00040212082,
0.019891042,
-0.017265849,
-0.029518986,
-0.0021601538,
-0.001263436,
-0.02431803,
0.030755784,
-0.0203588,
-0.038702417,
0.00047228363,
-0.016713016,
-0.045761377,
-0.0036283361,
-0.0033466232,
0.0019470254,
0.019250259,
0.03362542,
0.0021007906,
0.0093469955,
0.0025023564,
-0.0023875628,
-0.015718091,
0.008567405,
-0.022001995,
0.040123887,
0.04644549,
-0.03921077,
0.0128390435,
-0.047608368,
0.03019618,
-0.02100763,
-0.008887097,
-0.023297662,
-0.058117963,
-0.050039448,
-0.042037785,
0.009778059,
-0.042896606,
0.023667162,
-0.021646107,
-0.0085139945,
0.043802693,
-0.028918266,
-0.078997284,
0.0025900195,
-0.03533183,
-0.05135335,
0.02881346,
0.011519441,
0.054495495,
-0.01518895,
0.005383923,
-0.04073472,
-0.010176185,
0.014496789,
0.010065708,
0.03590252,
0.0502445,
0.040928382,
-0.021835104,
-0.009051874,
0.04545784,
0.056008928,
0.050937135,
0.0057510724,
-0.009609614,
0.086232886,
-0.0055724354,
-0.03572286,
-0.0037728269,
0.04825984,
-0.025948038,
0.022848984,
0.02990602,
-0.051778648,
-0.06041578,
0.043915883,
-0.04182703,
-0.008144247,
-0.026842678,
0.08341958,
-0.026044311,
-0.045275353,
-0.027890675,
-0.012195449,
0.045508925,
-0.0711689,
0.05662427,
-0.026666857,
-0.02400544,
-0.031821128,
0.05154189,
-0.028013796,
0.07027354,
-0.025199393,
0.071458556,
0.05159261,
-0.009702621,
-0.0292062,
-0.0006539755,
-0.007547089,
0.07696266,
0.04119208,
0.02269182,
0.023550116,
-0.011891305,
-0.0019354338,
0.04786894,
-0.027906831,
0.021072268,
0.076432854,
-0.06553183,
0.01862861,
-0.06791135,
-0.050306402,
-0.05260721,
0.011271741,
-0.00090540503,
-0.00586673,
-0.04343242,
0.043944333,
-0.009442963,
0.05242626,
-0.030415678,
-0.025321687,
0.01179464,
0.026350629,
0.0064153317,
0.07592477,
-0.017494515,
0.060401842,
0.013301226,
0.040358186,
0.03312654,
-0.068483435,
-0.04309235,
0.00020228238,
0.015284389,
-0.021765618,
-0.008834017,
0.00898098,
-0.022203308,
-0.026022945,
-0.060405266,
-0.036306493,
-0.0635644,
-0.019911667,
-0.06612217,
-0.016830113,
-0.04665814,
0.056536287,
0.03661846,
-0.064015426,
0.02515789,
-0.046791427,
0.07699667,
-0.007925841,
0.047779206,
0.023044702,
0.039954893,
-0.040115613,
-0.015775848,
0.007164218,
-0.009256051,
-0.034420982,
0.02846614,
-0.01607743,
0.015776388,
-0.018934235,
0.045096498,
-0.021748254,
0.049678154,
0.01852816,
-0.036218435,
-0.018958857,
-0.028583238,
0.040013842,
0.008460945,
-0.020836234,
0.009103908,
-0.013069774,
-0.038534135,
0.048007835,
-0.00039249414,
0.050986048,
-0.012399026,
0.009125683,
-0.0090596415,
0.02107644,
-0.018349461,
0.029914089,
0.032248452,
-0.023537338,
0.008016883,
-0.023186643,
0.011149536,
0.04109207,
0.00060086703,
-0.0039925687,
0.003558584,
-0.0031856818,
-0.0093926685,
-0.060290705,
0.04616099,
-0.011660713,
-0.008103016,
0.03087257,
-0.050025217,
-0.051958285,
0.073884405,
0.052943323,
0.0010731242,
0.031025864,
0.03570595,
0.085457414,
0.01059186,
0.021846503,
-0.025219727,
-0.018346634,
0.04661713,
-0.024405431,
-0.059233453,
0.014887368,
-0.0010446268
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 6,
"total_tokens": 6
}
}
},
"is_streaming": false
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"Why are data structures important?"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
-0.005537617,
0.06916903,
-0.12838003,
-0.054435544,
0.056447886,
0.008134399,
0.016608594,
-0.0058921375,
-0.05313428,
-0.06688879,
-0.012568388,
0.012111721,
0.105235286,
-0.02263449,
-0.010177594,
0.004734975,
-0.09559581,
-0.028683644,
0.0058541177,
0.026188085,
-0.050520275,
-0.019500857,
0.012380506,
0.014395482,
0.026217962,
0.06190981,
0.035086054,
-0.060082465,
-0.024419608,
0.06066378,
0.067089684,
-0.0022413156,
0.034370266,
-0.03275908,
-0.067305505,
-0.07365294,
-0.03796381,
0.0417503,
-0.0022684042,
-0.03612435,
-0.0043627527,
0.026574299,
-0.043182738,
-0.016121855,
0.056617834,
0.0035644963,
-0.017357847,
-0.06226198,
0.06327364,
-0.02569844,
0.045180622,
-0.033916302,
0.009496644,
0.009232226,
0.08429605,
0.014245551,
0.011716481,
0.031536568,
0.034133475,
-0.07624963,
0.06845145,
0.11499776,
-0.059729222,
0.024138942,
0.00844043,
-0.042411502,
-0.04555276,
0.0042649447,
-0.022429703,
-0.016566431,
0.038463145,
0.035052773,
0.010468588,
-0.035637558,
-0.018009456,
0.019711006,
-0.0018164418,
0.032522537,
-0.017777992,
0.04281307,
0.022317935,
-0.014570032,
0.051814165,
-0.026104348,
0.0060721817,
0.027556803,
0.019301897,
-0.0051285815,
0.0008205784,
0.06784391,
0.01828999,
-0.05432422,
0.03350105,
0.04821869,
-0.07671481,
0.028927805,
-0.0010314987,
0.022229388,
0.015976572,
0.012268727,
-0.016980033,
-0.033225447,
-0.0055734343,
0.037711926,
-0.008497184,
-0.0026543527,
0.01817149,
0.04020671,
-0.021306094,
-0.01967103,
-0.011725487,
0.07116612,
-0.032191947,
0.0041820197,
-0.012287592,
-0.0072404016,
0.05748187,
-0.076893605,
-0.060935732,
-0.032886352,
-0.024913851,
-0.03082887,
0.063504435,
0.050499663,
-0.00953502,
-0.01911118,
-0.014248132,
0.03580008,
0.025308054,
-0.0325095,
-0.02384228,
-0.02893065,
-0.072714105,
0.0032379152,
0.023790393,
0.027730187,
-0.07713924,
-0.033023696,
0.05448288,
0.04441297,
-0.0064711664,
0.047980845,
-0.057779964,
-0.033249557,
0.01849176,
-0.0047658836,
0.048738167,
-0.015904685,
-0.012622784,
-0.047651224,
0.013510109,
0.044847924,
-0.0065332567,
0.002103977,
0.0020099503,
-0.018039443,
0.025205035,
-0.021093374,
0.017220857,
0.029184485,
0.07254293,
0.022945909,
-0.011227397,
0.015889527,
-0.019730859,
-0.055678956,
0.026581861,
-0.007958577,
-0.0010272287,
0.01225634,
-0.010440475,
0.0002531115,
0.029618198,
-0.020070892,
0.03952564,
-0.0366865,
0.016611397,
-0.050106328,
0.11184867,
-0.050924838,
-0.048765384,
-0.02001305,
0.015339066,
0.0011975868,
-0.03850111,
0.020021703,
0.017949995,
-0.017428664,
-0.036301896,
-0.02607759,
0.021941803,
0.023278212,
-0.05207313,
-0.0030109077,
-0.008161817,
-0.011174615,
-0.008302075,
0.04031461,
0.019276977,
6.670047e-05,
-0.047496844,
-0.019320603,
-0.049447358,
0.026393468,
-0.05767862,
0.034639597,
-0.05007041,
0.03539971,
-0.015521765,
-0.024580823,
0.078373216,
-0.025312,
0.005472163,
0.015624604,
-0.01967381,
-0.07519429,
-0.02425046,
-0.047324978,
-0.020606762,
0.03830516,
-0.026497133,
-0.040506646,
0.06618092,
0.025015803,
-0.010152689,
-0.03545153,
-0.015584423,
-0.041362796,
-0.031546146,
-0.04923727,
-0.045551375,
-0.0363703,
0.03561515,
0.021098793,
0.018805709,
0.043199193,
0.04211065,
-0.015707605,
0.06552865,
-0.0044345935,
0.0021636349,
0.021116879,
-0.00902372,
0.00016378232,
0.04089644,
0.017872045,
-0.01988177,
-0.04746276,
-0.056757454,
0.049944583,
-0.04814026,
-0.01789611,
0.012141169,
0.023749296,
0.03348697,
-0.035503488,
-0.012246897,
-0.030342635,
0.021760855,
0.03522958,
0.045006342,
-0.030662347,
-0.020959431,
-0.046091873,
-0.039962176,
0.012489674,
0.022059996,
-0.018306898,
0.0013366137,
-0.004929118,
0.0050332947,
-0.0047667488,
0.011198262,
0.039860554,
0.027264297,
0.015008899,
-0.01941151,
-0.009626869,
-0.07115547,
0.054735005,
-0.018833006,
-0.024569243,
-0.08668861,
-0.004703397,
-0.00011713481,
0.051200785,
0.015704084,
0.053649522,
0.0003241066,
0.0271382,
0.033410013,
0.03312349,
-0.023334617,
0.06006938,
0.085168265,
-0.03964656,
0.028949043,
0.027599309,
0.0029633555,
-0.076598294,
-0.027344286,
0.08765251,
0.05685523,
0.012457643,
-0.016720895,
0.010598825,
0.018684555,
-0.026163884,
-0.0641325,
0.008135987,
-0.008771646,
-0.010268096,
0.002454192,
0.027417758,
-0.039162852,
0.03689637,
0.0073473705,
0.02343153,
0.01239056,
-0.0034907598,
0.0015513701,
-0.02923274,
-0.03117261,
-0.073611975,
0.009902854,
0.06777297,
-0.015783794,
0.023278274,
-0.014756731,
-0.019437285,
0.050553747,
-0.035671428,
0.015629971,
-0.027602185,
-0.07591654,
0.025779493,
-0.0038342986,
-0.01145877,
-0.015992656,
0.0015020998,
-0.016934844,
-0.025619576,
-0.009407283,
-0.043661304,
0.010822514,
0.029804591,
-0.036958724,
-0.04009494,
0.034163192,
-0.014676856,
-0.05980947,
0.01648287,
-0.018298857,
0.008893675,
-0.018068943,
0.015715905,
0.01747,
0.011904428,
-0.028053667,
0.005223895,
0.0062146406,
0.0044294195,
-0.011228696,
-0.0069788555,
-0.033967305,
0.02371936,
-0.015039944,
0.003958914,
0.020385008,
0.02405812,
-0.028715689,
0.007755093,
-0.015563365,
0.03007783,
0.040063746,
-0.0033891802,
-0.06933125,
-0.019546062,
-0.008742925,
0.042390414,
0.059425294,
-0.007944469,
-0.008852406,
-0.041449193,
0.029817477,
-0.072902136,
0.005838279,
-0.0040887254,
-0.002960395,
0.016356403,
-0.0296515,
-0.05085301,
-0.029183367,
0.0092353765,
-0.0028603566,
-0.05293105,
-0.055138398,
0.055674743,
0.04991063,
-0.004752522,
-0.03616747,
-0.07279119,
-0.035633873,
-0.044298638,
-0.008577678,
0.04551653,
-0.00092662557,
-0.06565049,
-0.030902417,
-0.023554012,
0.0044309157,
0.025672494,
0.004166829,
-0.035677385,
-0.024446337,
0.013814578,
0.01186579,
0.006272616,
0.0036778871,
0.014971717,
0.053759076,
0.06549763,
0.0425127,
0.010884649,
0.043007683,
0.032144673,
0.09410879,
0.024780361,
-0.012006312,
-0.048107393,
0.008337757,
0.061457343,
0.019198485,
-0.003071099,
-0.0623972,
0.035353236,
0.018422177,
0.06360829,
-0.07275369,
0.068699665,
0.014621255,
-0.06763529,
-0.0032015769,
0.010275035,
0.032158606,
0.06903476,
-0.023221508,
-0.02270335,
-0.07228754,
0.086055666,
0.012974004,
0.021989947,
0.031505257,
-0.0057519623,
0.09631855,
-0.006373433,
-0.012076058,
-0.03971445,
0.028068455,
0.08778621,
-0.033523638,
-0.016415764,
-0.04628969,
0.016188512,
0.009353825,
-0.053086247,
0.00091402984,
-0.04855975,
0.0423367,
0.042704403,
-0.022618005,
0.027163865,
0.011552811,
-0.04381972,
0.034385473,
0.0620799,
-0.045087457,
-0.025685713,
0.052742172,
0.045610208,
-0.02660663,
-0.011890946,
-0.02272672,
-0.021724265,
0.030433476,
0.025457354,
-0.039997727,
-0.016979937,
0.039492138,
0.006640425,
0.017992454,
-0.010872081,
0.03414194,
0.049292207,
-0.025189904,
-0.03260604,
0.01796038,
0.0029543617,
-0.01690156,
-0.015726618,
0.009791458,
0.014492771,
-0.0050069783,
-0.03180184,
-0.010083302,
0.0038707403,
0.08266221,
-0.064660564,
-0.0023653912,
-0.07089886,
-0.01258373,
0.0047039823,
-0.0083789015,
0.045687698,
0.019797202,
-0.045586035,
0.0057957913,
0.023176257,
-0.03838602,
-0.014270414,
-0.04099639,
0.0012379282,
-0.0015666038,
0.0088998815,
-0.021020403,
0.029241446,
0.01820776,
-0.038560424,
-0.0011702153,
0.030556247,
0.045562882,
0.033868488,
-0.08029513,
-0.021785421,
0.0108429855,
-0.02909015,
-0.028360903,
0.06936639,
0.035676565,
0.0451092,
0.017205851,
0.025102865,
-0.047474638,
0.027446197,
0.019062418,
-0.059072465,
0.010990115,
-0.030562093,
-0.0099427,
-0.047363095,
-0.032277513,
0.019248549,
-0.024687845,
-0.017801417,
-0.0052152243,
-0.04685609,
0.011390218,
-0.009438653,
-0.013997598,
-0.03000924,
0.03206064,
0.05514924,
0.02972903,
0.050307427,
0.044194628,
0.019290293,
0.0118090175,
0.021541787,
0.025737246,
0.026711913,
0.015498265,
-0.029636372,
0.013573975,
0.022221401,
0.0008735981,
0.022813456,
-0.0019176906,
-0.028602915,
-0.032376897,
-0.047528483,
0.016405603,
-0.024236131,
0.04294928,
0.005900896,
0.042353947,
-0.0014653543,
-0.008895069,
-0.015182025,
0.039297402,
-0.034871247,
-0.031332478,
0.024921058,
0.0232865,
-0.012146839,
-0.0029081188,
0.009350526,
-0.020475931,
0.022899676,
0.01186137,
-0.09987264,
0.041012835,
0.036239758,
0.01880219,
0.011668417,
0.017341169,
0.038414557,
0.031070754,
-0.023524504,
-0.060313478,
-0.018000398,
0.040951964,
-0.015196476,
-0.048878703,
0.00782923,
0.019228062,
-0.046695173,
4.7787482e-05,
-0.011049097,
0.03390831,
-0.036429662,
0.013607421,
-0.0560462,
0.015323739,
-0.00559296,
0.027539497,
0.0064943545,
-0.062197395,
-0.0028299761,
0.015416633,
0.05422369,
-0.042707294,
0.089026414,
-0.08670881,
0.011689654,
-0.03121042,
0.003483503,
0.020848976,
0.029173227,
-0.013282394,
0.0068931505,
-0.004062615,
-0.016197648,
0.014108349,
0.034350544,
0.044643115,
-0.014521838,
0.06435053,
0.0574463,
0.054429315,
-0.032793697,
0.02582998,
0.053711463,
0.011061972,
-0.013604729,
0.02121133,
-0.057042196,
0.0028744196,
-0.022992328,
-0.025962546,
-0.017927067,
-0.0004939514,
0.0099513745,
-0.0111832945,
-0.04353563,
0.02352363,
-0.0008495444,
0.03614839,
0.008389351,
-0.012561091,
0.04550447,
0.017013015,
0.021661162,
0.044357948,
-0.05921587,
0.06603663,
0.032545485,
0.015602304,
-0.056643166,
-0.048982896,
-0.008270888,
0.036372244,
0.013537032,
0.04801237,
-0.0032966547,
-0.027335804,
0.034285758,
-0.010672268,
-0.04469174,
-0.00999756,
-0.023212576,
-0.009087137,
-0.05068745,
-0.018782021,
-0.05753603,
-0.0069712996,
0.020699542,
0.00032780186,
0.0047878637,
0.006886393,
0.016783845,
0.008328246,
-0.0280518,
0.02498479,
0.015793705,
0.028757732,
0.013403357,
0.04407358,
0.006855516,
-0.013155722,
0.025201587,
0.020770911,
-0.027199224,
0.04747331,
0.012809781,
0.019121533,
-0.0063016945,
-0.0012925717,
-0.041240938,
-0.070435,
0.02647094,
0.011080568,
-0.053764027,
-0.04201665,
0.014704289,
-0.009153089,
0.010357686,
0.014867435,
0.0058372235,
0.015002229,
0.0056983153,
-0.04907009,
-0.022335714,
-0.021442257,
0.011397501,
-0.059680413,
0.026818616,
-0.03358469,
0.034330584,
-0.061704513,
-0.0024871114,
-0.025597772,
0.04292534,
-0.022126105,
0.00750423,
-0.025951544,
-0.032138623,
-0.016191538,
0.05478396,
0.027236123,
0.017630614,
-0.053576928,
-0.009819819,
-0.021186193,
0.011438662,
-0.055087693,
0.051182102,
-0.020695793,
0.01615491,
0.09019232,
0.035558622,
0.027603673,
0.03298624,
0.05157328,
0.030370139,
-0.009578387,
-0.010058735,
-0.024157599,
0.018072752
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 6,
"total_tokens": 6
}
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,805 @@
{
"request": {
"method": "POST",
"url": "http://localhost:11434/api/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"What makes Python different from other languages?"
]
},
"endpoint": "/api/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "ollama._types.EmbedResponse",
"__data__": {
"model": "nomic-embed-text:latest",
"created_at": null,
"done": null,
"done_reason": null,
"total_duration": 53665021,
"load_duration": 7521348,
"prompt_eval_count": 8,
"prompt_eval_duration": null,
"eval_count": null,
"eval_duration": null,
"embeddings": [
[
0.0046729995,
0.08367827,
-0.11983507,
-0.050093446,
0.07618384,
0.05593213,
-0.061489623,
-0.006364326,
-0.029802034,
-0.04646219,
-0.020673849,
0.045563184,
0.05729102,
-0.0035674113,
0.023041442,
-0.09632413,
0.02682131,
-0.0623268,
0.020290064,
0.10719567,
-0.024187474,
-0.0012495475,
0.004912387,
-0.021532677,
0.08849207,
-0.0071383035,
-0.0038436172,
0.006953316,
-0.0074194297,
0.013414041,
0.01009785,
-0.025114689,
-0.00323692,
-0.007910291,
-0.020236162,
-0.03304177,
0.056447934,
-0.028734447,
0.023239251,
0.06578905,
-0.017059958,
0.032831933,
0.033708036,
0.027424483,
0.08496434,
-0.059330564,
-0.028645022,
-0.009324332,
-0.0002942962,
-0.02293136,
-0.0051521496,
-0.049105708,
-0.059288595,
-0.023537388,
0.08142966,
0.021555651,
-0.016085982,
0.04086509,
0.056520462,
-0.030164476,
0.009967878,
0.03602007,
-0.07710692,
0.08301172,
0.022732632,
-0.026063917,
0.00918077,
0.05369337,
-0.038261894,
0.0068382295,
0.006519701,
-0.05527249,
0.038670596,
-0.015663542,
-0.060338102,
0.0010586443,
-0.04753238,
-0.03080003,
0.004586281,
0.077272825,
-0.011468581,
0.05421697,
-0.02187193,
0.023541195,
0.018677576,
-0.017169198,
0.019133294,
0.008102179,
-0.038497563,
0.048995662,
-0.028528647,
-0.06566288,
0.02782202,
0.032774955,
-0.098827474,
0.04162325,
-0.0327093,
0.047905676,
0.015851207,
-0.023585485,
0.031512693,
0.01450621,
0.04191195,
-0.046411946,
0.04534742,
0.018753389,
-0.0013513619,
-0.019715218,
-0.066928804,
-0.023989664,
0.011994317,
0.051557284,
-0.041501094,
-0.020618148,
-0.0023547185,
-0.013477164,
0.03305796,
-0.024774846,
0.049841538,
0.0022040207,
-0.0014909434,
-0.038084634,
-0.025850328,
0.007890264,
-0.019939544,
0.022816485,
0.008693686,
-0.006018863,
0.0433778,
-0.04078721,
0.051547054,
-0.0058848374,
-0.049583584,
0.0010886607,
-0.008243564,
0.0059168558,
-0.03391018,
-0.025093738,
0.061943427,
0.007271672,
0.035917647,
0.020511657,
-0.025023287,
-0.034360327,
0.025222978,
-0.035609815,
0.015952613,
0.023568423,
-0.034356005,
0.04268414,
0.018390965,
0.048282776,
0.013146153,
0.08259272,
-0.0032635243,
0.0036178147,
0.0014678114,
0.026220903,
0.033261463,
-0.017943276,
0.06869591,
-0.038860235,
0.0011260306,
0.061305773,
-0.018875655,
-0.025357278,
0.023678023,
0.016967123,
-0.027450584,
-0.018650837,
-0.038267896,
-0.020158915,
-0.010751327,
-0.017384104,
0.002783981,
0.03233844,
-0.0059812176,
-0.05770859,
0.05360885,
-0.011436813,
-0.029258335,
-0.05690903,
0.033494066,
0.013545361,
-0.01807092,
0.04314751,
-0.0034506994,
-0.037475917,
-0.05818657,
-0.035960786,
-0.0014517375,
0.02370148,
-0.052666686,
-0.06774943,
-0.042640787,
-0.038259294,
-0.034229994,
-0.02018593,
-0.00071225263,
-0.051207405,
-0.09241324,
0.017081603,
-0.055170946,
-0.027419994,
-0.05488885,
0.00024020014,
-0.056423515,
0.016386658,
-0.008125207,
0.017009024,
0.061119728,
-0.019649733,
-0.028592423,
0.017121704,
0.0070573473,
-0.03559433,
0.01981679,
0.004803543,
0.025097998,
0.023293447,
0.042799275,
-0.024950983,
-0.0027024252,
0.0002950727,
0.022047987,
0.0038533602,
-0.04478341,
0.004735221,
-0.04412116,
0.030636456,
-0.019909523,
-0.08738823,
0.04649432,
0.036256254,
0.006762584,
0.030192286,
0.08052302,
0.033327013,
0.0046570627,
-0.041009318,
-0.0056137573,
-0.045581166,
-0.029953878,
0.051141113,
-0.01926845,
-0.016983513,
-0.01216351,
-0.010667466,
-0.03941931,
0.024751492,
-0.06270411,
-0.0004912984,
-0.019837726,
0.053206023,
0.018572045,
-0.00433514,
0.029663734,
-0.011121416,
0.048793092,
-0.0072688186,
0.0023387775,
-0.030263552,
-0.017934998,
0.017838838,
-0.016541969,
0.030033294,
-0.022508236,
0.019326903,
-0.012238781,
-0.04232247,
-0.016227903,
0.04053641,
0.001301497,
-0.01997004,
-0.03386042,
0.011208312,
0.050123874,
-0.030583302,
0.003913973,
0.011361978,
-0.012887163,
-0.018955516,
-0.069560185,
0.0014864578,
0.0062581827,
0.04212651,
0.03774564,
-0.015523998,
-0.016369171,
-0.019660296,
0.05493642,
0.0015191231,
-0.033365276,
-0.012095495,
0.027248293,
0.020441834,
0.013445339,
0.013682621,
0.015536244,
-0.028962668,
0.004929255,
0.02518769,
0.07103068,
0.075788856,
0.041592095,
-0.03597926,
0.023015179,
-0.022843644,
0.034081217,
0.0060963808,
-0.008529299,
0.006294038,
-0.025672738,
0.05488941,
-0.055093173,
0.07243802,
0.0141825415,
0.0308509,
0.041094095,
-0.007553252,
-0.06274927,
-0.09811207,
0.013357354,
-0.035389904,
0.012465341,
0.02351445,
-0.015170896,
0.03119407,
-0.038077693,
-0.02364212,
-0.013159648,
0.04473552,
0.010796075,
-0.04258428,
-0.093003735,
0.021847364,
0.017225882,
0.008352402,
0.038261257,
-0.003030472,
0.033840727,
-0.009877865,
0.022144917,
-0.012885877,
-0.051981,
-0.033762768,
0.014374742,
-0.03489426,
0.038326614,
0.053900667,
-0.019255288,
0.02952817,
-0.0066410997,
0.012437924,
0.008931344,
-0.038260076,
0.014588864,
0.0058643934,
-0.024168165,
-0.0013261349,
0.07556261,
-0.02370782,
0.015575742,
-0.044894066,
-0.021132942,
0.02921605,
0.03514032,
-0.036614947,
-0.01650485,
-0.035167158,
-0.06490054,
0.0001652334,
-0.033861794,
-0.0057242354,
0.02288193,
0.0011842233,
-0.053062785,
0.017728308,
-0.03282102,
0.023366714,
0.0029745186,
-0.047753222,
-0.03590201,
-0.0013832673,
0.018005969,
-0.06611011,
-0.026779244,
0.015048001,
0.0048729186,
0.0117059015,
0.006892129,
-0.034202524,
-0.038967494,
0.043668907,
0.04872134,
-0.016897338,
0.06622767,
0.0075521916,
-0.007095238,
0.013473102,
-0.09279873,
-0.07317575,
0.022813406,
-0.06532969,
-0.017089238,
-0.006204217,
0.025060378,
-0.014112059,
0.027652968,
-0.019848496,
-0.014876715,
0.013819118,
0.021037769,
-0.012634557,
-0.041545767,
0.023760725,
0.032076474,
0.039771467,
-0.050509695,
-0.034962162,
0.019604292,
0.039934073,
-0.014291187,
0.006866362,
0.04805399,
0.03475203,
-0.0015938762,
0.046109244,
-0.008225219,
-0.063477896,
0.049163755,
0.045547675,
0.04105663,
-0.004434418,
-0.0005789473,
-0.011213528,
0.020711236,
0.020164479,
0.00022020485,
0.07559471,
0.056147907,
0.0021673248,
-0.06750229,
-0.03253552,
0.03148892,
0.07363206,
0.048124276,
0.0015242813,
-0.0838819,
0.052230615,
-0.021610465,
0.0011119022,
0.031795647,
0.014873408,
0.07417208,
-0.0018048456,
0.0079857595,
-0.019389449,
-0.006495991,
0.005894369,
0.007853448,
-0.029874874,
-0.0320637,
0.015240898,
-0.007846983,
0.011588476,
-0.011301919,
0.019099902,
0.011056272,
0.03648125,
-0.02195568,
0.04355596,
0.02669605,
-0.015223798,
-0.013884909,
-0.0050804904,
-0.004750796,
0.022783237,
0.015940309,
-0.012244476,
-0.011317931,
-0.009354777,
-0.023151329,
0.03429113,
0.0051864977,
0.02457414,
-0.0033507706,
-0.0104874,
0.002788444,
-0.016653126,
0.051700823,
0.019529514,
0.04261257,
-0.0075747096,
-0.003765558,
-0.0019597467,
0.0279621,
0.07925864,
0.08443099,
0.035979144,
0.03536022,
0.042729665,
-0.028891131,
-0.013914508,
0.058183342,
-0.010805858,
0.08802363,
-0.017534515,
-0.012958136,
0.015157312,
0.022560405,
-0.031159867,
-0.016629003,
0.03961241,
0.07040376,
-0.019207092,
0.017654294,
-0.01813809,
-0.049150873,
-0.02271924,
0.0031630252,
-0.05195251,
0.018857853,
-0.047200717,
-0.03106002,
0.015746927,
0.021182967,
-0.043024488,
-0.041158427,
-0.00820427,
0.03578493,
0.001484108,
-0.009154998,
0.030458203,
-0.006490707,
-0.048361473,
-0.048156727,
0.050951194,
0.0019992944,
-0.019094428,
0.09080959,
-0.011926476,
0.015554175,
0.014007224,
0.039263874,
0.016709477,
0.008354181,
-0.0044760723,
-0.021939222,
-0.049393058,
0.05729053,
-0.012651164,
0.014071758,
0.0046782386,
0.008271865,
-0.04334195,
0.0005997096,
-0.004227477,
-0.02372461,
-0.050760318,
-0.0075537045,
0.010082016,
0.023338959,
-0.0052031702,
0.034936022,
-0.0021468415,
-0.036947228,
0.013057038,
-0.015401609,
0.023497345,
-0.036911897,
-0.01782185,
0.025531009,
0.0035822785,
0.008486776,
-0.0016426182,
-0.027474875,
-0.02835642,
-0.04687007,
-0.0009909989,
0.014059277,
-0.030616002,
-0.004377441,
0.028421978,
-0.024111593,
-0.0056299423,
0.0015978045,
0.0014227218,
0.013353462,
-0.024390124,
-0.01321968,
-0.017456537,
0.020520363,
-0.01870311,
0.0011639914,
0.0008379278,
-0.10092324,
-0.02364417,
-0.013962409,
-0.05892015,
0.03493094,
0.016736573,
0.071991876,
-0.010352634,
0.0020157814,
0.101977885,
-0.020467687,
0.03846494,
0.00402658,
-0.016268544,
0.038780987,
0.02723967,
-0.017856523,
0.0025183253,
0.0016514016,
-0.08135963,
0.015227932,
0.02675833,
-0.002617595,
-0.021634592,
0.019837178,
-0.056222755,
-0.009460264,
-0.049765006,
0.07484157,
-0.0064267237,
-0.10153188,
0.021627493,
0.016266825,
0.03487872,
-0.01969008,
0.038381018,
-0.076084,
0.011700306,
-0.024817357,
0.00281434,
-0.044688832,
0.009832192,
0.0083640665,
0.029647915,
0.038633198,
-0.032291353,
0.032007374,
-0.017241925,
0.056895874,
0.025527835,
0.04936822,
0.036731277,
-0.020813527,
-0.028591529,
0.039764766,
0.062535115,
0.009700183,
0.01676748,
0.036962405,
0.02405034,
0.049978618,
-0.029880583,
-0.050519772,
-0.005536777,
-0.016479978,
-0.013379111,
-0.045292385,
0.077936605,
0.0689667,
0.025144542,
-0.029920159,
-0.0034371899,
-0.061837044,
0.009829935,
0.007369592,
-0.012490391,
-0.003320709,
-0.037822153,
0.03092371,
0.03155607,
0.012294086,
-0.005881877,
-0.051185958,
0.002577688,
0.03417583,
-0.0012902478,
-0.0011651582,
0.0019940033,
-0.012383251,
-0.035013046,
0.015293466,
-0.035849154,
-0.024594285,
-0.058847487,
-0.007566319,
-0.044484906,
-0.005365333,
0.02669771,
0.0029901974,
-0.011547146,
0.00045445625,
-0.0026340692,
-0.011839454,
0.03530131,
0.0412411,
0.009665487,
0.0060306704,
0.020819185,
-0.011226154,
0.010292397,
0.018119559,
0.03387001,
-0.018922403,
-0.01955979,
0.014156942,
0.024573328,
0.04799882,
0.039316636,
0.036019348,
-2.5837232e-07,
-0.04822046,
-0.08429299,
-0.06438646,
-0.007204331,
0.06345313,
-0.041491695,
-0.053624503,
-0.028780377,
0.014476282,
-0.022512216,
0.019275434,
-0.06477934,
0.0002483011,
0.041818283,
-0.010343199,
0.021653214,
-0.04928451,
0.025383824,
-0.05575207,
0.03156857,
-0.013100797,
-0.044427752,
-0.068749234,
-0.048207227,
-0.027950142,
0.073878065,
0.0031722016,
0.04611447,
-0.035723124,
-0.024947515,
-0.013857214,
0.08637766,
0.020975156,
-0.041173246,
-0.017161308,
-0.029813504,
-0.056600228,
0.084700204,
-0.027912784,
0.007173704,
-0.026339915,
0.07250316,
0.064762786,
-0.012431514,
0.005630715,
0.010979044,
0.014449948,
0.011757012,
-0.015327175,
0.034664765,
-0.034179345,
-0.028524596
]
]
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"What makes Python different from other languages?"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
0.0046729995,
0.08367827,
-0.11983507,
-0.050093446,
0.07618384,
0.05593213,
-0.061489623,
-0.006364326,
-0.029802034,
-0.04646219,
-0.020673849,
0.045563184,
0.05729102,
-0.0035674113,
0.023041442,
-0.09632413,
0.02682131,
-0.0623268,
0.020290064,
0.10719567,
-0.024187474,
-0.0012495475,
0.004912387,
-0.021532677,
0.08849207,
-0.0071383035,
-0.0038436172,
0.006953316,
-0.0074194297,
0.013414041,
0.01009785,
-0.025114689,
-0.00323692,
-0.007910291,
-0.020236162,
-0.03304177,
0.056447934,
-0.028734447,
0.023239251,
0.06578905,
-0.017059958,
0.032831933,
0.033708036,
0.027424483,
0.08496434,
-0.059330564,
-0.028645022,
-0.009324332,
-0.0002942962,
-0.02293136,
-0.0051521496,
-0.049105708,
-0.059288595,
-0.023537388,
0.08142966,
0.021555651,
-0.016085982,
0.04086509,
0.056520462,
-0.030164476,
0.009967878,
0.03602007,
-0.07710692,
0.08301172,
0.022732632,
-0.026063917,
0.00918077,
0.05369337,
-0.038261894,
0.0068382295,
0.006519701,
-0.05527249,
0.038670596,
-0.015663542,
-0.060338102,
0.0010586443,
-0.04753238,
-0.03080003,
0.004586281,
0.077272825,
-0.011468581,
0.05421697,
-0.02187193,
0.023541195,
0.018677576,
-0.017169198,
0.019133294,
0.008102179,
-0.038497563,
0.048995662,
-0.028528647,
-0.06566288,
0.02782202,
0.032774955,
-0.098827474,
0.04162325,
-0.0327093,
0.047905676,
0.015851207,
-0.023585485,
0.031512693,
0.01450621,
0.04191195,
-0.046411946,
0.04534742,
0.018753389,
-0.0013513619,
-0.019715218,
-0.066928804,
-0.023989664,
0.011994317,
0.051557284,
-0.041501094,
-0.020618148,
-0.0023547185,
-0.013477164,
0.03305796,
-0.024774846,
0.049841538,
0.0022040207,
-0.0014909434,
-0.038084634,
-0.025850328,
0.007890264,
-0.019939544,
0.022816485,
0.008693686,
-0.006018863,
0.0433778,
-0.04078721,
0.051547054,
-0.0058848374,
-0.049583584,
0.0010886607,
-0.008243564,
0.0059168558,
-0.03391018,
-0.025093738,
0.061943427,
0.007271672,
0.035917647,
0.020511657,
-0.025023287,
-0.034360327,
0.025222978,
-0.035609815,
0.015952613,
0.023568423,
-0.034356005,
0.04268414,
0.018390965,
0.048282776,
0.013146153,
0.08259272,
-0.0032635243,
0.0036178147,
0.0014678114,
0.026220903,
0.033261463,
-0.017943276,
0.06869591,
-0.038860235,
0.0011260306,
0.061305773,
-0.018875655,
-0.025357278,
0.023678023,
0.016967123,
-0.027450584,
-0.018650837,
-0.038267896,
-0.020158915,
-0.010751327,
-0.017384104,
0.002783981,
0.03233844,
-0.0059812176,
-0.05770859,
0.05360885,
-0.011436813,
-0.029258335,
-0.05690903,
0.033494066,
0.013545361,
-0.01807092,
0.04314751,
-0.0034506994,
-0.037475917,
-0.05818657,
-0.035960786,
-0.0014517375,
0.02370148,
-0.052666686,
-0.06774943,
-0.042640787,
-0.038259294,
-0.034229994,
-0.02018593,
-0.00071225263,
-0.051207405,
-0.09241324,
0.017081603,
-0.055170946,
-0.027419994,
-0.05488885,
0.00024020014,
-0.056423515,
0.016386658,
-0.008125207,
0.017009024,
0.061119728,
-0.019649733,
-0.028592423,
0.017121704,
0.0070573473,
-0.03559433,
0.01981679,
0.004803543,
0.025097998,
0.023293447,
0.042799275,
-0.024950983,
-0.0027024252,
0.0002950727,
0.022047987,
0.0038533602,
-0.04478341,
0.004735221,
-0.04412116,
0.030636456,
-0.019909523,
-0.08738823,
0.04649432,
0.036256254,
0.006762584,
0.030192286,
0.08052302,
0.033327013,
0.0046570627,
-0.041009318,
-0.0056137573,
-0.045581166,
-0.029953878,
0.051141113,
-0.01926845,
-0.016983513,
-0.01216351,
-0.010667466,
-0.03941931,
0.024751492,
-0.06270411,
-0.0004912984,
-0.019837726,
0.053206023,
0.018572045,
-0.00433514,
0.029663734,
-0.011121416,
0.048793092,
-0.0072688186,
0.0023387775,
-0.030263552,
-0.017934998,
0.017838838,
-0.016541969,
0.030033294,
-0.022508236,
0.019326903,
-0.012238781,
-0.04232247,
-0.016227903,
0.04053641,
0.001301497,
-0.01997004,
-0.03386042,
0.011208312,
0.050123874,
-0.030583302,
0.003913973,
0.011361978,
-0.012887163,
-0.018955516,
-0.069560185,
0.0014864578,
0.0062581827,
0.04212651,
0.03774564,
-0.015523998,
-0.016369171,
-0.019660296,
0.05493642,
0.0015191231,
-0.033365276,
-0.012095495,
0.027248293,
0.020441834,
0.013445339,
0.013682621,
0.015536244,
-0.028962668,
0.004929255,
0.02518769,
0.07103068,
0.075788856,
0.041592095,
-0.03597926,
0.023015179,
-0.022843644,
0.034081217,
0.0060963808,
-0.008529299,
0.006294038,
-0.025672738,
0.05488941,
-0.055093173,
0.07243802,
0.0141825415,
0.0308509,
0.041094095,
-0.007553252,
-0.06274927,
-0.09811207,
0.013357354,
-0.035389904,
0.012465341,
0.02351445,
-0.015170896,
0.03119407,
-0.038077693,
-0.02364212,
-0.013159648,
0.04473552,
0.010796075,
-0.04258428,
-0.093003735,
0.021847364,
0.017225882,
0.008352402,
0.038261257,
-0.003030472,
0.033840727,
-0.009877865,
0.022144917,
-0.012885877,
-0.051981,
-0.033762768,
0.014374742,
-0.03489426,
0.038326614,
0.053900667,
-0.019255288,
0.02952817,
-0.0066410997,
0.012437924,
0.008931344,
-0.038260076,
0.014588864,
0.0058643934,
-0.024168165,
-0.0013261349,
0.07556261,
-0.02370782,
0.015575742,
-0.044894066,
-0.021132942,
0.02921605,
0.03514032,
-0.036614947,
-0.01650485,
-0.035167158,
-0.06490054,
0.0001652334,
-0.033861794,
-0.0057242354,
0.02288193,
0.0011842233,
-0.053062785,
0.017728308,
-0.03282102,
0.023366714,
0.0029745186,
-0.047753222,
-0.03590201,
-0.0013832673,
0.018005969,
-0.06611011,
-0.026779244,
0.015048001,
0.0048729186,
0.0117059015,
0.006892129,
-0.034202524,
-0.038967494,
0.043668907,
0.04872134,
-0.016897338,
0.06622767,
0.0075521916,
-0.007095238,
0.013473102,
-0.09279873,
-0.07317575,
0.022813406,
-0.06532969,
-0.017089238,
-0.006204217,
0.025060378,
-0.014112059,
0.027652968,
-0.019848496,
-0.014876715,
0.013819118,
0.021037769,
-0.012634557,
-0.041545767,
0.023760725,
0.032076474,
0.039771467,
-0.050509695,
-0.034962162,
0.019604292,
0.039934073,
-0.014291187,
0.006866362,
0.04805399,
0.03475203,
-0.0015938762,
0.046109244,
-0.008225219,
-0.063477896,
0.049163755,
0.045547675,
0.04105663,
-0.004434418,
-0.0005789473,
-0.011213528,
0.020711236,
0.020164479,
0.00022020485,
0.07559471,
0.056147907,
0.0021673248,
-0.06750229,
-0.03253552,
0.03148892,
0.07363206,
0.048124276,
0.0015242813,
-0.0838819,
0.052230615,
-0.021610465,
0.0011119022,
0.031795647,
0.014873408,
0.07417208,
-0.0018048456,
0.0079857595,
-0.019389449,
-0.006495991,
0.005894369,
0.007853448,
-0.029874874,
-0.0320637,
0.015240898,
-0.007846983,
0.011588476,
-0.011301919,
0.019099902,
0.011056272,
0.03648125,
-0.02195568,
0.04355596,
0.02669605,
-0.015223798,
-0.013884909,
-0.0050804904,
-0.004750796,
0.022783237,
0.015940309,
-0.012244476,
-0.011317931,
-0.009354777,
-0.023151329,
0.03429113,
0.0051864977,
0.02457414,
-0.0033507706,
-0.0104874,
0.002788444,
-0.016653126,
0.051700823,
0.019529514,
0.04261257,
-0.0075747096,
-0.003765558,
-0.0019597467,
0.0279621,
0.07925864,
0.08443099,
0.035979144,
0.03536022,
0.042729665,
-0.028891131,
-0.013914508,
0.058183342,
-0.010805858,
0.08802363,
-0.017534515,
-0.012958136,
0.015157312,
0.022560405,
-0.031159867,
-0.016629003,
0.03961241,
0.07040376,
-0.019207092,
0.017654294,
-0.01813809,
-0.049150873,
-0.02271924,
0.0031630252,
-0.05195251,
0.018857853,
-0.047200717,
-0.03106002,
0.015746927,
0.021182967,
-0.043024488,
-0.041158427,
-0.00820427,
0.03578493,
0.001484108,
-0.009154998,
0.030458203,
-0.006490707,
-0.048361473,
-0.048156727,
0.050951194,
0.0019992944,
-0.019094428,
0.09080959,
-0.011926476,
0.015554175,
0.014007224,
0.039263874,
0.016709477,
0.008354181,
-0.0044760723,
-0.021939222,
-0.049393058,
0.05729053,
-0.012651164,
0.014071758,
0.0046782386,
0.008271865,
-0.04334195,
0.0005997096,
-0.004227477,
-0.02372461,
-0.050760318,
-0.0075537045,
0.010082016,
0.023338959,
-0.0052031702,
0.034936022,
-0.0021468415,
-0.036947228,
0.013057038,
-0.015401609,
0.023497345,
-0.036911897,
-0.01782185,
0.025531009,
0.0035822785,
0.008486776,
-0.0016426182,
-0.027474875,
-0.02835642,
-0.04687007,
-0.0009909989,
0.014059277,
-0.030616002,
-0.004377441,
0.028421978,
-0.024111593,
-0.0056299423,
0.0015978045,
0.0014227218,
0.013353462,
-0.024390124,
-0.01321968,
-0.017456537,
0.020520363,
-0.01870311,
0.0011639914,
0.0008379278,
-0.10092324,
-0.02364417,
-0.013962409,
-0.05892015,
0.03493094,
0.016736573,
0.071991876,
-0.010352634,
0.0020157814,
0.101977885,
-0.020467687,
0.03846494,
0.00402658,
-0.016268544,
0.038780987,
0.02723967,
-0.017856523,
0.0025183253,
0.0016514016,
-0.08135963,
0.015227932,
0.02675833,
-0.002617595,
-0.021634592,
0.019837178,
-0.056222755,
-0.009460264,
-0.049765006,
0.07484157,
-0.0064267237,
-0.10153188,
0.021627493,
0.016266825,
0.03487872,
-0.01969008,
0.038381018,
-0.076084,
0.011700306,
-0.024817357,
0.00281434,
-0.044688832,
0.009832192,
0.0083640665,
0.029647915,
0.038633198,
-0.032291353,
0.032007374,
-0.017241925,
0.056895874,
0.025527835,
0.04936822,
0.036731277,
-0.020813527,
-0.028591529,
0.039764766,
0.062535115,
0.009700183,
0.01676748,
0.036962405,
0.02405034,
0.049978618,
-0.029880583,
-0.050519772,
-0.005536777,
-0.016479978,
-0.013379111,
-0.045292385,
0.077936605,
0.0689667,
0.025144542,
-0.029920159,
-0.0034371899,
-0.061837044,
0.009829935,
0.007369592,
-0.012490391,
-0.003320709,
-0.037822153,
0.03092371,
0.03155607,
0.012294086,
-0.005881877,
-0.051185958,
0.002577688,
0.03417583,
-0.0012902478,
-0.0011651582,
0.0019940033,
-0.012383251,
-0.035013046,
0.015293466,
-0.035849154,
-0.024594285,
-0.058847487,
-0.007566319,
-0.044484906,
-0.005365333,
0.02669771,
0.0029901974,
-0.011547146,
0.00045445625,
-0.0026340692,
-0.011839454,
0.03530131,
0.0412411,
0.009665487,
0.0060306704,
0.020819185,
-0.011226154,
0.010292397,
0.018119559,
0.03387001,
-0.018922403,
-0.01955979,
0.014156942,
0.024573328,
0.04799882,
0.039316636,
0.036019348,
-2.5837232e-07,
-0.04822046,
-0.08429299,
-0.06438646,
-0.007204331,
0.06345313,
-0.041491695,
-0.053624503,
-0.028780377,
0.014476282,
-0.022512216,
0.019275434,
-0.06477934,
0.0002483011,
0.041818283,
-0.010343199,
0.021653214,
-0.04928451,
0.025383824,
-0.05575207,
0.03156857,
-0.013100797,
-0.044427752,
-0.068749234,
-0.048207227,
-0.027950142,
0.073878065,
0.0031722016,
0.04611447,
-0.035723124,
-0.024947515,
-0.013857214,
0.08637766,
0.020975156,
-0.041173246,
-0.017161308,
-0.029813504,
-0.056600228,
0.084700204,
-0.027912784,
0.007173704,
-0.026339915,
0.07250316,
0.064762786,
-0.012431514,
0.005630715,
0.010979044,
0.014449948,
0.011757012,
-0.015327175,
0.034664765,
-0.034179345,
-0.028524596
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 8,
"total_tokens": 8
}
}
},
"is_streaming": false
}
}

View file

@ -0,0 +1,806 @@
{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/embeddings",
"headers": {},
"body": {
"model": "nomic-embed-text:latest",
"input": [
"What is Python programming language?"
],
"encoding_format": "float"
},
"endpoint": "/v1/embeddings",
"model": "nomic-embed-text:latest"
},
"response": {
"body": {
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
"__data__": {
"data": [
{
"embedding": [
-0.021553172,
0.07456188,
-0.089842975,
-0.07289806,
0.06817678,
0.02518914,
-0.059716303,
-0.019724509,
-0.026598332,
-0.08149664,
-0.0041639223,
0.028888587,
0.0403307,
-0.046604663,
-0.013584703,
-0.10504042,
0.010826202,
-0.07095291,
-0.010350621,
0.073275015,
0.019936841,
-0.041666057,
0.037927777,
-0.010703154,
0.123908006,
0.01758556,
0.015324568,
-0.01774666,
0.0053253258,
0.004244457,
-0.05245437,
0.0074125174,
0.006372095,
-0.02418006,
-0.050372586,
-0.044837587,
0.06449282,
-0.020826314,
0.0457872,
0.03805947,
-0.061231885,
0.009110037,
0.06458304,
-0.025757644,
0.08559058,
-0.048334584,
-0.008491006,
-0.03325738,
-0.051352017,
0.012611518,
-0.019801717,
-0.050617523,
-0.034408234,
-0.0010079348,
0.09278204,
0.03726777,
0.022628019,
0.018074505,
0.0007418624,
-0.04421023,
0.080479234,
0.08085003,
-0.08094756,
0.056088626,
0.048194148,
-0.04007692,
-0.0006763529,
0.017555812,
-0.028865501,
-0.0023458838,
0.031841885,
-0.0700924,
0.035624906,
-0.001163512,
-0.033719588,
-0.005071517,
0.0006481059,
-0.042407304,
0.026225204,
0.046169255,
0.0011586137,
0.009785142,
-0.031035133,
0.029172087,
0.017117059,
-0.047370482,
-0.038349237,
0.00036495677,
-0.051124193,
0.04310073,
-0.060766168,
-0.015174077,
-0.033184618,
-0.011189846,
-0.07492167,
0.032253932,
-0.05088246,
0.008246512,
0.045625057,
-0.008317099,
0.0011927608,
-0.01572179,
0.048680592,
-0.053981576,
0.031462114,
0.054447077,
0.03894372,
-0.039718177,
-0.037968367,
-0.0074595343,
-0.0013340132,
0.046633273,
-0.01730887,
-0.023755448,
-0.046923056,
0.000979729,
0.034532603,
-0.028689606,
0.05773219,
0.043046296,
0.008422111,
-0.023551302,
0.039009485,
0.042990364,
-0.031193512,
0.021595452,
-0.058442175,
0.013143758,
-0.0017852021,
-0.0019170833,
0.055226732,
-0.016395973,
-0.044414833,
-0.024235317,
-0.03219018,
0.05080698,
-0.044200372,
-0.02092189,
0.0580117,
0.0039897994,
0.026737887,
0.019800436,
-0.03960145,
-0.0077677737,
0.040338516,
-0.01523582,
0.016816188,
0.02577547,
0.0003253953,
0.02407759,
0.025407642,
0.051438656,
-0.0024896062,
0.022606216,
-0.0063481443,
0.0017837567,
0.008644017,
0.012482804,
0.066492096,
-0.006351552,
0.09941962,
0.020750199,
-0.013041756,
0.028743612,
-0.049747795,
-0.018612325,
0.019698277,
0.0024325354,
-0.01915703,
0.0061705653,
-0.0223919,
-0.04545708,
0.0045981957,
-0.014010849,
0.013723399,
0.018495277,
-0.009306918,
-0.012698651,
0.03493378,
-0.017710432,
-0.026818218,
-0.04762652,
0.043690186,
0.052603915,
-0.071375415,
0.027071198,
-0.010269553,
-0.049217243,
-0.015010115,
-0.007096392,
-0.03456265,
0.035890598,
-0.028600527,
-0.06729369,
-0.028725144,
-0.03896706,
-0.0057696034,
0.0037227287,
0.062447898,
-0.06581933,
-0.0414894,
0.0077804616,
-0.072656125,
0.0019267257,
-0.062373232,
0.008121951,
-0.011076828,
0.018754765,
-0.047420617,
0.036170572,
0.08880367,
0.010916763,
-0.012883637,
0.06260873,
0.0018110857,
-0.050672933,
-0.020227732,
0.0011717983,
0.0032107267,
0.023494527,
0.043352764,
-0.011467329,
0.010602423,
0.013819501,
0.021411145,
0.02365779,
-0.06569988,
0.0033628268,
-0.063773826,
0.024242854,
0.0011621341,
-0.04809223,
-0.006948382,
0.03611103,
0.028776124,
0.059081964,
0.05560409,
0.036429767,
-0.015723119,
-0.06431396,
-0.0253329,
0.00018341461,
-0.011376878,
0.05463186,
-0.0037716061,
0.011002981,
0.0009151994,
-0.018486321,
-0.030303648,
0.031760976,
-0.025587654,
-0.06719293,
0.0020721399,
0.052564517,
0.02802083,
0.034310017,
0.040314436,
-0.0036684973,
0.043698348,
-0.024171531,
0.0491918,
-0.027781757,
-0.006412741,
0.007970388,
-0.0011894129,
0.0035984,
0.0014546772,
0.036456477,
0.0029782248,
-0.034279484,
0.010560336,
0.0035322504,
0.020129219,
-0.043415673,
-0.009118933,
-0.030193018,
0.018658346,
-0.03606373,
-0.0015406854,
0.0131575465,
0.030846149,
-0.054891676,
-0.04120441,
0.03438805,
-0.011949818,
0.015444059,
0.025234204,
0.008403376,
-0.019274885,
-0.008853354,
0.057749614,
-0.025081236,
-0.036091965,
-0.03203461,
-0.04040303,
0.029162815,
0.045383703,
0.02946273,
0.044946507,
-0.01670611,
-0.026467483,
0.02814063,
0.05311321,
0.03233347,
0.027180135,
-0.02781776,
0.0317338,
0.0038079473,
-0.0333207,
-0.020405712,
-0.049793858,
0.024490476,
-0.030916827,
0.0545178,
-0.07154419,
0.05872816,
0.022016676,
0.018952396,
0.026736137,
-0.030747173,
-0.032632753,
-0.09873412,
0.036421105,
-0.025122073,
0.015521982,
0.033252254,
0.00062293926,
0.032498702,
0.018836299,
-0.044970427,
-0.010897397,
-0.0014576317,
0.0005910161,
-0.020319566,
-0.044815898,
-0.008931326,
0.00047022093,
0.0003049459,
0.028664568,
0.008526114,
0.017410867,
-0.036644094,
0.036418702,
-0.023993712,
-0.007630612,
0.008000665,
0.030062437,
-0.058893345,
0.054311927,
0.03843722,
0.01852763,
0.043631036,
-0.034003157,
0.0039597056,
-0.009026667,
-0.040665936,
0.036740363,
-0.02125452,
-0.014435757,
0.007876177,
0.0023689002,
-0.021699995,
0.023313528,
-0.042599734,
-0.013110352,
0.0021866898,
0.050076384,
-0.037115116,
-0.023012513,
-0.0025016959,
-0.047455475,
-0.05159313,
-0.017610293,
0.01029014,
-0.016907534,
0.00408846,
-0.078405455,
-0.013900063,
-0.020021524,
0.028751751,
0.0066935583,
-0.032649808,
-0.006763511,
0.03299771,
0.003156429,
-0.05392382,
-0.01215072,
-0.00459191,
0.05064916,
0.03561331,
0.017481918,
-0.035083935,
-0.043453865,
0.01815416,
0.046951916,
-0.0049919197,
-0.008505895,
0.011167935,
-0.021867692,
0.0029629092,
-0.063381866,
-0.0679027,
0.018468782,
-0.032873593,
-0.028832695,
0.023317901,
0.0038515755,
-0.02413956,
0.033514734,
-0.006550087,
0.0012688171,
-0.005550443,
0.016541118,
-0.03258667,
-0.026246088,
0.047462273,
0.023489743,
0.035488695,
-0.060600244,
0.016838906,
0.026438922,
0.026164418,
0.007880026,
0.0068441494,
0.007933451,
0.01899983,
0.03454254,
0.06043274,
-0.007381834,
-0.07423027,
0.009216058,
0.01956919,
0.036336318,
0.05096081,
-0.0074778954,
-0.0033972056,
0.0108221965,
0.015464005,
-0.025683189,
0.0588983,
0.041849297,
-0.018126855,
-0.030579738,
0.0040821317,
0.017569052,
0.034149874,
0.09389867,
-0.02206367,
-0.059955835,
0.033345353,
0.00657216,
0.026174178,
0.0017329623,
0.022303639,
0.06188959,
0.048512552,
0.0076356367,
0.006939425,
-0.022812618,
0.035069596,
-0.0049429564,
-0.05625094,
-0.042997748,
0.00206934,
-0.020534936,
-0.014696548,
-0.017626563,
-0.03077441,
-0.015947677,
-0.0057630003,
-0.028772796,
0.040652726,
0.027857244,
-0.051647138,
-0.015136242,
-0.027264267,
-0.016482372,
0.024936615,
0.06123646,
-0.005255819,
0.0017156882,
0.0016962842,
-0.07402659,
-0.004608739,
-0.0037391784,
0.027100354,
-0.012302754,
-0.0043524406,
-0.03164216,
-0.041333206,
0.051360536,
0.033111025,
0.078026414,
0.00398075,
-0.04396869,
-0.03183228,
-0.017761175,
0.09272905,
0.10341986,
0.041000426,
0.04243075,
0.009480886,
-0.023648392,
0.009301616,
0.037870165,
-0.017324075,
0.08090341,
-0.015383662,
-0.03767125,
0.032517172,
0.055409532,
0.014370606,
-0.0030017018,
0.015922759,
0.041591484,
-0.028900212,
0.021146726,
-0.02454138,
-0.07065434,
0.015136878,
-0.012355605,
-0.02175656,
0.0033897983,
-0.02028869,
-0.04787303,
0.045963272,
0.03344755,
-0.0009476675,
-0.020018771,
-0.010568847,
0.051085256,
-0.015750369,
-0.020646987,
-0.015889736,
-0.04724883,
-0.038242348,
-0.040137388,
0.05040969,
0.022251017,
-0.002159736,
0.060206577,
0.031627286,
0.028557083,
0.008869395,
0.044032004,
0.025531366,
-0.03231692,
0.0013592826,
0.0003404247,
-0.065961935,
0.0768224,
-0.043043256,
0.014614257,
-0.01984546,
0.008225415,
-0.038360845,
-0.014143061,
-0.030586913,
-0.0004368779,
-0.064600386,
-0.025520632,
0.008668012,
-0.011625725,
0.00085810357,
0.015334164,
0.03972146,
-0.013052244,
-0.024490133,
-0.0127505595,
0.03354175,
-0.035617076,
-0.01192436,
0.0011129586,
0.010508804,
0.015326659,
0.026520947,
0.016812682,
-0.041040733,
-0.06551224,
-0.013797894,
0.072165765,
-0.046913978,
-0.0030715233,
0.043330867,
-0.0089630205,
0.0008920317,
0.01958467,
0.014530955,
-0.029273646,
0.011160096,
-0.020034848,
0.0070859627,
-0.02541997,
0.016647562,
-0.009951747,
0.03174818,
-0.07282331,
0.0033717607,
-0.0066015865,
-0.04863365,
-0.0103119025,
0.0025679704,
0.041539986,
-0.017856043,
0.019527039,
0.0838815,
-0.019659841,
0.038069256,
-0.035159733,
-0.01726852,
0.038378183,
0.0128092365,
-0.018072981,
0.013047407,
0.021884384,
-0.06139352,
0.029632013,
0.008494567,
0.02177652,
-0.019502524,
0.00070980255,
-0.03984073,
0.03646393,
-0.032246757,
0.04119644,
0.006709525,
-0.037191365,
0.03024037,
0.03960881,
0.0681406,
-0.012202234,
0.003129581,
-0.05918346,
0.005223905,
-0.013540174,
-0.004381214,
-0.047223054,
0.0087192245,
0.0387214,
0.048537552,
0.056118414,
-0.046625756,
-0.001412158,
-0.0020210447,
0.0005724334,
-0.010059937,
0.01742975,
0.068996795,
-0.011381042,
-0.046832375,
0.036824863,
0.059167933,
-0.021284344,
0.016471438,
0.0183492,
0.024895716,
0.046935398,
-0.025326256,
-0.07642374,
-0.006785155,
-0.017809186,
-0.044745807,
-0.032673575,
0.038128093,
0.056831155,
0.058232445,
-0.0018799703,
0.008692216,
-0.046569623,
-0.03131033,
-0.023160683,
0.028515609,
0.0031497679,
-0.029186934,
0.024524013,
0.04876069,
0.015520783,
-0.016389547,
-0.052084237,
-0.0376428,
0.035501905,
-0.0006573894,
-0.012245377,
-0.018819893,
0.018253103,
-0.04535086,
0.037610944,
-0.031780746,
-0.04220951,
-0.07941727,
-0.03210557,
-0.02987403,
0.005628877,
-0.04253893,
0.039340813,
-0.02695328,
-0.018810388,
-0.0052648084,
0.0061414675,
0.06741751,
0.022757279,
0.013827813,
0.00652874,
0.050163127,
-0.039784987,
0.01173477,
0.033536065,
0.042173725,
-0.006868311,
-0.043550655,
-0.033698414,
-0.012223596,
0.044726677,
0.049324814,
0.0061214673,
0.03286707,
-0.04905234,
-0.06275988,
-0.052767873,
-0.0043502264,
0.073623806,
-0.00349909,
-0.015808392,
0.017608441,
-0.028317071,
0.008189918,
0.0018943916,
-0.06029155,
0.013548083,
0.00073401124,
0.005935709,
0.03093152,
-0.041424066,
0.031271376,
-0.014426428,
0.06230713,
-0.019388167,
-0.047630932,
-0.040437073,
0.015118009,
0.03948931,
0.050440658,
-0.0037635523,
0.045580253,
-0.008792551,
-0.031401757,
-0.024070429,
0.05972812,
0.04278057,
-0.034054544,
-0.02525449,
0.0039059466,
-0.035968915,
0.09419907,
-0.0074842493,
-0.0326216,
-0.025627483,
0.08396312,
0.04904894,
-0.004123067,
0.008668851,
-0.008611166,
0.006182857,
-0.025419408,
-0.042288188,
0.001480622,
-0.03428165,
-0.024278741
],
"index": 0,
"object": "embedding"
}
],
"model": "nomic-embed-text:latest",
"object": "list",
"usage": {
"prompt_tokens": 6,
"total_tokens": 6
}
}
},
"is_streaming": false
}
}

Some files were not shown because too many files have changed in this diff Show more