Call the assistant API
import io.github.quafadas.dairect.*
import cats.effect.IO
import smithy4s._
import smithy4s.kinds.PolyFunction
val (vsApi,_) = VectorStoreApi.defaultAuthLogToFile(fs2.io.file.Path("vectorStore.txt")).allocated.Ø
// vsApi: VectorStoreApi = io.github.quafadas.dairect.VectorStoreApi$proxy$1@12adf3ab
val allVs = vsApi.list().Ø
// allVs: VectorStoreList = VectorStoreList(
// object = "list",
// data = List(
// VectorStore(
// id = "vs_skJUCFj83DLnhOGOfmy7CrQi",
// object = "vector_store",
// created_at = 1724178419L,
// name = None,
// bytes = None,
// file_counts = FileCounts(
// in_progress = 0,
// completed = 1,
// failed = 0,
// cancelled = 0,
// total = 1
// ),
// status = "completed"
// ),
// VectorStore(
// id = "vs_DxCIvlDZimJBaINKBkkBxbM1",
// object = "vector_store",
// created_at = 1724178419L,
// name = None,
// bytes = None,
// file_counts = FileCounts(
// in_progress = 0,
// completed = 0,
// failed = 0,
// cancelled = 0,
// total = 0
// ),
// status = "completed"
// ),
// VectorStore(
// id = "vs_IdOnnLdJ42JlzIasKRQwHpNC",
// object = "vector_store",
// created_at = 1724178382L,
// name = None,
// bytes = None,
// file_counts = FileCounts(
// in_progress = 0,
// completed = 0,
// failed = 0,
// cancelled = 0,
// total = 0
// ),
// status = "completed"
// ),
// VectorStore(
// ...
/** Other API calls.
*
val newVs = vsApi.create().Ø
vsApi.get(allVs.data.head.id).Ø
vsApi.delete(allVs.data.head.id).Ø
**/