openai/openai-dotnet

[QUESTION] What is the use-case for `VectorStoreFileAssociation.Attributes`?

Closed this issue · 2 comments

How can we help?

Hi, I'm having a hard time understanding the purpose for VectorStoreFileAssociation.Attributes. Can it be used to store metadata such as filename, creation date, etc.?

Can you give me an example of a possible use-case?

Thank you for your time!

Hi @EtiennePhamDo. Thanks for reaching out and we regret that you're experiencing difficulties. From the client perspective, the attributes have no meaning. They're just an element of data that flows back and forth between the service and your application.

We can't speak authoritatively for the service, but the docs seem to state that the attributes are just a way for you to associate context from your application with the file. There's nothing in them that we interpret as them being used by the service in any way:

Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers.

If you'd like an authoritative answer from the service perspective, your best path forward would be to reach out to the OpenAI Support Team. You can either email support@openai.com or start a new chat session via the Help Center. The OpenAI support team is available 24/7 and is equipped to assist with the full range of requests.

As there has been no follow-up discussion or questions in the last two weeks, closing this out.