Skip to content

Commit

Permalink
doc: Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinderVosDeWael committed Jan 14, 2025
1 parent 78f8819 commit 3ae3169
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@ client = cloai.OpenAiLlm(api_key="your_key", model="gpt-4o")

```python
import cloai
import instructor

client = cloai.OpenAiLlm(
api_key="your_key", model="llama3.2",
client = cloai.OllamaLlm(
model="llama3.2",
base_url="http://localhost:11434/v1",
instructor_mode=instructor.Mode.JSON
)
```

Expand Down
9 changes: 8 additions & 1 deletion src/cloai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

from cloai.llm.bedrock import AnthropicBedrockLlm
from cloai.llm.llm import LargeLanguageModel
from cloai.llm.ollama import OllamaLlm
from cloai.llm.openai import AzureLlm, OpenAiLlm

__all__ = ("AnthropicBedrockLlm", "AzureLlm", "LargeLanguageModel", "OpenAiLlm")
__all__ = (
"AnthropicBedrockLlm",
"AzureLlm",
"LargeLanguageModel",
"OllamaLlm",
"OpenAiLlm",
)

0 comments on commit 3ae3169

Please sign in to comment.