You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: integrations/astradb.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,6 @@ documents = [Document(content="There are over 7,000 languages spoken around the
94
94
Document(content="In certain parts of the world, like the Maldives, Puerto Rico, and San Diego, you can witness the phenomenon of bioluminescent waves.")]
# {'documents': [Document(id=..., content: 'Pizza is made with dough and cheese', embedding: vector of size 2048), ...], 'meta': {'usage': {'prompt_tokens': 36, 'total_tokens': 36}}}
111
109
```
@@ -123,7 +121,6 @@ generator = NvidiaGenerator(
123
121
"max_tokens": 1024,
124
122
},
125
123
)
126
-
generator.warm_up()
127
124
128
125
result = generator.run(prompt="When was the Golden Gate Bridge built?")
129
126
print(result["replies"])
@@ -160,7 +157,6 @@ from haystack_integrations.components.rankers.nvidia import NvidiaRanker
Copy file name to clipboardExpand all lines: integrations/snowflake.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,8 +100,6 @@ The `SnowflakeTableRetriever` supports three authentication methods:
100
100
101
101
Ensure you have `select` access to the tables before querying the database. More details [here](https://docs.snowflake.com/en/user-guide/security-access-control-privileges):
102
102
```python
103
-
# Warm up the component so it connects to the database
104
-
executor.warm_up()
105
103
106
104
# Run the retriever
107
105
response = executor.run(query="""select * from database_name.schema_name.table_name""")
0 commit comments