-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Component secret management - Update docs #6908
Comments
Full list of affected components: TASK: We need to go over the documentation and fix how these components are used in code snippets and change the explanation around how to use Hugging Face components
document_embedder = HuggingFaceTEIDocumentEmbedder(
model="BAAI/bge-small-en-v1.5", token=Secret.from_token("<your-api-key>")
) OpenAI components
OpenAIGenerator(api_key=Secret.from_token("<your-api-key>"), model="gpt-3.5-turbo") Search components
SerperDevWebSearch(api_key=Secret.from_token("<your-api-key>"))
SearchApiWebSearch(api_key=Secret.from_token("<your-api-key>")) Azure Components
client = AzureOpenAIGenerator(azure_endpoint="<Your Azure endpoint e.g. `https://your-company.azure.openai.com/>",
api_key=Secret.from_token("<your-api-key>"),
azure_deployment="<this a model name, e.g. gpt-35-turbo>")
Additional Changes
|
All changes done @shadeMe @bilgeyucel |
Reopening this until the Haystack concepts page and the API docs for |
Tasks
The text was updated successfully, but these errors were encountered: