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
Describe the feature you'd like
Add a section "Datasets" just like "Document Store".
Allow me to specify multiple inputs that are later fed to my flowise flow.
Allow me to run all inputs in parallel (or at least automaticall) against a certain flow and display all inputs and outputs.
This ensures that I don't overfit my Agents.
Additional context
Example of how I'm currently doing it with a little script:
import requests
from typing import List, Dict
# Replace with your actual Flowise API endpoint and chatflow ID
API_URL = "http://localhost:3000/api/v1/prediction/<your-chatflow-id>"
# List of German support questions
questions: List[str] = [
"Wie kann ich mein Passwort zurücksetzen?",
"Wo finde ich meine Bestellhistorie?",
"Wie kann ich ein Produkt zurückgeben?",
"Wann wird meine Bestellung geliefert?",
"Gibt es Rabatte für Stammkunden?",
"Wie kann ich meine Zahlungsmethode ändern?",
"Was sind die Versandkosten?",
"Wie kann ich den Newsletter abbestellen?",
"Ist das Produkt auf Lager?",
"Wie kontaktiere ich den Kundensupport?"
]
def query(payload: Dict) -> Dict:
response = requests.post(API_URL, json=payload)
return response.json()
def process_questions(questions: List[str]) -> None:
for i, question in enumerate(questions, 1):
print(f"\n--- Question {i} ---")
print(f"Input: {question}")
response = query({"question": question})
print("Output:")
if isinstance(response, dict) and 'text' in response:
print(response['text'])
else:
print(response)
print("-" * 40)
if __name__ == "__main__":
process_questions(questions)
The text was updated successfully, but these errors were encountered:
Describe the feature you'd like
Add a section "Datasets" just like "Document Store".
Allow me to specify multiple inputs that are later fed to my flowise flow.
Allow me to run all inputs in parallel (or at least automaticall) against a certain flow and display all inputs and outputs.
This ensures that I don't overfit my Agents.
Additional context
Example of how I'm currently doing it with a little script:
The text was updated successfully, but these errors were encountered: