Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

namespace conflict between official openAI library and this one #318

Open
clarity99 opened this issue Jan 2, 2025 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@clarity99
Copy link

Service

OpenAI

Describe the bug

I'm using Kernel Memory nuget in my app and openai-dotnet. I've upgraded both to the latest versions and now there seems to be a namespace clash?

The type 'OpenAIClient' exists in both 'OpenAI-DotNet, Version=8.4.1.0, Culture=neutral, PublicKeyToken=null' and 'OpenAI, Version=2.1.0.0, Culture=neutral, PublicKeyToken=b4187f3e65366280'

Steps to reproduce

install Kernel Memory (0.95.241216.2) and OpenAi-dotnet (8.4.1). Reference OpenAIClient.

Code snippets

No response

OS

macos

.NET version

8

Library version

8.4.1

@clarity99 clarity99 added the bug Something isn't working label Jan 2, 2025
@joseharriaga joseharriaga self-assigned this Mar 26, 2025
@joseharriaga
Copy link
Collaborator

Thank you for reaching out, @clarity99 ! The official library is simply called "OpenAI", and you can find it here:
🔗 https://www.nuget.org/packages/OpenAI/AbsoluteLatest

The library called "OpenAI-DotNet" is a different library written by a third party. To resolve this conflict, install "OpenAI" instead of "OpenAI-DotNet".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants