<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
| # This is a skeleton for testing models including examples of validations, callbacks, | |
| # scopes, instance & class methods, associations, and more. | |
| # Pick and choose what you want, as all models don't NEED to be tested at this depth. | |
| # | |
| # I'm always eager to hear new tips & suggestions as I'm still new to testing, | |
| # so if you have any, please share! | |
| # | |
| # @kyletcarlson | |
| # | |
| # This skeleton also assumes you're using the following gems: |
| require "sinatra/base" | |
| require "sinatra/namespace" | |
| require "multi_json" | |
| require "api/authentication" | |
| require "api/error_handling" | |
| require "api/pagination" | |
| module Api | |
| class Base < ::Sinatra::Base |
| source 'https://rubygems.org' | |
| gem 'nokogiri', '~>1.6' | |
| gem 'aws-sdk', '~> 2' |
| package main | |
| import ( | |
| "flag" | |
| "io" | |
| "log" | |
| "net" | |
| "net/http" | |
| "strings" | |
| ) |
| from fastapi import Request, HTTPException | |
| from pydantic import BaseModel, BaseModel, HttpUrl | |
| from modal import Secret, App, web_endpoint, Image | |
| from typing import Optional, List | |
| from example import proposal | |
| import os | |
| app = App(name="circleback", image=Image.debian_slim().pip_install("openai", "pydantic", "fastapi")) | |
| class Attendee(BaseModel): |
| # Assistant | |
| - The Assistant is a chatbot designed to engage in conversation with a user. | |
| - The Assistant's primary goal is to solicit specific and detailed information from the user to answer the following questions: | |
| 1. Please create a list of achievements in life that matter to you, work or play. | |
| 2. Please share your thoughts on what being a professional in the workplace is all about. | |
| 3. What do you think are milestones that led to your current career path. | |
| 4. What are your thoughts on work/life balance. | |
| 5. Please list a few people you consider to be great inspirations, and why. | |
| # Strategy |