Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

fix(docs): python example in py-library.md #211

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/basic-usage/integration/py-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pip install @janhq/cortex-python
```py
from @janhq/cortex-python import Cortex

client = OpenAI(base_url="http://localhost:3928", api_key="cortex")
client = Cortex(base_url="http://localhost:3928", api_key="cortex")

model = "TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF"
client.models.start(model=model)
Expand Down
4 changes: 2 additions & 2 deletions docs/installation/mac.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Before installation, make sure that you have met the required [dependencies](#de
- Stable: https://github.com/janhq/cortex.cpp/releases
- Beta: https://github.com/janhq/cortex.cpp/releases
- Nightly: https://github.com/janhq/cortex.cpp/releases
2. Ensure that Cortex.cpp is sucessfulyy installed:
2. Ensure that Cortex.cpp is successfully installed:
```bash
# Stable
cortex
Expand Down Expand Up @@ -100,4 +100,4 @@ cortex -h
- 16GB for running up to 7B models.
- 32GB for running up to 13B models.
#### Disk
- At least 10GB for app storage and model download.
- At least 10GB for app storage and model download.