git clone https://github.com/polejowska/curaive.git
cd curaive
./setup-env.shRequires: Python ≥ 3.10, uv package manager, Ollama running on localhost:11434 and models downloaded (e.g. gpt-oss:20b-cloud)
Usage with UI:
./launch-app.shor without UI:
from curaive import Curaive, PipelineConfig, Question, QuestionType
config = PipelineConfig.create_default(
model="gpt-oss:20b-cloud",
)
pipeline = Curaive(config)
question = Question(
id="case_001",
question="What is first-line therapy for major depression with comorbid IBS?",
question_type=QuestionType.OPEN_ENDED,
options={}
)
result = pipeline.answer_question(question)
print(result.answer)See examples.py for more examples.
Environment variables in .env:
BACKEND_PORT=8000
FRONTEND_URL=http://localhost:3000
OLLAMA_BASE_URL=http://localhost:11434
DEFAULT_MODEL=gpt-oss:20b-cloudDevelopment assisted by Claude Sonnet 4/4.5. The prototype application was built for demo purposes and might not be perfect in terms of best software practices as limited time was granted for this project.
