From 932efdb2aba7d2c703c1bc03e93b095657b27c0b Mon Sep 17 00:00:00 2001 From: lawfordp2017 Date: Sat, 30 Mar 2024 12:37:12 -0600 Subject: [PATCH] Changed local API doc references to hosted --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3323f3899..1e2b64018 100644 --- a/README.md +++ b/README.md @@ -321,7 +321,7 @@ For OpenAI API v1 compatibility, you use the [`create_chat_completion_openai_v1` ### JSON and JSON Schema Mode -To constrain chat responses to only valid JSON or a specific JSON Schema use the `response_format` argument in [`create_chat_completion`](http://localhost:8000/api-reference/#llama_cpp.Llama.create_chat_completion). +To constrain chat responses to only valid JSON or a specific JSON Schema use the `response_format` argument in [`create_chat_completion`](https://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.create_chat_completion). #### JSON Mode @@ -529,7 +529,7 @@ llama = Llama( ### Embeddings -To generate text embeddings use [`create_embedding`](http://localhost:8000/api-reference/#llama_cpp.Llama.create_embedding). +To generate text embeddings use [`create_embedding`](https://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.Llama.create_embedding). ```python import llama_cpp