nashsu / FreeAskInternet

FreeAskInternet is a completely free, PRIVATE and LOCALLY running search aggregator & answer generate using MULTI LLMs, without GPU needed. The user can ask a question and the system will make a multi engine search and combine the search result to LLM and generate the answer based on search results. It's all FREE to use.
Apache License 2.0
8.45k stars 879 forks source link

Update prompt to fix wrong language in response #36

Closed olivernybo closed 5 months ago

olivernybo commented 5 months ago

Fixes issue #16 / #33

olivernybo commented 5 months ago

It seems the author has resolved this themself, hence why I closed the pull request.

Myzel394 commented 5 months ago

are you sure? just checked the repo, it still seems to be in Chinese https://github.com/nashsu/FreeAskInternet/blob/main/free_ask_internet.py#L123

olivernybo commented 5 months ago

The prompt is in Chinese, but they have added a switch for the response. https://github.com/nashsu/FreeAskInternet/blob/main/free_ask_internet.py#L110

It's used here: https://github.com/nashsu/FreeAskInternet/blob/main/free_ask_internet.py#L157

I haven't had time to test it yet, so I can't confirm if it works or not.

arsaboo commented 5 months ago

I've tested this and it still returns results in Chinese occasionally.