[GH-ISSUE #1316] Refactoring API Spec to Match OpenAI Standards #683

Closed
opened 2026-04-12 10:21:53 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @bernardo-sb on GitHub (Nov 29, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1316

Description

Current Behavior:
The current API spec in Ollama does not align with OpenAI's standards.

Desired Behavior:
Refactor the API spec to match OpenAI's standards for consistency and compatibility.

Rationale

OpenAI has established itself as a standard in the field of large language models, and aligning Ollama's API spec with OpenAI's standards can unlock new use cases and facilitate seamless integrations. Developers familiar with OpenAI's API will find it easier to work with Ollama, leading to a more user-friendly and accessible experience.

Originally created by @bernardo-sb on GitHub (Nov 29, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1316 ### Description **Current Behavior:** The current API spec in Ollama does not align with OpenAI's standards. **Desired Behavior:** Refactor the API spec to match OpenAI's standards for consistency and compatibility. ### Rationale OpenAI has established itself as a standard in the field of large language models, and aligning Ollama's API spec with OpenAI's standards can unlock new use cases and facilitate seamless integrations. Developers familiar with OpenAI's API will find it easier to work with Ollama, leading to a more user-friendly and accessible experience.
Author
Owner

@thawkins commented on GitHub (Dec 3, 2023):

I would like this too. It's one thing I like about localAI

<!-- gh-comment-id:1837547514 --> @thawkins commented on GitHub (Dec 3, 2023): I would like this too. It's one thing I like about localAI
Author
Owner

@pdevine commented on GitHub (Jan 25, 2024):

Closing this as a dupe of #305

<!-- gh-comment-id:1911055112 --> @pdevine commented on GitHub (Jan 25, 2024): Closing this as a dupe of #305
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#683