Headers
Response
Successful Response
The response is of type object.
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const cache = await client.cache.create({ gguf_file: 'gguf_file', model: 'model', name: 'name' });
console.log(cache);{}Create a persistent cache for low-latency completions.
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const cache = await client.cache.create({ gguf_file: 'gguf_file', model: 'model', name: 'name' });
console.log(cache);{}Successful Response
The response is of type object.
Was this page helpful?