Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
all-mute committed Sep 30, 2024
1 parent fb6d186 commit 32c409a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def send_request_safety(payload, api_key):
return result

# Генерация ответа от Yandex GPT
def generate_yandex_embeddings_response(text, model, yandex_api_key, folder_id) -> str:
def generate_yandex_embeddings_response(text, model, yandex_api_key, folder_id):
# Функция для отправки запроса в Yandex GPT
def send_request_safety(payload, api_key):
url = "https://llm.api.cloud.yandex.net:443/foundationModels/v1/textEmbedding"
Expand Down

0 comments on commit 32c409a

Please sign in to comment.