Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevinhermawan/ollamakit
Ollama client for Swift
https://github.com/kevinhermawan/ollamakit
llama3 llm mistral ollama ollama-api ollama-client
Last synced: 1 day ago
JSON representation
Ollama client for Swift
- Host: GitHub
- URL: https://github.com/kevinhermawan/ollamakit
- Owner: kevinhermawan
- License: mit
- Created: 2023-11-10T10:55:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-01T20:49:50.000Z (about 1 month ago)
- Last Synced: 2024-12-25T08:05:51.930Z (16 days ago)
- Topics: llama3, llm, mistral, ollama, ollama-api, ollama-client
- Language: Swift
- Homepage: https://kevinhermawan.github.io/OllamaKit/documentation/ollamakit
- Size: 99.6 KB
- Stars: 243
- Watchers: 6
- Forks: 20
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# OllamaKit
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fkevinhermawan%2FOllamaKit%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/kevinhermawan/OllamaKit) [![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fkevinhermawan%2FOllamaKit%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/kevinhermawan/OllamaKit)
[Ollama](https://github.com/ollama/ollama) client for Swift
## Overview
`OllamaKit` is a Swift library that streamlines interactions with the Ollama API. It handles the complexities of network communication and data processing behind the scenes, providing a simple and efficient way to integrate the Ollama API.
## Primary Use
`OllamaKit` is primarily developed to power the [Ollamac](https://github.com/kevinhermawan/Ollamac), a macOS app for interacting with Ollama models. Although the library provides robust capabilities for integrating the Ollama API, its features and optimizations are tailored specifically to meet the needs of the Ollamac.
## Documentation
You can find the documentation here: [https://kevinhermawan.github.io/OllamaKit/documentation/ollamakit](https://kevinhermawan.github.io/OllamaKit/documentation/ollamakit)
## Installation
You can add `OllamaKit` as a dependency to your project using Swift Package Manager by adding it to the dependencies value of your `Package.swift`.
```swift
dependencies: [
.package(url: "https://github.com/kevinhermawan/OllamaKit.git", .upToNextMajor(from: "5.0.0"))
]
```Alternatively, in Xcode:
1. Open your project in Xcode.
2. Click on `File` -> `Swift Packages` -> `Add Package Dependency...`
3. Enter the repository URL: `https://github.com/kevinhermawan/OllamaKit.git`
4. Choose the version you want to add. You probably want to add the latest version.
5. Click `Add Package`.## Used By
- [Ollamac](https://github.com/kevinhermawan/Ollamac)