Skip to content

Commit

Permalink
Update gradient.md (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
masci authored Jan 19, 2024
1 parent bdcec9c commit 255edfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integrations/gradient.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ from haystack import Pipeline
from haystack.document_stores import InMemoryDocumentStore
from haystack.components.writers import DocumentWriter

from gradient_haystack.embedders.gradient_document_embedder import GradientDocumentEmbedder
from haystack_integrations.components.embedders.gradient import GradientDocumentEmbedder

os.environ["GRADIENT_ACCESS_TOKEN"] = "Your Gradient Access Token"
os.environ["GRADIENT_WORKSPACE_ID"] = "Your Gradient Workspace id: "
Expand All @@ -71,8 +71,8 @@ from haystack.components.builders.answer_builder import AnswerBuilder
from haystack.components.builders.prompt_builder import PromptBuilder
from haystack.components.retrievers import InMemoryEmbeddingRetriever

from gradient_haystack.embedders.gradient_text_embedder import GradientTextEmbedder
from gradient_haystack.generator.base import GradientGenerator
from haystack_integrations.components.embedders.gradient import GradientTextEmbedder
from haystack_integrations.components.generators.gradient import GradientGenerator

from getpass import getpass

Expand Down

0 comments on commit 255edfd

Please sign in to comment.