Skip to content

Commit

Permalink
Update base.py (#14405)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haijian06 authored Jun 26, 2024
1 parent 621d24b commit 39cdf82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Yi(OpenAI):
# get api key from: https://platform.01.ai/
llm = Yi(model="yi-large", api_key="YOUR_API_KEY")
response = llm.chat("Hi, who are you?")
response = llm.complete("Hi, who are you?")
print(response)
```
"""
Expand Down

0 comments on commit 39cdf82

Please sign in to comment.