Skip to main content

Research API and SDK

Project description

Deploy

Build

docker build -t research-api .

Test

docker run --rm -p 8999:8000 research-api

Production environment

docker run -d --rm -p 8003:8000 research-api

How to get openapi.json

curl -o openapi.json http://localhost:8000/openapi.json jq . docs/openapi.json > /tmp/openapi.json && mv /tmp/openapi.json docs/openapi.json

Test

curl -i
-H "X-API-Key: 7AeqtgTwHMF92amX74qZtc9D3lyte0yR"
https://keisukes-macbook-pro.tail6acff1.ts.net/research

curl -X POST "https://keisukes-macbook-pro.tail6acff1.ts.net/research/generate"
-H "Content-Type: application/json"
-H "X-API-Key: 7AeqtgTwHMF92amX74qZtc9D3lyte0yR"
--max-time 600
-d '{"topic":"hello, how are you"}'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

research_agent_kit-0.1.4.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

research_agent_kit-0.1.4-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file research_agent_kit-0.1.4.tar.gz.

File metadata

  • Download URL: research_agent_kit-0.1.4.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for research_agent_kit-0.1.4.tar.gz
Algorithm Hash digest
SHA256 f00fe48880415971bf12035df668ccf5df0038f0e5851e2abb8c4bc41d930579
MD5 5b68448fc2ab99abf44ec5f64daa59cd
BLAKE2b-256 1164971ba8c9b7cea7b5666e21ebaab2e0d2019ffd8bb64075f8b244c6ee7e80

See more details on using hashes here.

File details

Details for the file research_agent_kit-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for research_agent_kit-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 caded4a7602da627178860cb3afa34386950f3ce3594f0f6d2846c3c9e67ac48
MD5 b3fbf43af02c493746679680f7e49e34
BLAKE2b-256 3fb58bab43f68dec86fd904217e5916c02b79ce2c67aea27241566c84b6955ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page