mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-11-09 14:23:48 +00:00
Fix syntaxError
Double quote error
This commit is contained in:
parent
d8edc915e7
commit
f223527e24
@ -603,7 +603,7 @@ async def jina_embedding(
|
|||||||
url = "https://api.jina.ai/v1/embeddings" if not base_url else base_url
|
url = "https://api.jina.ai/v1/embeddings" if not base_url else base_url
|
||||||
headers = {
|
headers = {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
"Authorization": f"Bearer {os.environ["JINA_API_KEY"]}",
|
"Authorization": f"Bearer {os.environ['JINA_API_KEY']}",
|
||||||
}
|
}
|
||||||
data = {
|
data = {
|
||||||
"model": "jina-embeddings-v3",
|
"model": "jina-embeddings-v3",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user