mirror of https://github.com/locustio/locust.git
Add OpenAIUser to docs.
This commit is contained in:
parent
5551f5db3c
commit
53f053a36b
|
@ -58,6 +58,17 @@ REST
|
|||
|
||||
See :ref:`FastHttpUser <rest>`
|
||||
|
||||
OpenAI
|
||||
======
|
||||
|
||||
Performance/load testing AI services is a little different. While you could call the OpenAI API using HttpUser or FastHttpUser, it is often convenient to use `the SDK <https://github.com/openai/openai-python>`_.
|
||||
|
||||
.. literalinclude:: ../examples/openai_ex.py
|
||||
|
||||
.. note::
|
||||
|
||||
OpenAIUser is experimental and may change without notice.
|
||||
|
||||
Other examples
|
||||
==============
|
||||
|
||||
|
|
Loading…
Reference in New Issue