Skip to content

Commit

Permalink
fix(types): Removed useless persona prop
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed Jul 3, 2024
1 parent 799ab8b commit c1cf411
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ export interface PromptFormat {
// and extensible persona format of our own
// https://github.com/TavernAI/TavernAI/tree/main
export interface Persona {
// avatarUrl
avatarUrl: string;

// Persona name
name: string;

Expand All @@ -74,7 +71,7 @@ export interface Persona {
}

// Common model definition across different engine types
// Defines resource, paramterization, persona, and prompt formatting
// Defines resource, parameterization, persona, and prompt formatting
// for the model
export interface Model {
/* Resource definition */
Expand Down Expand Up @@ -109,6 +106,6 @@ export type KnowledgeStoreConfig = {
embeddingApiUrl: string;
// Name of the local store to use
storeName: string;
// Special key that identifies docuements metadata in the store
// Special key that identifies documents metadata in the store
documentsKey: string;
};

0 comments on commit c1cf411

Please sign in to comment.