Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/develop/ai/langcache/api-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ For example:
curl -s -X POST "https://$HOST/v1/caches/$CACHE_ID/entries/search" \
-H "accept: application/json" \
-H "Authorization: Bearer $API_KEY" \
-d "{ 'prompt': 'What is semantic caching' }"
-d '{ "prompt": "What is semantic caching" }'
{{< /clients-example >}}

This example expects several variables to be set in the shell:
Expand Down
4 changes: 3 additions & 1 deletion content/embeds/langcache-cost-reduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ Here’s an example:

{{<note>}}
The formula and numbers above provide a rough estimate of your monthly savings. Actual savings will vary depending on your usage.
{{</note>}}
{{</note>}}

You can also use the [LangCache savings calculator](https://redis.io/calculator/langcache/) to estimate your annual savings with LangCache.