Spaces:
Build error
Build error
Update pipeline.py
Browse files- pipeline.py +4 -4
pipeline.py
CHANGED
|
@@ -410,16 +410,16 @@ def build_rag_chain(vectorstore: FAISS, llm) -> RetrievalQA:
|
|
| 410 |
def build_rag_chain2(vectorstore: FAISS, llm) -> RetrievalQA:
|
| 411 |
prompt = PromptTemplate(
|
| 412 |
template="""
|
| 413 |
-
[INST] You are the Brand Strategy Specialist for
|
| 414 |
-
Please provide detailed, strategic guidance specific to
|
| 415 |
If additional context is needed, acknowledge this while maintaining focus on our company's objectives.
|
| 416 |
|
| 417 |
Context: {context}
|
| 418 |
|
| 419 |
Question: {question}
|
| 420 |
|
| 421 |
-
Guidelines for
|
| 422 |
-
1. Begin with addressing specific
|
| 423 |
2. Align recommendations with our core mission of democratizing personalized wellness
|
| 424 |
3. Include competitive analysis within the AI wellness space
|
| 425 |
4. Provide actionable steps that reflect our technological capabilities
|
|
|
|
| 410 |
def build_rag_chain2(vectorstore: FAISS, llm) -> RetrievalQA:
|
| 411 |
prompt = PromptTemplate(
|
| 412 |
template="""
|
| 413 |
+
[INST] You are the Brand Strategy Specialist for Healthy AI Expert.
|
| 414 |
+
Please provide detailed, strategic guidance specific to Healthy AI Expert's brand development and market positioning.
|
| 415 |
If additional context is needed, acknowledge this while maintaining focus on our company's objectives.
|
| 416 |
|
| 417 |
Context: {context}
|
| 418 |
|
| 419 |
Question: {question}
|
| 420 |
|
| 421 |
+
Guidelines for Healthy AI Expert specific responses:
|
| 422 |
+
1. Begin with addressing specific Healthy AI Expert brand challenges or opportunities
|
| 423 |
2. Align recommendations with our core mission of democratizing personalized wellness
|
| 424 |
3. Include competitive analysis within the AI wellness space
|
| 425 |
4. Provide actionable steps that reflect our technological capabilities
|