google / google/ax

ConversationEvent.harness_config should be bytes

Open
#262 0 comments 1 reaction 0 assignees View on GitHub
proto
Dominant language
Go
Stars
2k
Forks
120
PR merge metrics
No merged PRs in 30d

Description

AX has no opinionation whether the config can be represented as a struct type. The config serialization and deserialization is a `Harness` implementation detail.

The config could be:
- A struct or a list serialized as JSON
- A proto payload
- A yaml payload
- A payload in a custom configuration format

Contributor guide

Open the contributing guide

Research direction

Start by locating ConversationEvent and the Harness implementation that owns config serialization and deserialization. Trace how harness_config is produced and consumed, then verify that representing it as bytes supports struct, JSON, proto, YAML, and custom payloads without imposing a format.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend-api-design
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.