Skip to content
项目

关于

Ollama client for Swift

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

OllamaKit

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, 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

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.

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

探索相关项目

加载中…