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

可以实现流式输出吗 #2

Open
czh020110 opened this issue Jun 28, 2024 · 2 comments
Open

可以实现流式输出吗 #2

czh020110 opened this issue Jun 28, 2024 · 2 comments

Comments

@czh020110
Copy link

czh020110 commented Jun 28, 2024

试了下效果挺好的,但是慢慢等待openai响应看着有点难受,可以实现流式输出吗,另外模型直接改成自定义的好一点,这样以后有新模型支持识别视觉了不用再改。

@Pylogmon
Copy link
Member

之前谁能想到用 gpt 来做 OCR,所以 OCR 没有预留流式输出的接口。😂

@czh020110
Copy link
Author

czh020110 commented Jun 30, 2024

之前谁能想到用 gpt 来做 OCR,所以 OCR 没有预留流式输出的接口。😂

简直远超传统ocr不管公式还是代码,照识别不误。还可以人它让指定的格式输出。除了等最终结果出来响应慢点没啥缺点,算了一下如果是中转api识别一百张也只要7毛钱,无论是格式还是啥毫无区别,试了gpt 4o和claude 3.5 sonnet都行,给你看效果👍:
屏幕截图 2024-06-30 223913
屏幕截图 2024-06-30 224138
屏幕截图 2024-06-30 224227

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

No branches or pull requests

2 participants