Skip to content

Commit f7d9bd7

Browse files
authored
Merge pull request #2366 from tisnik/updated-doc
Updated doc (nit)
2 parents ddedb61 + efd2119 commit f7d9bd7

3 files changed

Lines changed: 29 additions & 8 deletions

File tree

docs/models/successful_responses.json

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -433,10 +433,19 @@
433433
"title": "PostgreSQL host"
434434
},
435435
"port": {
436-
"type": "string",
437-
"nullable": true,
436+
"anyOf": [
437+
{
438+
"type": "string"
439+
},
440+
{
441+
"type": "integer"
442+
},
443+
{
444+
"type": "null"
445+
}
446+
],
438447
"default": null,
439-
"description": "PostgreSQL port for remote::pgvector. Defaults to ${env.POSTGRES_PORT} when rag_type is remote::pgvector.",
448+
"description": "PostgreSQL port for remote::pgvector. Defaults to ${env.POSTGRES_PORT} when rag_type is remote::pgvector. Accepts string placeholders and integer values.",
440449
"title": "PostgreSQL port"
441450
},
442451
"db": {
@@ -3933,10 +3942,19 @@
39333942
"title": "PostgreSQL host"
39343943
},
39353944
"port": {
3936-
"type": "string",
3937-
"nullable": true,
3945+
"anyOf": [
3946+
{
3947+
"type": "string"
3948+
},
3949+
{
3950+
"type": "integer"
3951+
},
3952+
{
3953+
"type": "null"
3954+
}
3955+
],
39383956
"default": null,
3939-
"description": "PostgreSQL port. Defaults to ${env.POSTGRES_PORT}.",
3957+
"description": "PostgreSQL port. Defaults to ${env.POSTGRES_PORT}. Accepts string placeholders and integer values.",
39403958
"title": "PostgreSQL port"
39413959
},
39423960
"db": {

docs/models/successful_responses.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ BYOK (Bring Your Own Knowledge) RAG configuration.
200200
| db_path | string | Path to RAG database. Required for inline::faiss. |
201201
| score_multiplier | number | Multiplier applied to relevance scores from this vector store. Used to weight results when querying multiple knowledge sources. Values > 1 boost this store's results; values < 1 reduce them. |
202202
| host | string | PostgreSQL host for remote::pgvector. Defaults to ${env.POSTGRES_HOST} when rag_type is remote::pgvector. |
203-
| port | string | PostgreSQL port for remote::pgvector. Defaults to ${env.POSTGRES_PORT} when rag_type is remote::pgvector. |
203+
| port | | PostgreSQL port for remote::pgvector. Defaults to ${env.POSTGRES_PORT} when rag_type is remote::pgvector. Accepts string placeholders and integer values. |
204204
| db | string | PostgreSQL database name for remote::pgvector. Defaults to ${env.POSTGRES_DATABASE} when rag_type is remote::pgvector. |
205205
| user | string | PostgreSQL user for remote::pgvector. Defaults to ${env.POSTGRES_USER} when rag_type is remote::pgvector. |
206206
| password | string | PostgreSQL password for remote::pgvector. Defaults to ${env.POSTGRES_PASSWORD} when rag_type is remote::pgvector. |
@@ -1777,7 +1777,7 @@ Storage config for a pgvector dynamic vector-store provider.
17771777
| Field | Type | Description |
17781778
|-------|------|-------------|
17791779
| host | string | PostgreSQL host. Defaults to ${env.POSTGRES_HOST}. |
1780-
| port | string | PostgreSQL port. Defaults to ${env.POSTGRES_PORT}. |
1780+
| port | | PostgreSQL port. Defaults to ${env.POSTGRES_PORT}. Accepts string placeholders and integer values. |
17811781
| db | string | PostgreSQL database name. Defaults to ${env.POSTGRES_DATABASE}. |
17821782
| user | string | PostgreSQL user. Defaults to ${env.POSTGRES_USER}. |
17831783
| password | string | PostgreSQL password. Defaults to ${env.POSTGRES_PASSWORD}. |

tests/integration/endpoints/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ Integration tests for the rlsapi v1 /infer endpoint.
4242
## [test_root_endpoint.py](test_root_endpoint.py)
4343
Integration tests for the /root endpoint.
4444

45+
## [test_saved_prompts_integration.py](test_saved_prompts_integration.py)
46+
Integration tests for the /v1/saved-prompts REST API endpoints.
47+
4548
## [test_stream_interrupt_integration.py](test_stream_interrupt_integration.py)
4649
Integration tests for the streaming query interrupt lifecycle.
4750

0 commit comments

Comments
 (0)