An open API service indexing awesome lists of open source software.

https://github.com/ging-dev/deepseek_reverse


https://github.com/ging-dev/deepseek_reverse

deepseek llm python

Last synced: 7 months ago
JSON representation

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()
```