lldxflwb

Results 10 comments of lldxflwb

我看到社区有人用中文提问,所以我也用中文补充一点,我在使用它连我的mysql创建model的时候,询问我是否覆盖的时候,我根本没有机会选择,他直接报错!我看到其他地方用人用这个东西生成了mysql对应的实体类,所以应该是支持mysql的吧?

> 看一下drogon_ctl -v 的输出信息 ```shell A utility for drogon Version: 1.7.1 Git commit: 0e7637daf62795c9a5861648c5a40f0dc80bf283 Compilation: Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ Compiler ID: AppleClang Compilation flags: -std=c++17 -I/opt/homebrew/include -I/usr/local/include Libraries: postgresql: no (batch mode:...

> 請問是用M1 Mac嗎?是的話可能跟 #884 有關? 是 mac m1,这个问题。我大致看过,但我这是无法回答yes or no 直接报了段错误

> 有可能是,因为在你回答yes or no之前,drogon_ctl已经在后台取连接mysql了,你可以试试这个[补丁](https://github.com/mariadb-corporation/mariadb-connector-c/pull/172),如果是这个问题的话,你使用了现成的model文件也是没法工作的,因为你的应用也要去连接数据库的。 我不是很清楚补丁的使用,我将其理解为,我需要下载你给我的链接的Releases的最新版本,然后cmake make,不过,我在make这一步失败了。 大致明白问题出在mysql的引擎上,所以我将尝试使用你们默认的数据库进行尝试😭

> 这个补丁还没合并,你要找到PR作者的仓库和分支去编译安装 > drogon倒是没有默认的数据库,如果你指的是postgreSQL的话,倒是可以一试,应该没有这个问题 在mac m1 上使用postgresql 的确没有问题,应该就是驱动的问题了 😭 谢谢

值得补充的是,目前以下几个网站都无法打开: https://drogon.docsforge.com/ https://flecs.docsforge.com/ http://tinyxml2.docsforge.com/

> The diarization pipeline has a `return_embeddings` option that might help you in this endeavour: > > [pyannote-audio/pyannote/audio/pipelines/speaker_diarization.py](https://github.com/pyannote/pyannote-audio/blob/0ea4c025ee048c36d74ccdb8b3f4939a27ad729b/pyannote/audio/pipelines/speaker_diarization.py#L103-L106) > > Lines 103 to 106 in [0ea4c02](/pyannote/pyannote-audio/commit/0ea4c025ee048c36d74ccdb8b3f4939a27ad729b) > > # perform...

> The diarization pipeline has a `return_embeddings` option that might help you in this endeavour: > > [pyannote-audio/pyannote/audio/pipelines/speaker_diarization.py](https://github.com/pyannote/pyannote-audio/blob/0ea4c025ee048c36d74ccdb8b3f4939a27ad729b/pyannote/audio/pipelines/speaker_diarization.py#L103-L106) > > Lines 103 to 106 in [0ea4c02](/pyannote/pyannote-audio/commit/0ea4c025ee048c36d74ccdb8b3f4939a27ad729b) > > # perform...

The context code for the related "resp" is: ```go func ReadFileTest(filepath string) (string, error) { fmt.Println("Starting ReadFileTest with filepath:", filepath) model := client.GenerativeModel("gemini-1.5-flash") model.SetTemperature(1) model.SetTopK(40) model.SetTopP(0.95) model.SetMaxOutputTokens(8192) model.ResponseMIMEType = "text/plain"...

> Thanks [@lldxflwb](https://github.com/lldxflwb) for raising this issue. To clarify, are there candidates in the response? Is this happening for all requests? yes,output_token_count is 0 in my last 100 requests.