Skip to content

Commit

Permalink
Version 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kumeS committed Feb 18, 2024
1 parent c3e90a7 commit 08d85f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/textEmbedding.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ textEmbedding <- function(text,

# Parse response
content <- httr::content(response, "parsed")
#str(content$data[[1]])

#convert to vector
v <- unlist(content$data[[1]]$embedding)
#str(v)

# Return vector
return(v)
Expand Down

0 comments on commit 08d85f8

Please sign in to comment.