Spaces:
Running
Running
| title: chat_env | |
| emoji: 🐳 | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: docker | |
| pinned: false | |
| app_port: 8000 | |
| base_path: /web | |
| tags: | |
| - openenv | |
| # Chat_env Environment Server | |
| FastAPI server for chat_env environment powered by Meta's OpenEnv. | |
| ## About | |
| This Space provides a containerized environment for chat_env interactions. | |
| Built with FastAPI and OpenEnv framework. | |
| ## Web Interface | |
| This deployment includes an interactive web interface for exploring the environment: | |
| - **HumanAgent Interface**: Interact with the environment using a web form | |
| - **State Observer**: Real-time view of environment state and action history | |
| - **Live Updates**: WebSocket-based real-time updates | |
| Access the web interface at: `/web` | |
| ## Chat Environment | |
| Provides a chat-based interface for LLMs with tokenization support. | |
| ### Usage | |
| Send a POST request to `/step` with tokenized input: | |
| ```json | |
| { | |
| "tokens": [1, 2, 3, 4, 5] | |
| } | |
| ``` | |
| ## API Documentation | |
| Visit `/docs` for interactive API documentation. | |
| ## Health Check | |
| The environment provides a health check endpoint at `/health`. |