题意:无法使用OpenAI的新.NET库发送不在wwwroot目录下的本地图片
问题背景:
I have an ASP.NET Core 6 Web API with the new official library from OpenAI (GitHub - openai/openai-dotnet: The official .NET library for the OpenAI API).
我有一个使用OpenAI新官方库的ASP.NET Core 6 Web API ......
What I'm trying to do, is to use a local image file to OpenAI. The file isn't under wwwroot
, but under backend/assets/1.jpg
.
我正在尝试做的是使用本地图片文件发送到OpenAI。该文件不在wwwroot
目录下,而是在backend/assets/1.jpg
目录下