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

Add a .net API #447

Open
1 task done
acrigney opened this issue Jan 16, 2024 · 3 comments
Open
1 task done

Add a .net API #447

acrigney opened this issue Jan 16, 2024 · 3 comments
Labels
feature request New feature or request

Comments

@acrigney
Copy link

Is there an existing issue for the same feature request?

  • I have checked the existing issues.

Is your feature request related to a problem?

My stack is all C# and Azure. I don't want to use any Python code or interop.

Describe the feature you'd like

A .net API please?

Describe implementation you've considered

I use Azure RAG now.

Documentation, adoption, use case

Massive c# community.

Additional information

No response

@acrigney acrigney added the feature request New feature or request label Jan 16, 2024
@writinwaters
Copy link
Contributor

Hi @acrigney We plan on providing an HTTP interface. We figure this might fit many use scenarios. Does this work for your case?

Cheers,
Writinwaters

@acrigney
Copy link
Author

acrigney commented Apr 20, 2024

A c# interface should be even easier to implent than the Python one? I guess you just use web sockets internally? I thought I could port the code to managed C++ or even all the code to C#. C# is very efficient except with recursion. Otherwise I could develop a C# Rest or gRPC interface with your http interface?
Actually I found this https://github.com/dotnet/ClangSharp so with that I can write a C# api using your Clang code? Sorry I am really not a Python fan.

@JinHai-CN
Copy link
Contributor

@acrigney

Currently, Infinity provides three types of interfaces:
SQL, currently only for testing;
HTTP has been basically completed, you can refer to this document HTTP API and #779;
SDK based on Apache thrift, IDL

For C# SDK or API, it is also based on Apache thrift. If you are interested in this, we welcome you to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants