https://github.com/ging-dev/deepseek_reverse
https://github.com/ging-dev/deepseek_reverse
deepseek llm python
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ging-dev/deepseek_reverse
- Owner: ging-dev
- Created: 2025-03-29T03:59:09.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-29T11:19:01.000Z (10 months ago)
- Last Synced: 2025-03-29T11:29:23.315Z (10 months ago)
- Topics: deepseek, llm, python
- Language: Python
- Homepage: https://pypi.org/project/deepseek_reverse/
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Example
```python
from deepseek_reverse import completion
def main():
with completion(
messages=[
{"role": "user", "content": "Tình hình GDP Việt Nam 2024"},
],
stream=True,
search_enabled=True,
token="...",
) as stream:
for chunk in stream:
print(chunk, end="", flush=True)
if __name__ == "__main__":
main()
```