Skip to content

Commit

Permalink
Fix fern types (#102)
Browse files Browse the repository at this point in the history
Co-authored-by: Akul Kapoor <[email protected]>
  • Loading branch information
akulkapoor and Akul Kapoor authored Nov 5, 2024
1 parent a52e018 commit 0a6c3a5
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions fern/definition/copilots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ service:
response:
stream:
- event: initial
data:
data:
event: initial
conversationId: fc938005-92db-411a-88eb-32ca50d5f744
webSearchResults:
[
Expand All @@ -262,16 +263,20 @@ service:
]
warnings: []
- event: data_chunk
data:
data:
event: data_chunk
chunk: Based on
- event: data_chunk
data:
data:
event: data_chunk
chunk: the context provided,
- event: data_chunk
data:
data:
event: data_chunk
chunk: Credal is SOC 2 compliant.
- event: final_chunk
data:
data:
event: final_chunk
sources:
[
{
Expand Down Expand Up @@ -301,7 +306,8 @@ service:
response:
stream:
- event: blocked
data:
data:
event: blocked
conversationId: fc938005-92db-411a-88eb-32ca50d5f744
policyTriggers: []
warnings: []
Expand Down Expand Up @@ -582,9 +588,9 @@ types:
policyTriggers: list<PolicyTrigger>

StreamingChunk:
discriminated: false
discriminant: event
union:
- InitialChunk
- DataChunk
- FinalChunk
- BlockedChunk
initial: InitialChunk
data_chunk: DataChunk
final_chunk: FinalChunk
blocked: BlockedChunk

0 comments on commit 0a6c3a5

Please sign in to comment.