File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
content/develop/ai/langcache Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ You can use any standard REST client or library to access the API. If your app i
18
18
- [ LangCache SDK for Python] ( https://pypi.org/project/langcache/ )
19
19
- [ LangCache SDK for Javascript] ( https://www.npmjs.com/package/@redis-ai/langcache )
20
20
21
+ ## Authentication
22
+
21
23
To access the LangCache API, you need:
22
24
23
25
- LangCache API base URL
@@ -37,9 +39,9 @@ curl -s -X POST "https://$HOST/v1/caches/$CACHE_ID/entries/search" \
37
39
38
40
This example expects several variables to be set in the shell:
39
41
40
- - **$HOST** - the LangCache API base URL
41
- - **$CACHE_ID** - the Cache ID of your cache
42
- - **$API_KEY** - The LangCache API token
42
+ - ** $HOST** - the LangCache API base URL
43
+ - ** $CACHE_ID** - the Cache ID of your cache
44
+ - ** $API_KEY** - The LangCache API token
43
45
44
46
## Examples
45
47
You can’t perform that action at this time.
0 commit comments