Quansight / ragna

RAG orchestration framework ⛵️
https://ragna.chat
BSD 3-Clause "New" or "Revised" License
179 stars 22 forks source link

Refactor `ApiAssistant` to `AuthenticatedApiAssistant` and `UnauthenticatedApiAssistant` #381

Closed smokestacklightnin closed 7 months ago

smokestacklightnin commented 7 months ago

In preparation for adding local assistants that do not require API keys, this PR refactors ragna.assistants._api.ApiAssistant.

This resolves Issue #375.

If anyone has strong opinions about the chosen naming conventions, please share them.

IMPORTANT: This PR should be merged after PR #380 is merged and before PR #376 is merged.