Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
# To separate your traces from other application
LANGSMITH_PROJECT=new-agent
# LangSmith Configuration
# To separate your traces from other applications
LANGSMITH_PROJECT=voicedform
# LANGCHAIN_TRACING_V2=true
# LANGCHAIN_API_KEY=your_langsmith_api_key

# Add API keys for connecting to LLM providers, data sources, and other integrations here
# LLM Provider API Keys
# OpenAI API key for GPT-4 and LangGraph workflow
OPENAI_API_KEY=sk-your-openai-api-key-here

# Whisper Modal Server Configuration
# URL of your deployed Modal Whisper API
# Get this after running: modal deploy modal_whisper_server.py
# Example: https://username--voicedform-whisper-fastapi-app.modal.run
WHISPER_API_URL=https://your-modal-whisper-url.modal.run

# Add additional API keys for other integrations here
22 changes: 21 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all format lint test tests test_watch integration_tests docker_tests help extended_tests
.PHONY: all format lint test tests test_watch integration_tests docker_tests help extended_tests whisper_deploy whisper_serve whisper_test

# Default target executed when no arguments are given to make.
all: help
Expand Down Expand Up @@ -52,6 +52,22 @@ spell_check:
spell_fix:
codespell --toml pyproject.toml -w

######################
# WHISPER MODAL SERVER
######################

whisper_deploy:
modal deploy modal_whisper_server.py

whisper_serve:
modal serve modal_whisper_server.py

whisper_test:
python -m pytest tests/test_whisper_integration.py -v

whisper_examples:
python examples/whisper_usage_examples.py

######################
# HELP
######################
Expand All @@ -64,4 +80,8 @@ help:
@echo 'tests - run unit tests'
@echo 'test TEST_FILE=<test_file> - run all tests in file'
@echo 'test_watch - run unit tests in watch mode'
@echo 'whisper_deploy - deploy Whisper server to Modal (production)'
@echo 'whisper_serve - run Whisper server in development mode'
@echo 'whisper_test - run Whisper integration tests'
@echo 'whisper_examples - run Whisper usage examples'

Loading