nomic-ai / ts-nomic

Typescript bindings for Atlas
MIT License
5 stars 4 forks source link

add resource components #84

Closed wilsonjr closed 1 day ago

wilsonjr commented 1 day ago

[!IMPORTANT] Add new resource components for datasets and embedding sets in openapi.ts and create src/resource.ts for module imports and UUID type definition.

  • New File:
    • src/resource.ts: Created to import modules like apache-arrow, BaseAtlasClass, AtlasIndex, AtlasViewer, and define UUID type.
  • Models:
    • In openapi.ts, added ResourceDataset, Resource, EmbeddingSetResource, ResourceCreationRequest, and ResourceCreationResponse to components.schemas.
    • Resource includes resource_type, dependencies, and dataset_id.
    • EmbeddingSetResource specifies resource_type as 'EMBEDDING_SET' and includes embedding_target.
    • ResourceCreationRequest and ResourceCreationResponse handle resource creation parameters and responses.

This description was created by Ellipsis for e14a76757392078c0d9819feb433d07e1a0d1c2d. It will automatically update as commits are pushed.

wilsonjr commented 1 day ago

This stack of pull requests is managed by Graphite. Learn more about stacking.