You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let content = resp.text().await.map_err(|e| PineconeError::ReqwestError{
152
+
source: anyhow::Error::from(e),
153
+
})?;
154
+
155
+
if !status.is_client_error() && !status.is_server_error(){
156
+
Ok(())
157
+
}else{
158
+
let entity:Option<UpsertRecordsNamespaceError> = serde_json::from_str(&content).ok();
159
+
Err(ResponseContent{
160
+
status,
161
+
content,
162
+
entity,
163
+
}
164
+
.into())
165
+
}
166
+
}
167
+
100
168
/// The list operation lists the IDs of vectors in a single namespace of a serverless index. An optional prefix can be passed to limit the results to IDs with a common prefix.
0 commit comments