You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/playground/models/openai_model.py

7 lines
212 B

from swarms.models.openai_models import OpenAIChat
openai = OpenAIChat(openai_api_key="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", verbose=False)
chat = openai("What are quantum fields?")
print(chat)