Spaces:
Sleeping
Sleeping
dinhquangson
commited on
Commit
•
2a434a4
1
Parent(s):
8c99bd8
Update QueryMetadataExtractor.py
Browse files
QueryMetadataExtractor.py
CHANGED
@@ -4,6 +4,7 @@ from typing import Dict, List
|
|
4 |
from haystack import Pipeline, component
|
5 |
from haystack.components.builders import PromptBuilder
|
6 |
from haystack.components.generators import OpenAIGenerator
|
|
|
7 |
|
8 |
@component()
|
9 |
class QueryMetadataExtractor:
|
|
|
4 |
from haystack import Pipeline, component
|
5 |
from haystack.components.builders import PromptBuilder
|
6 |
from haystack.components.generators import OpenAIGenerator
|
7 |
+
from haystack.utils import Secret
|
8 |
|
9 |
@component()
|
10 |
class QueryMetadataExtractor:
|