I noticed in the recent Nuget samples we have the user write their own record for embeddings requests, and it only handles this one input type:
public record EmbeddingsRequest(string FilePath);
In prior samples we handled 2 of the 3 cases ; - )
public record EmbeddingsRequest(string RawText, string FilePath);
My opinion is we should probably give the user a standard type for embedding request and handle all 3 of the cases: RawText, FilePath, and Url (cool new one!). But at least have sample code that is aware of each case like i have above pls.
I noticed in the recent Nuget samples we have the user write their own record for embeddings requests, and it only handles this one input type:
In prior samples we handled 2 of the 3 cases ; - )
My opinion is we should probably give the user a standard type for embedding request and handle all 3 of the cases: RawText, FilePath, and Url (cool new one!). But at least have sample code that is aware of each case like i have above pls.