Poe API

Bot image for Medpractice-WIP

Medpractice-WIP

Chat

Uses GPT-4-Turbo, a model that is powered by OpenAI. Learn more

Build with Medpractice-WIP using the Poe API

Start by creating an API key, for use with any bot on Poe:

Generate API key

Code samples

Chat Completions API
import openai

client = openai.OpenAI(
    api_key = "YOUR_POE_API_KEY",  # or os.getenv("POE_API_KEY")
    base_url = "https://api.poe.com/v1",
)

chat = client.chat.completions.create(
    model = "medpractice-wip",
    messages = [{
      "role": "user",
      "content": "Hello world"
    }]
)

print(chat.choices[0].message.content)

See the full documentation for comprehensive guidance on getting started.


More from Shiva

Bot image for CodeXplainerS
CodeXplainerS
Bot image for TextileFutures
TextileFutures
Bot image for MedGPTv10
MedGPTv10
Bot image for MedGPTv9
MedGPTv9
Bot image for DermaSIM
DermaSIM
Bot image for CommissionerBhadraV2
CommissionerBhadraV2
Bot image for Bhadra2
Bhadra2
Bot image for Medpractice-WIP
Medpractice-WIP
Bot image for PediaPilot
PediaPilot
Bot image for AIAnthropo
AIAnthropo