Skip to content

OllamaBox is a Delphi wrapper for Ollama that makes it easy to embed, run, and interact with Ollama directly inside your application—no external process or service required.

License

Notifications You must be signed in to change notification settings

aboud0010/OllamaBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OllamaBox 📦

OllamaBox Logo
Release


Overview

OllamaBox is a powerful Delphi wrapper designed for seamless integration with the Ollama framework. This tool allows developers to embed, run, and interact with Ollama directly within their applications without relying on external processes or services.

With OllamaBox, you can harness the capabilities of the Ollama API to create dynamic applications that leverage the strengths of both Delphi and Ollama. Whether you are developing for Windows 10 or Windows 11, OllamaBox provides a straightforward solution to enhance your application's functionality.

Features

  • Easy Integration: Quickly embed Ollama into your Delphi applications.
  • No External Dependencies: Run everything within your application without needing external processes.
  • Comprehensive API Access: Utilize the full capabilities of the Ollama API for robust application development.
  • Windows Compatibility: Designed specifically for Windows 10 and Windows 11 environments.
  • Object Pascal Support: Leverage the power of Object Pascal for clean and efficient coding.

Getting Started

To get started with OllamaBox, you need to download the latest release. Visit the Releases section to find the appropriate version for your needs. Download the necessary files and execute them to integrate OllamaBox into your project.

Prerequisites

Before you begin, ensure you have the following:

  • Delphi installed on your system.
  • Basic understanding of Object Pascal.
  • A Windows 10 or Windows 11 operating system.

Installation

  1. Download: Visit the Releases page to download the latest version of OllamaBox.
  2. Extract: Unzip the downloaded file to a directory of your choice.
  3. Add to Delphi: Open Delphi and add the OllamaBox directory to your library path.
  4. Run Examples: Check the included examples to see how to implement OllamaBox in your applications.

Usage

Basic Example

Here’s a simple example of how to use OllamaBox in your Delphi application:

uses
  OllamaBox;

procedure TForm1.Button1Click(Sender: TObject);
var
  Ollama: TOllama;
begin
  Ollama := TOllama.Create;
  try
    Ollama.Initialize;
    // Your code to interact with Ollama
  finally
    Ollama.Free;
  end;
end;

Advanced Usage

For more advanced usage, you can explore the full API documentation provided in the repository. The documentation covers all the methods and properties available in the OllamaBox library.

Contributing

We welcome contributions to OllamaBox! If you have suggestions, improvements, or bug fixes, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Commit your changes.
  4. Push to your branch.
  5. Create a pull request.

Topics

OllamaBox is tagged with the following topics to help you find it easily:

  • Delphi
  • Object Pascal
  • Ollama
  • Ollama API
  • Ollama Client
  • Ollama Interface
  • Ollama Server
  • Win64
  • Windows 10
  • Windows 11

Support

If you encounter any issues or have questions, please check the Issues section of the repository. You can also reach out via the discussion forum.

License

OllamaBox is licensed under the MIT License. See the LICENSE file for more information.

Acknowledgments

We would like to thank the contributors and the community for their support in making OllamaBox a valuable tool for Delphi developers. Your feedback and contributions help us improve and expand the functionality of this project.

Conclusion

OllamaBox is an essential tool for Delphi developers looking to integrate the Ollama framework into their applications. With its straightforward setup and powerful capabilities, you can enhance your projects and deliver exceptional results.

For the latest updates and releases, visit the Releases page.


Feel free to explore, contribute, and make the most out of OllamaBox in your Delphi applications!

About

OllamaBox is a Delphi wrapper for Ollama that makes it easy to embed, run, and interact with Ollama directly inside your application—no external process or service required.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages