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