Skip to content

Commit 1395013

Browse files
fix(llm): review ro
Co-authored-by: Rowena Jones <[email protected]>
1 parent b135073 commit 1395013

File tree

1 file changed

+1
-1
lines changed
  • tutorials/how-to-implement-rag-generativeapis

1 file changed

+1
-1
lines changed

tutorials/how-to-implement-rag-generativeapis/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,6 @@ Below are some known error messages and their corresponding solutions:
375375
You can fix this with `Applications/Python 3.X` (where `X` is your version number), and double click on `Certificates.command`.
376376

377377
**Error**: `ERROR:root:An error occurred: bge-multilingual-gemma2 is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
378-
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing `token=<your_token>``
378+
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing ```token=<your_token>```
379379

380380
**Solution**: This is caused by the LangChain OpenAI adapter trying to tokenize content. Ensure you set `check_embedding_ctx_length=False` in OpenAIEmbedding configuration to avoid tokenizing content, as tokenization will be performed server-side in Generative APIs.

0 commit comments

Comments
 (0)