Skip to content

Commit d64e9c7

Browse files
ewgeniuslukekim
andauthored
Update nsql openapi title (spiceai#5403)
* Update nsql openapi title * Update crates/runtime/src/http/v1/nsql.rs Co-authored-by: Luke Kim <80174+lukekim@users.noreply.github.com> --------- Co-authored-by: Luke Kim <80174+lukekim@users.noreply.github.com>
1 parent 01665d0 commit d64e9c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/runtime/src/http/v1/nsql.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ fn return_sql_only(accept: Option<&TypedHeader<Accept>>) -> bool {
135135
accept.is_some_and(|a| accept_header_types(a).contains(&"application/sql".to_string()))
136136
}
137137

138-
/// Text to SQL
138+
/// Text-to-SQL (NSQL)
139139
///
140-
/// Generate and optionally execute an NSQL query.
140+
/// Generate and optionally execute a natural-language text-to-SQL (NSQL) query.
141141
///
142142
/// This endpoint generates a SQL query using a natural language query (NSQL) and optionally executes it.
143143
/// The SQL query is generated by the specified model and executed if the `Accept` header is not set to `application/sql`.

0 commit comments

Comments
 (0)