diff --git a/docs/docs/integrations/text_embedding/bytedance_volcano.ipynb b/docs/docs/integrations/text_embedding/volcengine.ipynb similarity index 86% rename from docs/docs/integrations/text_embedding/bytedance_volcano.ipynb rename to docs/docs/integrations/text_embedding/volcengine.ipynb index bbb3f919e01a9..d3a5fa6c2c03c 100644 --- a/docs/docs/integrations/text_embedding/bytedance_volcano.ipynb +++ b/docs/docs/integrations/text_embedding/volcengine.ipynb @@ -1,16 +1,22 @@ { "cells": [ { - "cell_type": "raw", + "cell_type": "markdown", + "metadata": { + "collapsed": false, + "jupyter": { + "outputs_hidden": false + } + }, "source": [ - "# Bytedance Volcano\n", + "# Volc Engine\n", "\n", "This notebook provides you with a guide on how to load the Volcano Embedding class.\n", "\n", "\n", "## API Initialization\n", "\n", - "To use the LLM services based on [Bytedance Volcano](https://www.volcengine.com/docs/82379/1099455), you have to initialize these parameters:\n", + "To use the LLM services based on [VolcEngine](https://www.volcengine.com/docs/82379/1099455), you have to initialize these parameters:\n", "\n", "You could either choose to init the AK,SK in environment variables or init params:\n", "\n", @@ -18,10 +24,7 @@ "export VOLC_ACCESSKEY=XXX\n", "export VOLC_SECRETKEY=XXX\n", "```" - ], - "metadata": { - "collapsed": false - } + ] }, { "cell_type": "code", @@ -39,7 +42,7 @@ "from langchain.embeddings import VolcanoEmbeddings\n", "\n", "os.environ[\"VOLC_ACCESSKEY\"] = \"\"\n", - "os.environ[\"VOLC_SECRETKEY\"] = \"==\"\n", + "os.environ[\"VOLC_SECRETKEY\"] = \"\"\n", "\n", "embed = VolcanoEmbeddings(\n", " # volcano_ak='xxx',\n", diff --git a/libs/community/langchain_community/embeddings/__init__.py b/libs/community/langchain_community/embeddings/__init__.py index f8c34f4b48353..75c70d1740617 100644 --- a/libs/community/langchain_community/embeddings/__init__.py +++ b/libs/community/langchain_community/embeddings/__init__.py @@ -25,7 +25,7 @@ ) from langchain_community.embeddings.bedrock import BedrockEmbeddings from langchain_community.embeddings.bookend import BookendEmbeddings -from langchain_community.embeddings.bytedance_volcano import VolcanoEmbeddings +from langchain_community.embeddings.volcengine import VolcanoEmbeddings from langchain_community.embeddings.clarifai import ClarifaiEmbeddings from langchain_community.embeddings.cohere import CohereEmbeddings from langchain_community.embeddings.dashscope import DashScopeEmbeddings diff --git a/libs/community/langchain_community/embeddings/bytedance_volcano.py b/libs/community/langchain_community/embeddings/volcengine.py similarity index 98% rename from libs/community/langchain_community/embeddings/bytedance_volcano.py rename to libs/community/langchain_community/embeddings/volcengine.py index 5cb43e6f54589..300df91de03da 100644 --- a/libs/community/langchain_community/embeddings/bytedance_volcano.py +++ b/libs/community/langchain_community/embeddings/volcengine.py @@ -11,7 +11,7 @@ class VolcanoEmbeddings(BaseModel, Embeddings): - """`Bytedance Volcano Embeddings` embedding models.""" + """`Volcengine Embeddings` embedding models.""" volcano_ak: Optional[str] = None """volcano access key