Fix syntaxError
Double quote error
This commit is contained in:
@@ -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",
|
||||||
|
Reference in New Issue
Block a user