Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Apr 17, 2024
1 parent 13d89f5 commit a4ee592
Show file tree
Hide file tree
Showing 6 changed files with 624 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1249
configured_endpoints: 1259
15 changes: 15 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5198,6 +5198,21 @@ Types:
- <code><a href="./src/resources/vectorize/indexes.ts">IndexInsert</a></code>
- <code><a href="./src/resources/vectorize/indexes.ts">IndexQuery</a></code>
- <code><a href="./src/resources/vectorize/indexes.ts">IndexUpsert</a></code>
- <code><a href="./src/resources/vectorize/indexes.ts">IndexDeleteResponse</a></code>
- <code><a href="./src/resources/vectorize/indexes.ts">IndexGetByIDsResponse</a></code>

Methods:

- <code title="post /accounts/{account_id}/vectorize/indexes">client.vectorize.indexes.<a href="./src/resources/vectorize/indexes.ts">create</a>({ ...params }) -> CreateIndex | null</code>
- <code title="put /accounts/{account_id}/vectorize/indexes/{index_name}">client.vectorize.indexes.<a href="./src/resources/vectorize/indexes.ts">update</a>(indexName, { ...params }) -> CreateIndex | null</code>
- <code title="get /accounts/{account_id}/vectorize/indexes">client.vectorize.indexes.<a href="./src/resources/vectorize/indexes.ts">list</a>({ ...params }) -> CreateIndicesSinglePage</code>
- <code title="delete /accounts/{account_id}/vectorize/indexes/{index_name}">client.vectorize.indexes.<a href="./src/resources/vectorize/indexes.ts">delete</a>(indexName, { ...params }) -> IndexDeleteResponse</code>
- <code title="post /accounts/{account_id}/vectorize/indexes/{index_name}/delete-by-ids">client.vectorize.indexes.<a href="./src/resources/vectorize/indexes.ts">deleteByIds</a>(indexName, { ...params }) -> IndexDeleteVectorsByID | null</code>
- <code title="get /accounts/{account_id}/vectorize/indexes/{index_name}">client.vectorize.indexes.<a href="./src/resources/vectorize/indexes.ts">get</a>(indexName, { ...params }) -> CreateIndex | null</code>
- <code title="post /accounts/{account_id}/vectorize/indexes/{index_name}/get-by-ids">client.vectorize.indexes.<a href="./src/resources/vectorize/indexes.ts">getByIds</a>(indexName, { ...params }) -> IndexGetByIDsResponse | null</code>
- <code title="post /accounts/{account_id}/vectorize/indexes/{index_name}/insert">client.vectorize.indexes.<a href="./src/resources/vectorize/indexes.ts">insert</a>(indexName, { ...params }) -> IndexInsert | null</code>
- <code title="post /accounts/{account_id}/vectorize/indexes/{index_name}/query">client.vectorize.indexes.<a href="./src/resources/vectorize/indexes.ts">query</a>(indexName, { ...params }) -> IndexQuery | null</code>
- <code title="post /accounts/{account_id}/vectorize/indexes/{index_name}/upsert">client.vectorize.indexes.<a href="./src/resources/vectorize/indexes.ts">upsert</a>(indexName, { ...params }) -> IndexUpsert | null</code>

# URLScanner

Expand Down
13 changes: 13 additions & 0 deletions src/resources/vectorize/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ export {
IndexInsert,
IndexQuery,
IndexUpsert,
IndexDeleteResponse,
IndexGetByIDsResponse,
IndexCreateParams,
IndexUpdateParams,
IndexListParams,
IndexDeleteParams,
IndexDeleteByIDsParams,
IndexGetParams,
IndexGetByIDsParams,
IndexInsertParams,
IndexQueryParams,
IndexUpsertParams,
CreateIndicesSinglePage,
Indexes,
} from './indexes';
export { Vectorize } from './vectorize';
Loading

0 comments on commit a4ee592

Please sign in to comment.