https://promptfoo.dev/ logo
Https API 2 calls
# ❓|questions
b
Hello I would like to ask if it would be possible to adjust the yaml file and have two calls to two apis. The first one will create a chat session to a custom app we have created, retrieve the relevant chat session id and the second one can post messages in that chat session. Thank you very much for any insights
i
Best way to do this is through a custom provider: for example through [javascript](https://promptfoo.dev/docs/providers/custom-api/) or [python](https://promptfoo.dev/docs/providers/python) integration