janhq / cortex.cpp

Local AI API Platform
https://cortex.so
Apache License 2.0
2.13k stars 125 forks source link

planning: Cortex API supports `/assistants` #1573

Open dan-homebrew opened 3 weeks ago

dan-homebrew commented 3 weeks ago

Goal

dan-homebrew commented 3 weeks ago

@namchuai @louis-jan For migration of Assistant, I think we can scope it down into two things:

Legacy "Assistants"

Legacy Retrieval Tool

I would like to understand the possible approaches for us to handle this:

I think it is easier for us to scope this to having legacy handlers and focus specifically on migration. With system stability, it is the possible for us to use v2 API handlers to build proper APIs, which will handle new Threads, Assistants and Tools

dan-homebrew commented 5 days ago

@louis-jan @namchuai While this ticket is for a v1 of Assistants, I think we should project forward to the likely roadmap for Assistants:

We should evaluate this; if it is too messy or difficult to align with an OpenAI-compatible API, I am open with also just going with our own (e.g. Runs, etc).