quivr/backend
AmineDiro eda619f454
feat: save and load brain (#3202)
# Description
- Save and load brain to disk: 
```python
async def main():
    with tempfile.NamedTemporaryFile(mode="w", suffix=".txt") as temp_file:
        temp_file.write("Gold is a liquid of blue-like colour.")
        temp_file.flush()

        brain = await Brain.afrom_files(name="test_brain", file_paths=[temp_file.name])

        save_path = await brain.save("/home/amine/.local/quivr")

        brain_loaded = Brain.load(save_path)
        brain_loaded.print_info()

```

# TODO: 
- Loading all chat history
- Loading from other vector stores, PG for example can be great ...
2024-09-13 06:35:28 -07:00
..
.vscode feat: ⚙️🐞 configure debugger for the backend (#1345) 2023-10-09 15:23:13 +02:00
api feat(uptime): check if connection to db works (#3199) 2024-09-12 08:22:24 -07:00
core feat: save and load brain (#3202) 2024-09-13 06:35:28 -07:00
docs chore: Add empty file for backend documentation overrides 2024-09-09 11:37:43 +02:00
supabase fix: knowledge user (#3124) 2024-09-02 15:07:30 +02:00
worker fix: remove knowledge and idle conn (#3165) 2024-09-06 06:56:07 -07:00
.dockerignore feat: quivr core 0.1 (#2970) 2024-09-02 10:20:53 +02:00
.gitignore feat: quivr core 0.1 (#2970) 2024-09-02 10:20:53 +02:00
ci-migration.sh Update supabase token setting in ci-migration.sh 2024-05-02 00:04:01 +02:00
Dockerfile feat: quivr core 0.1 (#2970) 2024-09-02 10:20:53 +02:00
Dockerfile.dev feat: quivr core 0.1 (#2970) 2024-09-02 10:20:53 +02:00
pyproject.toml chore: Add initial documentation files and configuration (#3126) 2024-09-09 02:06:16 -07:00
README.md feat: quivr core 0.1 (#2970) 2024-09-02 10:20:53 +02:00
requirements-dev.lock chore: Add initial documentation files and configuration (#3126) 2024-09-09 02:06:16 -07:00
requirements.lock chore: Add initial documentation files and configuration (#3126) 2024-09-09 02:06:16 -07:00

backend

Describe your project here.