Skip to content

Commit

Permalink
add the vector search response type
Browse files Browse the repository at this point in the history
  • Loading branch information
alnutile committed May 11, 2023
1 parent 7e91747 commit e6b12f6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
10 changes: 10 additions & 0 deletions app/Http/Controllers/ResponeTypes/ChatUiResponseTypeController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace App\Http\Controllers\ResponeTypes;

use App\Http\Controllers\Controller;

class ChatUiResponseTypeController extends Controller
{
//
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div v-if="outbound.response_types">
<div v-if="outbound.response_types.length > 0">
<ul>
<li v-for="response_type in outbound.response_types" :key="outbound.id" class="mt-1 border border-gray-200 p-4 shadow hover:bg-gray-50 hover:cursor-pointer">
<div>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

it("should create", function() {

});
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
assertDatabaseCount('response_types', 0);

actingAs($user)
->get(route('outbounds.response_types.embed_question.create', ['outbound' => $outbound->id]));
->get(route('response_types.embed_question.create', ['outbound' => $outbound->id]));

assertDatabaseCount('response_types', 1);
});

0 comments on commit e6b12f6

Please sign in to comment.