You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/operate/rc/langcache/use-langcache.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ POST https://[host]/v1/caches/{cacheId}/entries
90
90
91
91
Place this call in your client app after you get a response from the LLM. This will store the response in the cache for future use.
92
92
93
-
You can also store the responses with custom attributes by adding an `attributes` object to the request. To store a response with one or more of the default attributes, use the `scope` object instead.
93
+
You can also store the responses with custom attributes by adding an `attributes` object to the request.
94
94
95
95
```sh
96
96
POST https://[host]/v1/caches/{cacheId}/entries
@@ -107,7 +107,7 @@ POST https://[host]/v1/caches/{cacheId}/entries
107
107
108
108
Use `DELETE /v1/caches/{cacheId}/entries/{entryId}` to delete a cached response from the cache.
109
109
110
-
You can also use `DELETE /v1/caches/{cacheId}/entries` to delete multiple cached responses at once. If you provide an `attributes` object or `scope` object, LangCache will delete all responses that match the attributes you specify.
110
+
You can also use `DELETE /v1/caches/{cacheId}/entries` to delete multiple cached responses at once. If you provide an `attributes` object, LangCache will delete all responses that match the attributes you specify.
0 commit comments