Skip to content

这是一个使用ollama接口数据格式代理openai数据格式的应用程序,目前有很多oenai数据格式代理其他模型的数据格式类型,目前项目建议与oneapi进行对接,这样能实现目前所有的模型,但是项目对oneapi的部分模型返回格式解析出现错误

Notifications You must be signed in to change notification settings

happynewplay/OllamaProxyOpenAi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Interface format conversion

This is an application that uses the Ollama interface data format to proxy the OpenAI data format. Currently, there are many types of OpenAI data format proxies for other models. The project currently suggests integrating with OneAPI, which would allow the implementation of all models. However, the project encounters parsing errors with the return formats of some OneAPI models. Many tools now support Ollama, but Ollama only supports local models. If you want to use online models without deploying local models for Ollama, you can use this proxy to achieve that. For example:148R I7AI{1$4FJ7UFQ22VG

P$872~3T3 21M8{7I0HVM0S Here, I can integrate OneAPI to use my local aggregated model platform and then customize the model names. However, the mapping can later be for other models.

About

这是一个使用ollama接口数据格式代理openai数据格式的应用程序,目前有很多oenai数据格式代理其他模型的数据格式类型,目前项目建议与oneapi进行对接,这样能实现目前所有的模型,但是项目对oneapi的部分模型返回格式解析出现错误

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published