Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

morphik-org/example-spreadsheets

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Morphik Code Exec Demo

This demo ingests Excel files into Morphik and runs an OpenAI Responses API agent that can retrieve chunks, list documents, pull page/chunk ranges, and load files into the code interpreter.

Prerequisites

  • Python 3.11+
  • uv installed
  • Morphik URI
  • OpenAI API key

Setup

  1. Create a .env file with your credentials:
MORPHIK_URI="morphik://<owner_id>:<token>@<host>"
OPENAI_API_KEY="sk-..."
# Optional: model override
OPENAI_MODEL="gpt-4.1"
  1. Install dependencies:
uv sync

Run the demo (ingest -> status -> agent)

  1. Ingest files from files/:
uv run ingest.py
  1. Check ingestion status:
uv run status.py
  1. Run the agent:
uv run agent.py

The agent will prompt for a query and write the final response to response.md.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.