Spaces:
Running
Running
File size: 531 Bytes
34a0776 c979284 ccc1c5d c979284 13c220c c979284 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
from whalecore import parser, agents
print("🐋 Welcome to HuggingWhale.AI")
print("Drop your chaos here and we'll pretend to make sense of it...\n")
# Fake file parsing (replace with actual PDF path)
doc = parser.parse_file("sample.pdf")
chunks = parser.chunk_and_embed(doc)
# Load your agents
agent_cfgs = agents.load_agents("config.yaml")
# Simulate agent convo
responses = agents.run_agents_on_text(agent_cfgs, doc)
# Output agent responses
for name, reply in responses.items():
print(f"\n🤖 {name} says:\n{reply}") |