Golden Grape

Results 16 issues of Golden Grape

**Describe the bug** run NURBS Surface example https://nurbs-python.readthedocs.io/en/5.x/module_nurbs.html#nurbs-surface but failed. **To Reproduce** Steps to reproduce the behavior: ```python from geomdl import NURBS # Create a NURBS surface instance surf =...

bug

I am a python beginner. I like write program in this literate way. can you build another tools to turn .md file into .py file only contain the ```python ```...

短的术语表可以直接加在prompt里。 外置一个csv,然后prompt+=f"下列单词应当按照:{术语表} 来翻译" 但如果是很长的术语表,估计每次都放在prompt里有点浪费。

I tried: ``` r = openai.ChatCompletion.create( model="gpt-3.5-turbo", messages=prompt, temperature=0.4, max_tokens=1500) ``` in main-local.py but doesn't work

enhancement

When running locally, the embedding needs to be calculated every time the same PDF is opened, which is somewhat wasteful. It would be best to save the embedding dataframe so...

string.printable only check ASCII for other language, maybe decode with Unicode, but before that, should detect the encoding reference: https://chardet.readthedocs.io/en/latest/usage.html#basic-usage by the way, Is it necessary to check maybe_is_text()?

Since this platform mainly consists of researchers involved in academic studies, we can discuss academic issues. In the search_embeddings( ) function, only similarity sorting and selection of the top n=3...

I have made some changes to the translation tool that I think would be beneficial to the project. Specifically, I have added a terminology function which can be loaded using...

https://github.com/yihong0618/bilingual_book_maker/blob/0dd61e5b3e6a82b20b6fc6244e2878a2963556db/book_maker/translator/chatgptapi_translator.py#L79 Regarding the optimization of sleeptime, it can be linearly increasing (+=10) and exponentially decreasing ( /=2 ). For your consideration. sleeptime=60 .... ```python while True: try: t_text = self.get_translation(text)...

GPT-4有限制,或者API很贵,所以只是在必要的时候使用, 平时都还是用3.5,所以希望能够在主界面上能够一键切换4/ 3.5。(虽然现在进入setting里是可以的) 谢谢