← Files GoodMemARCHIVED FILE
skills/goodmem-sdk/references/dotnet/Memories/CreateFromFileAsync.md
732 Bytes · Oct 4, 2026 · 12:23 UTC
<!-- sdk-ref package=PairSystems.Goodmem.Client registry=nuget version=2.0.2 --> # Memories.CreateFromFileAsync Create a memory from a local file via a multipart upload. The file is the content, so any OriginalContent/OriginalContentB64 on is ignored; when ContentType is unset it is inferred from the file extension. supplies optional metadata (labels, chunking, …) and is never mutated. ```csharp Task<Memory> CreateFromFileAsync(string spaceId, string filePath, JsonMemoryCreationRequest? request = null, CancellationToken ct = default) ``` [Memories](../Memories.md) · [.NET](../../dotnet.md) Related types — open only those used by your request: - [JsonMemoryCreationRequest](../models/JsonMemoryCreationRequest.md)
SHA-256: 97ff96b715922cc8bda17a6660f46c97c1446effc264b0e1c058166988422555